PrismML shrank a 27B open model to about a tenth of its size, keeping most of its score
In short
- On 17 September 2026 PrismML, the Caltech spin-out behind the 1-bit Bonsai models, released Ternary Bonsai 2 27B, a compressed copy of Alibaba's open Qwen3.8-27B in which almost every weight is −1, 0 or +1.
- The language model takes 5.93 GB, against 53.80 GB for Qwen3.8-27B in the usual 16-bit format, about nine times smaller, according to PrismML's whitepaper.
- On PrismML's own 20-test suite it averages 83.9, against 85.4 for the full model: 98.2% of the score. PrismML calls this near-lossless; the gap is larger on long software-engineering tasks.
- The weights are free to download under Apache 2.0. It reads text and images and keeps the base model's 262K-token context.
5.93 GB the language model, PTQ1_0 file; 1.76 bits per weight as shipped; 98.2% of the full model's average, PrismML's tests; 142.5 tokens a second on an RTX 5090, per PrismML
How open it is
The weights sit in a public Hugging Face repository with no access form, as GGUF files for llama.cpp, plus a separate MLX version for Apple devices. PrismML has not published how it turned Qwen's weights into ternary ones: the whitepaper describes the storage format and the inference kernels, not the conversion. So this is an open-weight model, not open source in the stricter sense (our reading).
In plain words (our summary of Apache 2.0), anyone may use, change, fine-tune and sell products built on the model, as long as the licence and copyright notices go with it. The NOTICE file asks, without requiring it, for credit such as "Created using Bonsai by Prism ML."
The two smallest files need PrismML's own fork of llama.cpp; stock llama.cpp "rejects them as unknown types", the card says. The Q2_0 file runs on ordinary llama.cpp from release b11556, and the card warns that older builds "load Q2_0 without any warning and produce garbage".
What "ternary" means here
A normal model stores each of its billions of learned numbers, the weights, as a 16-bit value. Bonsai 2 stores each as one of three values, minus one, zero or plus one, and every group of 128 weights shares one 16-bit scale that sets their size. Three choices carry about 1.585 bits of information, so the format costs about 1.71 bits per weight; the shipped PTQ1_0 file comes to 1.76.
PrismML says the format covers the language model end to end, embeddings and output head included. New in this version, 26.2 million parameters, 0.0976% of the language model (mostly the state path of its linear-attention layers, plus normalisation values), stay at full precision. The weights are also stored "rotated": a fixed mathematical shuffle (a Hadamard transform) is folded into them, and the software applies the matching transform to the model's inputs at each layer as it runs.
The scores, and who measured them
PrismML ran all tests itself, in "thinking" mode at the highest reasoning effort, with EvalScope and vLLM on NVIDIA H100 GPUs. Its six category averages:
The comparison PrismML stresses is with the usual way of shrinking a model. A conventional 2-bit build of Qwen3.8-27B (IQ2_XXS, 7.3 GB) averages 75.2 in the same tests and falls to 78.6 on the AIME26 maths test and 70.05 on LiveCodeBench, where Bonsai 2 scores 95.83 and 90.07.
The wider tasks show more loss. On Terminal-Bench 2.1 and SWE-bench Verified, two tests of long, multi-step software work, Bonsai 2 reaches 52.8 and 60.8, against 69.7 and 80.6 for Qwen3.8-27B: "roughly three quarters" of the full model, the whitepaper says.
Every score, speed and energy figure here comes from PrismML; we found no outside test. The model card, as updated in November, reports a different 14-test suite: 84.78 against 86.32, also 98.2%. Its retention claim holds on both, but the scores are not interchangeable.
Speed and energy, per PrismML
Because a model reads all its weights for every token it writes, smaller weights mainly buy speed on hardware short of memory bandwidth (our explanation). In the whitepaper's measurements, the PQ2_0 file runs at 142.5 tokens a second on an RTX 5090 and 27.7 on an M5 Pro laptop. On a laptop with 16 GB of memory, PrismML notes, the 54 GB 16-bit model does not fit at all. On an M5 Max laptop it reaches 46.8 tokens a second.
Energy is given only for NVIDIA cards: 0.714 mWh per token on an RTX 4090 for the PQ2_0 file and 0.682 for PTQ1_0. The launch post calls the 4090 figure "40% more energy-efficient than an 8B model running in full-precision"; we did not find that comparison in the whitepaper. PrismML adds that the smaller PTQ1_0 file is slower than PQ2_0 on Ampere, Hopper and Blackwell cards and on Apple chips, faster only on Ada-class ones such as the RTX 4090, and that making it fast everywhere is still work in progress. The November card's own speed table gives somewhat lower RTX 5090 figures, 129.9 tokens a second for PQ2_0, without explaining the difference.
Where things stand
The release continued a fast run of PrismML models in 2026:
14 Jul 2026: PrismML announces Bonsai 27B, a ternary version at 5.9 GB and a 1-bit version at 3.9 GB. 17 Sep 2026: Ternary Bonsai 2 27B, on the newer Qwen3.8-27B; PrismML says retention rose from 95% to over 98%. 23 Sep 2026: PrismML shows a 1-bit Bonsai vision-language model on Snapdragon-powered smart glasses. 15 Oct 2026: Ternary Bonsai 2 2B, 4B and 9B, built on Qwen3.5, at 0.43, 0.95 and 2 GB.
The smaller models, also Apache 2.0 (the 9B card lists Qwen3.5-9B as its base), keep less of their parents' scores on hard knowledge questions: on GPQA Diamond the 9B model gets 69.9 against 82.53 for Qwen3.5-9B, PrismML's table shows. PrismML's site now lists a Bonsai 2.5 27B as well. Read in late November 2026, what Bonsai 2 27B still lacks is a test by someone other than its maker.
Terms in plain English
- Near-lossless: PrismML's word for a compressed model that scores almost as well as the original; here 98.2% of the average.
- Aggregate retention: the compressed model's average across all tests divided by the original's (83.9 ÷ 85.4).
- Open weights: the trained model can be downloaded and run; the recipe and data need not be public (our wording).
Sources
- Introducing Bonsai 2 27B: Near-Lossless Compression in a 9x Smaller Footprint, PrismML, 17 September 2026
- Ternary Bonsai 2 27B whitepaper, PrismML, September 2026
- prism-ml/Ternary-Bonsai-2-27B-gguf, model card and NOTICE file, Hugging Face (PrismML)
- Introducing Ternary Bonsai 2 2B, 4B, and 9B, PrismML, 15 October 2026
Sources
- Introducing Bonsai 2 27B: Near-Lossless Compression in a 9x Smaller Footprint
- Ternary Bonsai 2 27B whitepaper
- prism-ml/Ternary-Bonsai-2-27B-gguf
- Introducing Ternary Bonsai 2 2B, 4B, and 9B
- https://huggingface.co/prism-ml/Ternary-Bonsai-2-27B-gguf/blob/main/NOTICE.txt
- https://huggingface.co/prism-ml/Ternary-Bonsai-2-9B-gguf
- https://github.com/PrismML-Eng/llama.cpp
More from Open Models
- Google DeepMind releases CellGemma, an open model of how cells respond to drugs
- Hugging Face's 2026 releases are mostly open tools, with no new flagship model
- Cloudflare releases five open-weight AI models, all built on Alibaba's Qwen
- PrismML released seven open 1-bit and ternary model families in 2026
- BharatGen, the IIT Bombay consortium, releases a free 7.8B document-reading model