Pruning a bonsai for large models: cut away 90% of the size while keeping 90% of the coding ability. On November 24, U.S. company PrismML released the Ternary Bonsai 2.5 27B model: built on the Qwen3.8 27B base, it uses ternary quantization, with weights limited to -1, 0, and 1. In its most compact format, it uses only 5.9GB of memory, about one-ninth that of the full-precision version (about 53.8GB), yet it retains about 93.7% of the original model's Agent coding benchmark score (75.6 on SWE-bench Verified, versus 80.6 for full precision).

Scores went up, and it's not just about saving space
Compared with Bonsai 2 27B from September this year, version 2.5 focuses on strengthening agentic coding, multi-turn tool calling, and long-task execution: SWE-bench Verified rose from 60.8 to 75.6, the tool-use benchmark AppWorld jumped from 51.2 to 90.5, and only LiveCodeBench v6 slipped slightly from 83.8 to 83.0. PrismML acknowledges that compressed models are prone to error accumulation on long tasks, which can cause agents to go off track or fail repeatedly; the new version improves how tool feedback is used and how failures are recovered from, and reduces unnecessary reasoning, in order to narrow the gap with the full-precision model.
Code never leaves the device
The use cases are clear: a coding assistant can inspect private codebases, modify code, and run tests locally; a knowledge-work assistant can organize documents and cross-check inconsistent records—reasoning and sensitive data stay on the user's device throughout. It can run on NVIDIA and Intel GPUs via llama.cpp, and can also run on Mac, iPhone, and iPad via MLX. It is available for free download under the Apache 2.0 license starting today.






