News · Chatbots

PrismML's Ternary Bonsai 2.5 shrinks a 27B model to 5.9 GB for local agent use

The startup's ternary quantization technique cuts a 54 GB Qwen3.8-27B model down to run on consumer GPUs and Apple devices while preserving strong agent benchmarks.

By Emonarc Editorial Team3 min read

Startup PrismML has released Ternary Bonsai 2.5 27B, a heavily compressed language model that occupies just 5.9 GB of memory while delivering near-full-precision performance on several agent benchmarks. The release matters because it puts a 27-billion-parameter model within reach of standard consumer hardware, removing the need for expensive cloud infrastructure for agentic workloads.

How ternary quantization works

At full precision, a 27B model like Qwen3.8-27B — the base for Bonsai 2.5 — would require roughly 54 GB of memory. PrismML achieves the 89 percent reduction by using ternary quantization, which restricts every individual weight to one of three possible values: −1, 0, or +1. Standard models typically store weights in 16-bit precision, which allows for a vast range of values but demands significantly more memory and bandwidth. By collapsing each weight to a trilevel representation, the model file shrinks dramatically while retaining enough structural information to function effectively.

The weights are released under an Apache 2.0 license and can run through llama.cpp on Nvidia and Intel GPUs, as well as through MLX on Mac, iPhone, and iPad. On an RTX 4090, the model generates approximately 204 tokens per second using multi-token prediction.

Benchmark gains and where it falls short

PrismML says Bonsai 2.5 is designed to handle agentic tasks involving long chains of tool calls more reliably than its predecessor. According to the company, it needs fewer passes and tokens than Bonsai 2 and is less prone to getting stuck in loops or spiraling into extended reasoning phases.

The benchmark results reflect those improvements on two of three tests:

  • SWE-bench Verified: Scores rose from 60.8 percent in Bonsai 2 to 75.6 percent in Bonsai 2.5. The full-precision Qwen model scores 80.6 percent.
  • AppWorld (agent benchmark): Jumped from 51.2 to 90.5 percent, placing just behind the base model.
  • LiveCodeBench v6: The new version scores slightly lower than its predecessor, indicating the compression may carry trade-offs for certain coding tasks.

Who should care and practical implications

For developers and small teams building agent-based workflows, the ability to run a 27B model locally on a single consumer GPU changes the economics of AI prototyping. A model that fits in under 6 GB can run alongside other tools on a machine without requiring dedicated cloud instances, reducing both cost and latency. The broad hardware support — spanning Nvidia GPUs, Intel GPUs, and Apple silicon including iPhones and iPads — also means teams can test agent pipelines on devices they already own.

This is particularly relevant for agentic coding workflows, where models need to make repeated tool calls over long sessions. Tools like Cursor and Replit have popularized AI-assisted development, but they typically rely on hosted models. A locally runnable 27B model with strong SWE-bench scores opens the door to private, self-contained development agents. Similarly, automation platforms like n8n could benefit from local model options for teams that need tighter data control.

For those tracking broader agent infrastructure trends, PrismML's approach complements developments like Anthropic's MCP protocol reaching 700 million monthly downloads, as both push toward more capable local and distributed agent ecosystems.

What to watch

PrismML emerged from a research team at Caltech and counts Khosla Ventures, Google, and Samsung among its backers. The company first introduced Bonsai 27B in July, built on an older Qwen model, with a smallest variant that needed under 4 GB — small enough to run on an iPhone.

The LiveCodeBench v6 regression is worth monitoring. If ternary quantization causes measurable drops on certain coding benchmarks, developers will need to evaluate which tasks are well-suited to compressed models and which still require full precision. As PrismML continues iterating, the gap between compressed and full-precision performance will determine whether ternary models become a standard deployment option or remain a niche trade-off.

Frequently asked questions

How much memory does Ternary Bonsai 2.5 27B require?

The model needs 5.9 GB of memory, down from approximately 54 GB at full precision. This is achieved through ternary quantization, where each weight is limited to one of three values: −1, 0, or +1.

What hardware can run the model?

According to PrismML, the weights run via llama.cpp on Nvidia and Intel GPUs, and through MLX on Mac, iPhone, and iPad. On an RTX 4090, it generates about 204 tokens per second using multi-token prediction.

How does Bonsai 2.5 compare to the full Qwen model on benchmarks?

On SWE-bench Verified, Bonsai 2.5 scores 75.6 percent versus the full model's 80.6 percent. On AppWorld, it scores 90.5 percent, landing just behind the base model. On LiveCodeBench v6, the new version scores slightly lower than its predecessor.

Sources

  1. The Decoder: PrismML shrinks a 54 GB language model to 5.9 GB by reducing every weight to just three possible values

The daily AI brief. 5 minutes, free.

What shipped, what changed in pricing, and the tools actually worth paying for.

No spam. Unsubscribe in one click.