IntermediateAI
PrismML’s Bonsai 2.5 27B Closes Most of Its Agentic Coding Gap
- PrismML
- benchmarks
- local inference
- open source
- quantization
- qwen
PrismML released Ternary Bonsai 2.5 27B on November 24, 2026, an upgrade that keeps the previous version’s 5.93 GB ternary weight format and closes most of that version’s gap to full precision on agentic coding. The weights ship under Apache 2.0 and run through llama.cpp and, via a separate export, Apple’s MLX. On the company’s own three coding benchmarks, the new build keeps 90% of the score of its 53.8 GB FP16 base model, up from 63% for the September release it replaces.
What Changed
The base model, the storage format, the file size and the supported runtimes are all unchanged from Ternary Bonsai 2, which shipped on September 17. What PrismML says it changed is behaviour over a long task: reading tool results, recovering when a step fails, and holding the objective across many turns, with less of the over-thinking and repetition the earlier build could fall into. The release post calls the result “by far the strongest AI model of its memory footprint for agentic workloads.”
Those are vendor figures, from PrismML’s own whitepaper and model card, all measured in thinking mode at the xhigh reasoning setting. Presented together, they show where the September build was broken:
| Benchmark | Qwen3.8-27B FP16 (53.8 GB) |
Bonsai 2 27B (5.93 GB) |
Bonsai 2.5 27B (5.93 GB) |
|---|---|---|---|
| SWE-bench Verified | 80.6 | 60.8 | 75.6 |
| Terminal-Bench 2.1 | 70.8 | 52.8 | 60.1 |
| DeepSWE v1.1 | 30.1 | 0.0 | 27.0 |
| AppWorld | 93.2 | 51.2 | 90.5 |
| τ³-Bench | 72.8 | 69.1 | 73.9 |
| LiveCodeBench v6 | 87.6 | 83.8 | 83.0 |
Averaged over PrismML’s 20-benchmark suite, the 2 release looked close to lossless at 98.2% of full precision, as our September coverage noted. Sliced by task type, the same weights kept 63% on agentic coding and solved none of DeepSWE’s tasks. The new release reaches 90% of FP16 across the three coding benchmarks and 77.2 against 77.7 on five tool-calling suites, where it edges past full precision on τ²-Bench, τ³-Bench and BFCL v3 with native tool calls. It still trails on BFCL v4, by 3.6 points.
The Same 5.93 GB Trick
Every language-model weight is ternary, one of −1, 0 or +1, with a single FP16 scale per group of 128 weights, which stores each weight in 1.76 bits rather than 16. Each matrix is rotated blockwise by an orthogonal Hadamard transform before the ternary assignment, and the runtime applies the matching transform to activations, so the rotation costs no extra bits. The total is 27.36 billion parameters: 24.35 billion in the 64-block language backbone, a 0.47-billion-parameter vision tower that ships as a separate file so text-only serving never loads it, and 2.54 billion in embeddings and the output head.
The headline number is also the most misread one. The 5.93 GB file is the PTQ1_0 packing, which needs PrismML’s llama.cpp fork; on Hugging Face it measures 5,993,834,848 bytes. The other two packings of the same model are 7.25 GB (PQ2_0) and 7.67 GB (Q2_0). Only Q2_0 runs on upstream llama.cpp, and only from build b11556, which added the Hadamard activation kernels. Older builds load the file without a warning and produce garbage, so the model card asks users to check llama-cli --version first. Support for the PTQ1_0 format is still under review upstream.
Faster, With a Draft Head
Every GGUF file now ships with a multi-token prediction head, one extra layer that guesses the next few tokens for the full model to check in a single pass. PrismML measured decode at 194 to 296 tokens per second on an H200, 111 to 204 on an RTX 4090 and 11.1 to 23.1 on a Core Ultra laptop, with a gain of only 1.1× on an M4 Pro. Set against the September build’s release-day performance, the company reports 114 to 306 tokens per second on an H200 and 104 to 309 on a B200, and its release post claims 291 tokens per second on an H100.
A 27B model in under 8 GB is still not the same as a 27B model anyone can run quickly. An independent test published the same day by MODEL put the 7.67 GB Q2_0 file on stock llama.cpp on an eight-core machine with 15 GB of RAM and no GPU: 3.3 tokens per second for generation, about 9.5 GB of memory at an 8K context, and a tool call that took roughly 48 seconds to complete. The authors note they did not test GPU speed, the MTP files, image input or PrismML’s own benchmark numbers.
What This Means
For two generations, the argument for extreme quantization rested on averages. Bonsai 2.5 makes the sharper case that the averages were hiding the failure that matters: a compressed model that reasons well in one shot but cannot finish a tool-call episode is not usable as an agent, and a single bad action can end a long run. PrismML’s own comparison table makes the point against its competitors too, noting that one 8.4 GB conventional build scores 79.5 on τ²-Bench yet 46.5 on AppWorld, guessing every API call in roughly one task in five.
Two limits survive the marketing. Terminal-Bench 2.1, at 60.1 against 70.8 for FP16, is where PrismML says it is furthest from full precision, and the whitepaper concedes that even its longest evaluations are bounded, single-task episodes; workloads running for hours across many context windows are listed as next-release work. And the compression buys storage, not compute: at 5.9 GB the model fits on hardware that could never hold 53.8 GB, but the tokens per second on that hardware are a separate question with a separate answer.
This post was drafted with AI assistance and reviewed by RITS staff.
Sources
- PrismML — Introducing Ternary Bonsai 2.5 27B: Powering Agentic Coding and Private Knowledge Work (November 24, 2026)
- Hugging Face — prism-ml/Ternary-Bonsai-2.5-27B-GGUF model card
- PrismML documentation — Ternary Bonsai 2.5 27B
- PrismML — Ternary Bonsai 2.5 27B whitepaper (PDF)
- PR Newswire — PrismML Launches Ternary Bonsai 2.5 27B
- MODEL — Ternary Bonsai 2.5 27B, tested on a CPU-only machine
- llama.cpp release b11556
- GitHub — PrismML-Eng/Bonsai-demo





