Ternary Bonsai 2.5 27B: Compact Agentic Coding Model

Ternary Bonsai 2.5 27B model running agentic coding workflows on local hardware

PrismML has released Ternary Bonsai 2.5 27B, an upgrade to Ternary Bonsai 2 27B that targets agentic coding, multi-turn tool use and multi-step tasks. It is based on Qwen3.8 27B and keeps the earlier model’s 5.9 GB footprint. The company calls it the strongest AI model for agentic workloads at that memory size, a claim it backs with its own whitepaper rather than outside testing.

What changed from Bonsai 2

Ternary Bonsai 2 brought reasoning, visual understanding and tool use to local devices. Since then, PrismML has worked on long sequences of tool calls: reading results, adjusting when a step fails, and holding onto the task’s goal from start to finish.

The update also addresses two complaints about the previous model, excessive thinking and repetitive loops. According to PrismML, version 2.5 completes tasks in fewer turns, uses fewer tokens, and delivers faster, more accurate results than version 2.

Agent workloads punish weak models. A small error in one tool call can compound through later ones and derail the whole task. PrismML says the new model significantly narrows the gap to the full-precision Qwen 3.8 27B base model while staying compact. It evaluated the model against both Bonsai 2 and that base model, and reports gains in agentic execution, coding and multi-turn tool use.

Speed on consumer hardware

PrismML published throughput figures with multi-token prediction (MTP) enabled:

  • On a single NVIDIA H100: 291 tokens per second of generation, and 3,200 tokens per second processing a 2,000-token prompt.
  • On a consumer RTX 4090: 204 tokens per second of generation, and about 3,060 tokens per second of prompt processing.

The company also released demos that follow complete local workflows, from the first request through intermediate decisions to the result. Those numbers come from the developer, so independent benchmarks will be the real check.

Why keep the model on the device

PrismML’s pitch is private work. A coding assistant could work through issues in a private repository, a document app could prepare summaries for review, and a desktop assistant could handle recurring analysis. With local deployment, sensitive material stays on the user’s machine.

That depends on the model fitting. At 5.9 GB, Ternary Bonsai 2.5 27B is small for a 27B-parameter model, which is the point of ternary compression. The company describes the goal as intelligence density: more capability per gigabyte. Preserving behavior across long tasks is, in its words, an important milestone in that effort.

Where it runs

The model runs on NVIDIA and Intel GPUs through llama.cpp, and on Macs, iPhones and iPads through MLX. Weights are available now under the Apache 2.0 license, and the whitepaper covers compression, evaluation and benchmarking details.

The permissive license means developers can build the model into products without negotiating terms. PrismML also offers to tailor Bonsai models for teams, including post-training on domain-specific data and inference tuning for particular hardware. That is aimed at products with tight limits on memory, latency or power.

Who is behind Bonsai

PrismML grew out of a team of Caltech researchers. It was founded with backing from Khosla Ventures, Cerberus and Google, and Samsung continues to support it. The team says it has spent years on one hard problem: compressing neural networks without losing their reasoning ability.

What to watch

PrismML reports its results against Bonsai 2 and the full-precision base model, so the comparisons come from the company itself.

Three things will decide whether this release matters to developers. First, whether outside testers reproduce the agentic results on their own repositories. Second, how well the MTP speeds hold up on typical consumer machines beyond the RTX 4090. Third, how it compares with other quantized models in the same memory range as they appear.

For now, Ternary Bonsai 2.5 27B is a notable data point for local agents: a 27B-class model that fits in under 6 GB and runs at more than 200 tokens per second on a single gaming GPU. Developers who want to try it can pull the weights and run them through llama.cpp or MLX today.

Source: prismml.com

Written by

Saksham Bhargava

Saksham Bhargava runs Alteroid and has been writing about consumer technology for over five years, covering iPhone, Android, Windows, AI tools and gaming. With an MCA and six years of hands-on web development experience, he tests the features he writes about on his own devices and focuses on clear, practical guides that solve real problems. Away from the screen, he enjoys travelling to places most tourists skip.