A 5.9 GB model aims to make coding agents more reliable
PrismML’s Ternary Bonsai 2.5 27B compresses a model based on Qwen3.8-27B to 5.9 GB by limiting each weight to −1, 0, or +1. It improves on its predecessor in two reported agent benchmarks, while scoring slightly lower on LiveCodeBench v6.
PrismML’s updated language model combines a small memory footprint with a focus on agent tasks that require repeated tool use. Called Ternary Bonsai 2.5 27B, it occupies 5.9 GB and is designed to avoid some of the inefficiencies reported with its predecessor, including looping and prolonged reasoning.
“The story mildly leans toward more capable autonomous agents, though it focuses on reliability and efficiency without describing harm or loss of human skill.”Why it scores Terminator
Three weight values enable a smaller model
Ternary Bonsai 2.5 27B is based on Qwen3.8-27B. Its compact size comes from ternary quantization: each model weight is represented by one of three values, −1, 0, or +1, instead of being stored at the usual 16-bit precision.
At full precision, a model of this size would require about 54 GB. The compressed version takes up 5.9 GB, the same as its predecessor. That difference matters because memory use can determine which devices can run a model locally and how much room it leaves for other work.
Reducing storage this aggressively raises an obvious question: how much capability remains? PrismML’s reported results suggest the newer version improves on Bonsai 2 in some agent benchmarks, though it does not lead on every evaluation listed.
Results improve on two agent benchmarks
PrismML says Bonsai 2.5 is intended to handle long sequences of tool calls more reliably. Compared with Bonsai 2, it needs fewer passes and tokens, and is less likely to get caught in loops or extended reasoning phases.
On SWE-bench Verified, the score rises from 60.8 to 75.6 percent. The full Qwen model scores 80.6. On AppWorld, an agent benchmark, Bonsai’s result increases from 51.2 to 90.5, just behind the base model.
The picture is not uniformly better: on LiveCodeBench v6, Bonsai 2.5 scores slightly lower than its predecessor. Taken together, these figures point to progress on the reported agent tasks, while leaving a trade-off visible on another coding benchmark.
Where the model can run
On an RTX 4090, Bonsai 2.5 generates about 204 tokens per second using multi-token prediction. The model is available under an Apache 2.0 license and can run through llama.cpp on Nvidia and Intel GPUs. It is also supported through MLX on Mac, iPhone, and iPad.
These options give developers several ways to work with the compressed model, from desktop GPUs to Apple devices. Its 5.9 GB footprint may make local use more practical, but the source does not say that every listed device will deliver the same speed or performance.
PrismML’s earlier Bonsai work
PrismML grew out of a research team at Caltech and is backed by Khosla Ventures, Google, and Samsung, among others. The company introduced Bonsai 27B in July, built on an older Qwen model.
That earlier release also included a smaller variant requiring less than 4 GB of memory, small enough to run directly on an iPhone. Bonsai 2.5 continues the same broad effort to reduce the resources required to use language models, while targeting more dependable performance in agent workflows.
The updated model’s appeal rests on that combination: a compressed 27B model, support across several hardware platforms, and improved scores on two agent evaluations. Its lower LiveCodeBench v6 score is a reminder that the gains vary by task.
Read next