Dev48
Language
  • About
  • Services
  • Industries
  • Technologies
  • Articles
  • Contacts
Book a call
    Home/Articles/Introducing ternary bonsai 25 27b powering agentic coding and private knowledge
Dev48
info@dev48.org+375 29 320-40-96WhatsApp@isky_by

© 2026 · All rights reserved.

Introducing Ternary Bonsai 2.5 27B: Powering Agentic Coding and Private Knowledge Work

Source: PrismML•November 24, 2026 at 07:37 PM

Introducing Ternary Bonsai 2.5 27B: Powering Agentic Coding and Private Knowledge Work

Ternary Bonsai 2.5 27B brings substantially stronger agentic coding, multi-turn tool use, and multi-step task execution to the same 5.9 GB footprint.

Today, we’re introducing Ternary Bonsai 2.5 27B, an upgrade to Ternary Bonsai 2 27B with substantially stronger agentic coding, multi-turn tool use, and multi-step task execution. Based on Qwen3.8 27B, it retains the previous release’s 5.9 GB model footprint while significantly improving the capabilities developers need to build agents that work with private files and tools on-device. The result is by far the strongest AI model of its memory footprint for agentic workloads.

With Ternary Bonsai 2 27B, we brought stronger reasoning, visual understanding, and tool use to local devices. Since then, we’ve focused on making the model more effective across long sequences of tool calls: interpreting results, adjusting when a step fails, and maintaining the task’s objective through the whole interaction. This release also continues our work to make Bonsai more practical by addressing excessive thinking and repetitive loops in the previous model. Compared with Ternary Bonsai 2, Ternary Bonsai 2.5 completes tasks in fewer turns, uses fewer tokens, and delivers results faster and more accurately.

Agentic workflows are particularly sensitive to model degradation: small errors can compound across successive tool calls and derail an entire task. Ternary Bonsai 2.5 significantly narrows the performance gap to the full-precision base model while retaining its compact footprint. Preserving this behavior through longer tasks is an important milestone in improving the intelligence density of models.

We evaluated Ternary Bonsai 2.5 27B against both Ternary Bonsai 2 27B and the full-precision Qwen 3.8 27B base model, as reported in the full whitepaper. We see marked improvements in agentic execution, coding, and multi-turn tool use, as shown in the table below.

On a single NVIDIA H100, Ternary Bonsai 2.5 27B achieves a generation speed of 291 tokens/s with MTP and processes a 2,000-token prompt at 3,200 tokens/s. Even on a consumer-grade RTX 4090, it delivers 204 tokens/s with MTP and a prompt processing speed of approximately 3,060 tokens/s. The demos below follow complete local workflows, from the initial request through intermediate decisions to the final result.

Demo I: Reproducing and fixing a pytest regression with Bonsai 2.5 27B

For products, this creates room to build assistance directly into the applications where work already happens: a coding assistant working through issues in a private repository, a document application that prepares reviewable summaries, or a desktop assistant that handles recurring analysis. Local deployment lets those products process sensitive material on the user’s device. Ternary Bonsai 2.5 27B strengthens the model capabilities behind that experience while keeping the compact footprint that makes it practical.

Platform Coverage

Ternary Bonsai 2.5 27B runs on NVIDIA and Intel GPUs via llama.cpp and on Apple devices (Mac, iPhone, iPad) via MLX.

Model weights are available today under the Apache 2.0 License.

Full technical details of our compression, evaluation, and benchmarking processes are available in our .

Work with Us

We work with teams to tailor Bonsai models to their applications, from post-training on domain-specific data to optimizing inference for target hardware. If you’re building AI products with tight memory, latency, or power requirements, we’d love to explore how Bonsai can help. Reach out at sales@prismml.com.

Join Us

Prism emerged from a team of Caltech researchers and was founded with support from Khosla Ventures, Cerberus, and Google, with continuing support from Samsung. We've spent years tackling one of the field's hardest problems: compressing neural networks without sacrificing their reasoning ability.

If you want to help build the next generation of state-of-the-art AI, we'd love to hear from you. Check out our careers page.

← All articles

What this article says

More in AI & Machine Learning

All →
Amazon Autos is coming to the UK—the first country outside the US
Amazon

Amazon Autos is coming to the UK—the first country outside the US

The Agent Lake
LangChain

The Agent Lake

Training a Scalable Forecasting Agent (Guest Post with Mantic)
Thinking Machines Lab

Training a Scalable Forecasting Agent (Guest Post with Mantic)

What is agent memory?
Redis

What is agent memory?

How We Achieved ISO 42001 with LangSmith
LangChain

How We Achieved ISO 42001 with LangSmith

Enabling Mid-Epoch Training Resumption with Ray Train
Anyscale

Enabling Mid-Epoch Training Resumption with Ray Train

More from PrismML

PrismML Expands Bonsai 2 Family with 2B, 4B, and 9B Models for On-Device AI
PrismML

PrismML Expands Bonsai 2 Family with 2B, 4B, and 9B Models for On-Device AI

Introducing Ternary Bonsai 2 2B, 4B, and 9B: Bringing Local Agents to Everyday Devices
PrismML

Introducing Ternary Bonsai 2 2B, 4B, and 9B: Bringing Local Agents to Everyday Devices

Announcing Bonsai 27B: The First 27B-Class Model to Run on a Phone
PrismML

Announcing Bonsai 27B: The First 27B-Class Model to Run on a Phone

Introducing Bonsai 2 27B: Near-Lossless Compression in a 9x Smaller Footprint
PrismML

Introducing Bonsai 2 27B: Near-Lossless Compression in a 9x Smaller Footprint