PrismML Compresses 54 GB Model Down to 5.9 GB

By Jonathan KemperOriginal title: PrismML shrinks a 54 GB language model to 5.9 GB by reducing every weight to just three possible values
78AI Score

PrismML released Ternary Bonsai 2.5 27B, built on Qwen3.8-27B and using ternary quantization where each weight is limited to -1, 0, or +1, cutting memory from roughly 54 GB to 5.9 GB. The update targets long-chain tool-calling agent tasks, lifting SWE-bench Verified from 60.8% to 75.6% and AppWorld from 51.2% to 90.5%, approaching the full-precision base model.

Full Report

PrismML shrinks a 54 GB language model to 5.9 GB by reducing every weight to just three possible values

Startup PrismML has released Ternary Bonsai 2.5 27B, an updated version of its aggressively compressed language model. It's based on Qwen3.8-27B and takes up just 5.9 GB of memory, same as its predecessor. That's possible because of ternary quantization, where each weight can only be one of three values (−1, 0, or +1) instead of the usual 16-bit storage. At full precision, a model this size would need about 54 GB.

Bonsai 2.5 is designed to perform more reliably on agentic tasks that involve long chains of tool calls. It needs fewer passes and tokens than Bonsai 2, and it's less likely to get stuck in loops or spiral into drawn-out reasoning phases.

The benchmark numbers reflect the improvement. On SWE-bench Verified, the score jumps from 60.8 to 75.6 percent. The full Qwen model hits 80.6. On AppWorld, an agent benchmark, Bonsai leaps from 51.2 to 90.5, landing just behind the base model. On LiveCodeBench v6, the new version scores slightly lower than its predecessor.

Ad Ad

On an RTX 4090, the model generates about 204 tokens per second using multi-token prediction. The weights are available under an Apache 2.0 license and run via llama.cpp on Nvidia and Intel GPUs, as well as through MLX on Mac, iPhone, and iPad. PrismML grew out of a research team at Caltech and is backed by Khosla Ventures, Google, and Samsung, among others. The company first introduced Bonsai 27B in July, built on an older Qwen model. Its smallest variant needed less than 4 GB of memory, small enough to run directly on an iPhone.

Ad

THE DECODER+

  • Every Plus article and the full archive
  • No ad banners
  • Frontier Radar: 6 deep dives a year

What is included → First month −50% Monthly $4.99 for the first month Then $9.99 a month. Cancel any time. Subscribe monthly Best value Yearly $8.25 a month $99 once a year. Subscribe yearly

Already a subscriber? Sign in

Text
 Source: [PrismML](https://prismml.com/news/bonsai-2-5-27b) | [Paper](https://github.com/PrismML-Eng/Bonsai-demo/blob/main/bonsai-2-5-27b-whitepaper.pdf) | [Demo](https://prismml-eng.github.io/Talk/)     [Comment](https://the-decoder.com/subscription) [Copy link](https://the-decoder.com/prismml-squeezes-an-agent-based-coding-model-with-27-billion-parameters-into-5-9-gb/) [Share](https://the-decoder.com/prismml-squeezes-an-agent-based-coding-model-with-27-billion-parameters-into-5-9-gb/)         Earlier coverage  [Jul 15, 2026 **Bonsai 27B is a full open reasoning model that fits on an iPhone**](https://the-decoder.com/bonsai-27b-is-a-full-open-reasoning-model-that-fits-on-an-iphone/)