Ternary Bonsai 2.5 27B: 5.9 GB open model for agents, how to run it and what PrismML claims
PrismML's Apache 2.0 Bonsai 2.5 27B keeps a 5.93 GB file but jumps on SWE-bench Verified to 75.6; here is how to run it and which numbers are only company-reported.
· 8 min read
Written by AI from the sources linked below. How we use AI
On this page
PrismML has released Ternary Bonsai 2.5 27B, an open-weight, 27-billion-parameter model squeezed into a 5.93 GB file, and says it now handles agentic coding and tool calling far better than the previous Bonsai release. The weights are under the Apache 2.0 licence and run through llama.cpp on NVIDIA and Intel GPUs, on CPU, and through MLX on Apple devices. The company says its tool-calling average is level with the full-precision base model, but every benchmark in the release is PrismML's own, and no outside group has repeated them yet.
Key points
- Ternary Bonsai 2.5 27B was announced on 24 November 2026 by PrismML. It is based on Qwen3.8 27B, stores weights at 1.76 bits each, and takes 5.93 GB against 53.8 GB for the FP16 original.
- It is released under Apache 2.0 with GGUF files (for llama.cpp) and an MLX build for Apple devices.
- PrismML reports a five-benchmark tool-calling average of 77.2 against 77.7 for FP16, and 75.6 on SWE-bench Verified against 80.6 for FP16 (60.8 for Bonsai 2).
- PrismML reports 291 tokens/s generation on one NVIDIA H100 and 204 tokens/s on an RTX 4090, both with multi-token prediction (MTP).
- The benchmark results come from PrismML's whitepaper and model card; we found no independent replication.
What to do
If you want to try it locally, start from the repository the model card itself points to, PrismML-Eng/Bonsai-demo, which holds tested setups for each backend.
- Pick the right file. The model card lists three packings of the same model.
PTQ1_0(5.93 GB, 1.76 bits per weight) andPQ2_0need PrismML's llama.cpp fork; stock llama.cpp rejects them as unknown types.Q2_0runs on stock llama.cpp. The card recommendsPTQ1_0on NVIDIA GPUs andPQ2_0on Apple Metal. - Check your llama.cpp build. The card says
Q2_0needs upstream llama.cpp release b11556 or newer, and warns that older builds load the file without a warning and produce garbage. Runllama-cli --versionfirst. - Leave room for thinking. It is a reasoning model with
xhigheffort by default (mediumis the shorter setting). The card advises a generous output cap such as-n 16384, since a small cap ends generation mid-thought, and--min-p 0, because llama.cpp defaults to 0.05. - Use the recommended sampling. For thinking mode the card gives temperature 1.0, top-p 0.95, top-k 20, min-p 0.
- Low on VRAM? The card's known-issues section says the PrismML llama.cpp server can start with four request slots that share a KV cache; adding
-np 1limits it to one. It cites a community report on an RTX 3080 10 GB of about 9.5 GB total GPU memory before the flag and about 7.8 GB after. - Images need the separate
mmprojfile; text-only serving does not load it.
What happened
On 24 November 2026 PrismML published "Introducing Ternary Bonsai 2.5 27B: Powering Agentic Coding and Private Knowledge Work". It is an upgrade to Ternary Bonsai 2 27B (announced 17 September 2026 as Bonsai 2 27B) with, in the company's words, substantially stronger agentic coding, multi-turn tool use and multi-step task execution. The model keeps the previous release's file size. PrismML says it focused on making the model cope with long chains of tool calls: reading results, adjusting when a step fails and holding on to the task's goal. It also says it has reduced excessive thinking and repetitive loops, so the model finishes tasks in fewer turns and with fewer tokens than Bonsai 2.
The company's headline claim is that this is "by far the strongest AI model of its memory footprint for agentic workloads", a superlative we cannot verify; the model card words it as the strongest agentic model under 10 GB, based on PrismML's own comparison with other low-bit builds of the same base model.
The model card was created on Hugging Face the same day, 24 November, under the prism-ml organisation. It lists Apache 2.0 as the licence and Qwen3.8-27B as the base model. A hybrid-attention design (roughly 75% linear and 25% full attention) gives a 262K-token context window, and a vision tower ships as an optional separate file.
Background
Ternary models store each weight as one of three values (-1, 0 or +1) with a shared scale factor per group, here 128 weights. A ternary value carries about 1.585 bits of information, and the stored format works out to 1.76 bits per weight once scales are included. PrismML says the weights sit in a rotated basis, using a blockwise Hadamard rotation folded into the stored weights, which costs no extra bits; the runtime applies the matching transform to activations. Those details come from the Bonsai 2 whitepaper, which the card says is unchanged for 2.5.
PrismML describes itself as emerging from a team of Caltech researchers, with backing from Khosla Ventures, Cerberus and Google, and continuing support from Samsung. Its Bonsai line has grown through the autumn: Bonsai 2 27B in September, then ternary 2B, 4B and 9B models on 15 October. The 2.5 release changes the 27B model's behaviour while keeping its size and format.
The weak spot of compression has usually been agentic coding, where a single bad action can derail a long task. The model card says Bonsai 2 kept 63% of the FP16 score across three coding benchmarks and solved no DeepSWE task at all. That is the gap this release targets.
The numbers
All figures below are from PrismML's model card and blog, measured in thinking mode at xhigh reasoning effort, against FP16 and against other low-bit builds of the same base model. Treat them as the company's claims.
| score | |
|---|---|
| Bonsai 2 27B | 60.8 |
| Bonsai 2.5 27B | 75.6 |
| Qwen3.8 27B FP16 | 80.6 |
Source: PrismML blog, 24 November 2026
The blog's own table shows the movement from Bonsai 2 to 2.5 against the full-precision base: SWE-bench Verified 60.8 to 75.6 (FP16: 80.6), DeepSWE v1.1 from 0 to 27 (30.1), Terminal-Bench 2.1 from 52.8 to 60.1 (70.8), AppWorld from 51.2 to 90.5 (93.2) and tau-cubed-Bench from 69.1 to 73.9 (72.8). On LiveCodeBench v6 the new model scores 83.0, down from 83.8 for Bonsai 2 and below the 87.6 for FP16, so the gains are not uniform.
On tool calling, the model card reports a five-benchmark average (tau-squared-Bench, tau-cubed-Bench, BFCL v3, BFCL v4 and AppWorld) of 77.2 for Bonsai 2.5 against 77.7 for FP16 and 67.0 for Bonsai 2. It beats FP16 on tau-squared-Bench (82.0 against 80.6), tau-cubed-Bench and BFCL v3, and trails on BFCL v4 (67.2 against 70.8). On the three coding benchmarks it keeps 90% of the FP16 average, 54.2 against 60.5. Only one of the other low-bit builds PrismML tested, a 10.1 GB IQ3_XXS build 1.7 times larger, has a higher coding average (55.5).
General capability stays close: over five categories and 16 benchmarks the card gives 82.1 against 84.3 for FP16. Its biggest gap is in math, 3.1 points.
Speed, per the blog: 291 tokens/s generation and 3,200 tokens/s on a 2,000-token prompt on one NVIDIA H100 with MTP, and 204 tokens/s with about 3,060 tokens/s prompt processing on an RTX 4090. The model card says the MTP variants add a draft head that speeds decode by 1.5 to 1.8 times on NVIDIA GPUs, and that decode is 2.3 to 3.0 times faster than on Bonsai 2's release day on six of the seven NVIDIA GPUs it measured.
How it works
Three ideas combine here. First, ternary weights shrink the model to roughly a ninth of its FP16 size. Second, the rotation spreads outlier values across each block so ternary rounding hurts less. Third, speculative decoding: the MTP variants include a small draft head that proposes several tokens at once, and the main model checks them. The Bonsai-demo README says output matches plain decoding.
On the training side, PrismML says it targeted long sequences of tool calls, where small errors compound. The model card gives a concrete example of a failure it wants to avoid: one conventional low-bit build scored 79.5 on tau-squared-Bench yet only 46.5 on AppWorld, because in about one task in five it wrote a long script that guessed every API call and marked the task complete before seeing any output. That is PrismML's account of a competitor's build, not something we reproduced.
What it means
For developers who run models on their own hardware, a 5.93 GB file that fits a consumer GPU with room left for context is the main draw. If the claims hold, a local coding or tool-use agent over private files becomes practical without a data-centre GPU. PrismML pitches exactly that: assistants that work on sensitive material on the user's device.
The comparisons deserve care. PrismML measured against builds of the same base model that it chose, with its own evaluation setup. The bigger IQ3_XXS build still wins on coding. And the full-precision model remains ahead on most coding benchmarks: 80.6 against 75.6 on SWE-bench Verified, 70.8 against 60.1 on Terminal-Bench 2.1.
The practical catch is runtime support. The two smallest packings need PrismML's fork, and the stock-llama.cpp file is the larger 2-bit one. Anyone building an application on top should pin versions, as the card itself warns about silent garbage output from old builds.
What we don't know yet
- Independent results. We found no third-party reproduction of the benchmarks. All numbers come from PrismML's whitepaper, blog and model card.
- Real-world agent reliability. Benchmarks such as SWE-bench Verified and AppWorld test set-ups, not your repository or your tools.
- Upstream support. The model card says
PTQ1_0is under upstream llama.cpp review; whether and when it lands is not stated. - Memory with long context. The 5.93 GB figure is the weight file. Real memory use depends on context length, build and server settings, as the card's VRAM note shows.
What to watch next
Watch for independent evaluations on community leaderboards and from the llama.cpp and MLX communities, for the upstream llama.cpp decision on PTQ1_0, and for whether other labs adopt rotation-plus-ternary schemes for models of this size. PrismML also says it works with teams on domain-specific post-training and hardware tuning, so custom variants may follow.
Sources
- Introducing Ternary Bonsai 2.5 27B, PrismML, 24 November 2026 (primary source)
- Ternary-Bonsai-2.5-27B-GGUF model card, Hugging Face
- Bonsai-demo repository and README, PrismML
Written by
The official account of the people who run audiotale.net: announcements, conversation starters and the newsroom's drafts. Posts written with AI say so. Every other account here is a real person.
Read next
Kimi K3.1 Pro open weights: 2.8T MoE, 1M context, licence terms and Moonshot's own benchmarks
Moonshot has published the weights of its 2.8-trillion-parameter model on Hugging Face under a custom licence; every benchmark so far is the company's own.
audiotale.net team6 min read
Reflection AI releases Beam, a 501B-parameter open-weight model, under Apache 2.0
The US lab says its mixture-of-experts coding and agent model is now downloadable, but every benchmark so far is its own.
audiotale.net team5 min read
How to run an open-weight LLM locally: GGUF, quantization, Ollama and llama.cpp
A step-by-step guide to running an open-weight model on your own computer: what GGUF is, how quantization sets memory needs, and the Ollama and llama.cpp commands.
audiotale.net team6 min read