PrismML's Ternary Bonsai 2.5 packs a 27B coding agent model into 5.9 GB
PrismML released Ternary Bonsai 2.5 27B under Apache 2.0. Its ternary weights keep the model at 5.9 GB while sharply improving agentic coding scores, the company says.
PrismML has released Ternary Bonsai 2.5 27B, an open model built for agentic coding that fits in 5.9 GB. The company announced it on November 24. Based on Qwen3.8 27B, the model keeps the same small footprint as its predecessor, Bonsai 2 27B, while closing much of the gap to the full-size original on agent and coding tests, according to PrismML.
What's new
- How it shrinks: The Decoder explains that ternary quantization lets every weight take just three possible values, −1, 0 and +1, rather than storing it as a 16-bit number. A model this size would need about 54 GB at full precision, the outlet says.
- Built for long tool chains: PrismML says it focused on keeping the model on task across long sequences of tool calls, and on reducing the excessive thinking and repetitive loops seen in the previous version. It says Bonsai 2.5 finishes tasks in fewer turns and with fewer tokens.
- Benchmarks (company-reported): PrismML's table puts Bonsai 2.5 at 75.6 on SWE-bench Verified, up from 60.8 for Bonsai 2, against 80.6 for full Qwen3.8 27B. On AppWorld it lists 90.5, up from 51.2, versus 93.2 for the base model. LiveCodeBench v6 is the exception, where Bonsai 2.5 slipped a little, to 83.0 from 83.8.
- Speed: the company reports 204 tokens per second on a consumer RTX 4090 and 291 on an NVIDIA H100, both using multi-token prediction.
Availability and pricing
PrismML says the weights are available now under the Apache 2.0 license, with a whitepaper describing its methods. The model runs on NVIDIA and Intel GPUs through llama.cpp and on Mac, iPhone and iPad through MLX. PrismML grew out of a Caltech research team.
Why it matters
Analysis: a capable coding agent that fits in under 6 GB brings private, on-device agents within reach of ordinary laptops and phones, where code and documents never leave the machine. The numbers are PrismML's own and have not been independently checked, so the safest reading is that the gap between compressed and full models on agent work has narrowed, not vanished. People already running local models through tools like Ollama will want to watch for community tests on real repositories.
Source: PrismML