# PrismML releases Ternary Bonsai 2.5 27B, a 5.9 GB model for agentic tasks

published: 2026-11-25T12:05:29.876Z
topic: infrastructure
source: https://the-decoder.com/prismml-squeezes-an-agent-based-coding-model-with-27-billion-parameters-into-5-9-gb/
url: https://aiagentnews.io/stories/prismml-releases-ternary-bonsai-2-5-27b-a-5-9-gb-model-for-agentic-tasks

PrismML has released Ternary Bonsai 2.5 27B, an updated version of its heavily compressed language model built on Qwen3.8-27B. The model stores each weight as one of three values and fits in 5.9 GB, the same footprint as its predecessor.

PrismML has released Ternary Bonsai 2.5 27B, an updated version of its heavily compressed language model built on Qwen3.8-27B. It uses ternary quantization, where each weight is −1, 0, or +1 instead of a 16-bit value, which keeps memory use at 5.9 GB. At full precision, a model of this size would need about 54 GB.

The model targets agentic tasks with long chains of tool calls. PrismML says it needs fewer passes and tokens than Bonsai 2 and is less likely to loop or drift into long reasoning phases. On SWE-bench Verified it rises from 60.8 to 75.6 percent, against 80.6 for the full Qwen model, and on AppWorld it goes from 51.2 to 90.5. LiveCodeBench v6 scores slightly lower than the predecessor.

On an RTX 4090, the model generates about 204 tokens per second using multi-token prediction. The weights are under an Apache 2.0 license and run through llama.cpp on Nvidia and Intel GPUs, and through MLX on Mac, iPhone and iPad. PrismML grew out of a Caltech research team and is backed by Khosla Ventures, Google and Samsung, among others.

## Why it matters if you build agents

Developers who run agents on local or memory-limited hardware now have a 27B-class model that fits in 5.9 GB. Its gains on multi-step tool use make it worth testing in existing agent loops. Check results on your own tasks, since LiveCodeBench scores slipped slightly.
