PrismML published Ternary Bonsai 2.5 27B on November 24, under Apache 2.0, with weights on Hugging Face. The model is a ternary rework of Qwen 3.8 27B: every weight is constrained to -1, 0 or +1, which averages out to 1.76 bits per weight and brings the most compact build to 5.93GB against roughly 53.8GB for the full-precision original.
That is a ninth of the memory for a model that still claims 93.7% of the source model's agentic coding score. The vendor's own table shows SWE-bench Verified rising from 60.8 to 75.6 and AppWorld tool use from 51 to 90.5 compared with the previous Bonsai release. Both numbers are self-reported, and the second one is the one worth checking, because tool use is where small local models usually fall apart.
Why ternary, and why now
Post-training quantization to 4 bits is routine. Pushing to 1.58 or 1.76 bits per weight means the arithmetic can be done with additions and sign flips rather than multiplications, which is why these models run well on consumer GPUs and Apple silicon. The cost is accuracy, and the usual failure is not "the model gets dumber everywhere" but "the model stops following tool schemas exactly," which breaks agent loops silently.
Bonsai 2.5's pitch is aimed at that specific failure. PrismML describes the update as targeting continuous tool calls, reading results back, and recovering from failed steps without looping or over-thinking. That is a different goal from raw benchmark scores, and it is the right goal for anything running on a laptop.
What 5.9GB buys you
- A 27B-class model that fits comfortably on a 12GB consumer card, or in unified memory on a 16GB Mac.
- 262K context, which is unusual at this size and matters for repository-wide work.
- Text and image input, so screenshots and diagrams can go straight in.
- llama.cpp and Apple MLX as first-class runtimes, not an afterthought.
- Community reports of roughly 200 tokens per second on an RTX 4090 in the compact build.
The 4090 figure is the interesting one because it is a memory-bandwidth story: at 1.76 bits per weight, a 27B model is about 6GB of weights, and a 4090 moves close to 1TB per second. The arithmetic ceiling is high enough that real throughput is dominated by kernel quality, not hardware.
The catch nobody puts in the title
"93.7% of the score" is an average across a benchmark suite. Averages hide the tasks that matter. Quantized models tend to keep up on generation and slip on exact string handling, long structured output and rare identifiers — the three things a coding agent does constantly. The right test is not SWE-bench; it is your own test suite, run twice, once against the original Qwen 3.8 27B and once against Bonsai.
There is also a licence question that Apache 2.0 answers cleanly, which is more than can be said for several recent "open" releases. Commercial use is permitted without a separate agreement, and derivative weights can be redistributed. For teams that have been waiting for a local coding model they can actually ship, that matters more than two points of benchmark.
Where this leaves local coding
A year ago the local option was a 7B model that could autocomplete. Today it is a 27B model with tool use, 262K context and image input, running on a single consumer card at a ninth of the disk footprint. The gap to frontier coding agents is still real — SWE-2.1 posts 50.0 on Terminal-Bench, and nothing at this size is close — but the gap between "unusable locally" and "good enough for private code" has mostly closed.
The practical advice is unglamorous: download both builds, run your own evaluation harness, and measure tool-call schema compliance rather than answer quality. If the ternary build holds 95%+ on schema compliance, the memory savings are free. If it drops to 80%, the agent will fail in ways that look like model stupidity and are actually formatting.