Key takeaways

  • PrismML released Ternary Bonsai 2.5 27B on November 24, 2026, under the Apache 2.0 license.
  • It stores each weight as -1, 0 or +1, fitting a 27B model built on Qwen3.8 27B into 5.93 GB.
  • PrismML reports 75.6 on SWE-bench Verified, against 60.8 for Bonsai 2 and 80.6 for the full-size Qwen model.

PrismML released Ternary Bonsai 2.5 27B on November 24, 2026, an open model that fits in 5.9 GB and is tuned for coding agents and tool use. PrismML's announcement says Bonsai 2.5 27B scores 75.6 on SWE-bench Verified, up from 60.8 for Bonsai 2 and close to the 80.6 of the full-size model it was built from.

That matters because the full-size model, Alibaba's Qwen3.8 27B, takes 53.8 GB at 16-bit precision. A 5.9 GB file runs on a laptop GPU or a recent Mac. If the scores hold up, it is the first time a model this small has come close to its parent on agent work, which is exactly the job that small, squeezed models usually fail at.

What "ternary" means here

Most models store each weight as a 16-bit number. Bonsai stores each weight as one of three values, −1, 0 or +1, with one shared scale for every group of 128 weights. According to the model card on Hugging Face, that works out to 1.76 bits per weight, about nine times smaller than 16-bit.

Compressing a model this hard usually costs accuracy, and the loss compounds in agent tasks, where one bad step in a chain of tool calls can derail the rest. PrismML's previous release, Bonsai 2 27B from September, showed it: it scored 0 on the DeepSWE coding benchmark. Bonsai 2.5 keeps the same format and size and was trained further for long, multi-step tool use. PrismML says it also fixes the over-long thinking and repetitive loops of Bonsai 2.

The scores, from PrismML

All of these numbers come from PrismML's own whitepaper and announcement. No independent tests were out at the time of writing.

Benchmark Qwen3.8 27B (full size) Bonsai 2 27B Bonsai 2.5 27B
SWE-bench Verified 80.6 60.8 75.6
DeepSWE v1.1 30.1 0 27.0
Terminal-Bench 2.1 70.8 52.8 60.1
AppWorld 93.2 51.2 90.5
τ³-Bench 72.8 69.1 73.9
LiveCodeBench v6 87.6 83.8 83.0

PrismML says Bonsai 2.5 averages 77.2 across five tool-calling benchmarks, against 77.7 for the full-size model, and reaches 90% of the full model's score on agentic coding, up from 63% for Bonsai 2. Terminal work is still the weak spot: 60.1 against 70.8.

Speed, hardware and license

PrismML reports 291 tokens a second on one NVIDIA H100 and 204 on a consumer RTX 4090, using multi-token prediction, a small extra head that drafts several tokens ahead so the model can confirm them in one pass. The model reads up to 262,000 tokens of context.

It runs through llama.cpp on NVIDIA and Intel GPUs and through MLX on Macs, iPhones and iPads. The smallest 5.93 GB file needs PrismML's own fork of llama.cpp for now; a standard 2-bit version runs on stock llama.cpp. The weights are under the Apache 2.0 license, which allows commercial use.

PrismML is a startup founded by Caltech researchers, with backing from Khosla Ventures, Cerberus, Google and Samsung. It sells custom versions of Bonsai to companies that need to run models on their own hardware.

What we don't know yet

The open question is whether outside testers get the same numbers. Benchmarks run by the model's maker often flatter it, and compressed models can hold up on benchmarks while slipping on real repositories. The release reached 213 points on Hacker News on its first day, so community tests on Ollama and llama.cpp should follow quickly. Watch for an entry on Artificial Analysis and for whether the smallest file format lands in upstream llama.cpp, which would make it a one-line install.

Sources

  1. Introducing Ternary Bonsai 2.5 27BPrismML
  2. Ternary Bonsai 2.5 27B GGUF model cardHugging Face
  3. Bonsai 2.5 27B whitepaperPrismML
  4. Ternary Bonsai 2.5 27B on Hacker NewsHacker News