Ternary Bonsai 2.5 27B: Local Agentic AI11 min read2,287 words

Ternary Bonsai 2.5 27B: Local Agentic AI

See how Ternary Bonsai 2.5 27B improves local coding agents, tool use, speed and privacy while keeping a 5.9 GB footprint—and what teams should evaluate.

Ternary Bonsai 2.5 27Blocal AI modelsagentic codingon-device AIAI model compression
Ternary Bonsai 2.5 27B: Local Agentic AI

Ternary Bonsai 2.5 27B: What a Smaller Agentic Model Changes

A local AI assistant is only helpful if it can actually finish the job you give it. That often means more than producing a good-sounding reply. It needs to inspect a codebase, use tools, interpret what comes back, recover when something fails, and still keep the original task in mind. Every extra step is another chance to lose context - or to go off in the wrong direction.

PrismML's Ternary Bonsai 2.5 27B is aimed at that kind of multi-step work. The company says the update improves agentic coding, multi-turn tool use, and task execution, while keeping the same 5.9 GB footprint as the prior release. It's based on Qwen3.8 27B and targets local deployment on GPUs and Apple devices.

The real question isn't just whether it's smaller. It's whether that smaller model can be dependable, fast enough, and controllable enough for something you'd ship.

What changed in Ternary Bonsai 2.5 27B?

Ternary Bonsai 2.5 27B is an update to Ternary Bonsai 2 27B, not a whole new category of model. PrismML's focus is reliability over sequences of actions: picking a tool, using its output, deciding what to do next, and staying aligned with the user's goal until the task is done.

That matters because agent-style work can fail in ways simple Q&A doesn't catch. If the model gives you one wrong answer, you can correct it. But if it slips early - like making a mistake in the first tool call - later steps may compound the error. A coding agent might search the wrong directory, misread a test failure, and then propose a patch that still doesn't fix the underlying issue.

PrismML says version 2.5 improves coding, multi-turn tool use, and multi-step execution over version 2. It also claims the new model finishes tasks in fewer turns, uses fewer tokens, and returns results faster and more accurately. The announcement also mentions efforts to reduce excessive reasoning and repetitive loops, which can slow an agent down, increase runtime cost, and make behavior harder to supervise.

Why multi-turn reliability is the real upgrade

For an agent, "good" doesn't just mean each individual answer is strong. It means the system reaches a correct result after a chain of decisions. A model can look impressive on isolated coding prompts and still struggle when it has to read files, run commands, handle errors, and revise its approach.

Cutting unnecessary turns can lower latency and operational cost. Fewer tokens usually means less generation work, and fewer wrong actions means less time spent debugging the agent's behavior. But speed alone isn't the win - an agent that skips needed verification might finish faster, while still producing the wrong outcome.

What the announcement does - and does not - settle

PrismML reports that 2.5 narrows the gap to the full-precision Qwen3.8 27B base model while keeping a compact footprint. The company also describes it as the strongest model for agentic workloads at this memory size. Those are vendor statements, and the announcement points to a whitepaper for evaluation details.

If you're deciding what to build with it, treat the release as a candidate for testing, not as proof that every agent workflow will improve. Results depend on the specific task, tools, prompts, hardware, and evaluation method. Even within "coding," a model that does well on repository-style work may behave differently on long collections of private documents.

What does the 5.9 GB footprint make possible?

The 5.9 GB footprint is the main advantage PrismML is leaning on: it makes local inference more practical on hardware that can't comfortably handle much larger models. In practice, that can widen the options for desktop applications, developer tools, and some on-device use cases - especially where sending every prompt and file to a hosted service is either undesirable or just not feasible.

Still, you shouldn't treat 5.9 GB as "the app fits in 5.9 GB." Model runtime involves overhead: context data, the operating system, and - if you're running an agent - the tooling and surrounding software. Peak memory can vary by configuration and workload. Teams should measure peak usage on the actual target device, rather than assuming the model's footprint is the whole story.

Where the model can run

PrismML says Ternary Bonsai 2.5 27B runs on NVIDIA and Intel GPUs via llama.cpp, and on Apple devices (Mac, iPhone, iPad) via MLX. That platform coverage matters because the deployment target can determine whether local models are useful at all. A workflow that's fine on a workstation may be too slow, too power-hungry, or too memory-heavy on a phone.

The release announcement reports generation speeds of 291 tokens per second with MTP on a single NVIDIA H100, and 204 tokens per second with MTP on an RTX 4090. It also reports prompt-processing speeds of 3,200 tokens per second on the H100 and roughly 3,060 tokens per second on the RTX 4090. These are vendor-reported results, not guarantees that you'll see the same numbers in every setup.

Where local deployment changes the privacy story

Keeping inference on a user's device can reduce the need to send private code, customer documents, or internal analysis to a remote model provider. For companies working with confidential data - or operating under privacy requirements like the GDPR - that can be a meaningful architectural choice. But local execution isn't, by itself, a full privacy or compliance plan.

A local application can still leak information through logs, backups, telemetry, extensions, or poorly controlled tool access. Teams need to understand where data moves, what the model can read and write, and whether users can inspect or undo actions. Going local shifts the trust boundary - it doesn't eliminate the need to design one.

How should teams interpret the performance claims?

PrismML says it evaluated Ternary Bonsai 2.5 27B against Ternary Bonsai 2 27B and the full-precision Qwen3.8 27B base model. The announcement focuses on improvements in agentic execution, coding, and multi-turn tool use, and points readers to a whitepaper for the full evaluation and benchmarking details.

That comparison set is helpful because it asks two practical things: does the compressed model improve on its predecessor, and how close does it get to the full-precision baseline? But benchmarks only help if the tasks match what your product actually needs. A generic coding score doesn't tell you whether it follows your repo conventions, respects your tool permission boundaries, or produces changes that a reviewer can safely audit.

Build a test around the actual workflow

Before adopting the model, define a small evaluation set from tasks that match your product. Include both easy and hard cases: ambiguous requests, missing files, failing commands, long context, malformed tool output, and requests that should be refused or escalated. Run the same set against your current model or system so you have a real baseline.

Don't only track whether the final answer looks "correct." For an agent, you also want measures like:

  • Task completion: Did it produce the required result, or just a plausible explanation?
  • Tool correctness: Did it call the right tool with valid arguments and use the response correctly?
  • Recovery: If a step failed, did it diagnose the issue or repeat the same mistake?
  • Review burden: How much human fixing was needed before the output was usable?
  • Efficiency: How many tokens, tool calls, and seconds did a successful task take?
  • Safety: Did it stay within the files, permissions, and actions the app allows?

These metrics reveal trade-offs that an average benchmark score hides. A model may be faster on straightforward cases while falling apart on edge cases. And if your app touches sensitive files, one unsafe action can matter more than a small improvement in average completion time.

Validate speed in your own environment

The published throughput numbers are a useful reference point, but generation speed isn't the same thing as end-to-end task time. Prompt processing, model loading, tool execution, context length, and UI delays all affect what a person experiences. The announcement includes MTP in the reported generation figures, and it doesn't provide enough detail to assume you'll get identical results across different runtime setups and configurations.

Measure cold starts as well as sustained performance. Test realistic prompt lengths, concurrent workloads, and the device mix you plan to support. For a desktop coding assistant, a model that loads too slowly can frustrate users even if it's fast once running. For a batch document workflow, startup time may matter less than stable throughput and predictable memory use.

Where can local agentic AI add business value?

The best fit is when the work is repetitive enough to benefit from automation, sensitive enough that keeping things local matters, and structured enough that your team can define what "good" looks like. PrismML points to coding assistants for private repositories, document tools that produce reviewable summaries, and desktop assistants that handle recurring analysis.

Those are credible use cases because they slot into an existing workflow. A developer might ask an agent to investigate an issue without copying a repository into a separate service. A document tool can draft a summary for review while the source files stay on the device. An analyst can automate routine steps without granting a cloud service broad access to internal material.

Start with bounded actions

A practical first release should give the model a narrow job and limited permissions. For example, let a coding assistant inspect files and propose a patch before it's allowed to write changes or run commands. Let a document assistant draft a summary, but require a person to approve anything that gets distributed. The goal isn't to keep humans in every loop forever - it's to learn where supervision prevents expensive mistakes.

Often, a staged workflow works better than an "all-or-nothing" agent:

  1. Read: Allow access to a defined set of files or records.
  2. Plan: Ask the model to identify steps before taking consequential actions.
  3. Act: Permit only the tools needed for that task.
  4. Verify: Run tests, check sources, or validate output against explicit criteria.
  5. Review: Show the user what changed and make rollback straightforward.

This structure gives you useful feedback. If failures cluster around a particular tool or task type, you can adjust the interface, permissions, prompts, or evaluation set instead of assuming the model itself must be replaced.

Make the business case with total cost

Local inference can reduce reliance on hosted APIs and give users more control over their data - but it shifts some costs to your product team. You may need to support different hardware, package model weights, manage updates, optimize inference, and explain device requirements to customers. Power use and battery impact can matter too, especially on mobile.

So the comparison shouldn't just be "local model cost vs API price." Include engineering and support effort, latency, privacy requirements, hardware availability, and the cost of human review. A compact model is most attractive when it makes the product viable on devices customers already have. If users need new hardware - or if the local model produces substantially more errors - the savings may disappear quickly.

Conclusion: test the whole workflow

Ternary Bonsai 2.5 27B targets a practical problem: making multi-step AI assistance more capable without giving up the compact footprint that enables local deployment. PrismML reports improvements in agentic coding, tool use, task efficiency, and performance, along with high throughput on an H100 and RTX 4090.

For product teams, those claims are a reason to run a focused evaluation - not a reason to assume your workflow will automatically improve. Test complete workflows on your target hardware, measure recovery and review effort, and verify that your privacy controls cover the surrounding application as well as the model. If it reliably handles bounded work where data control or local availability matters, the smaller footprint can turn into a real product advantage.

Frequently Asked Questions

Ternary Bonsai 2.5 27B is PrismML’s compact model for agentic coding, multi-turn tool use and multi-step tasks. It is based on Qwen3.8 27B and retains the previous release’s stated 5.9 GB footprint. PrismML says it improves on Ternary Bonsai 2 27B in execution quality and efficiency.
PrismML says the model runs on NVIDIA and Intel GPUs through llama.cpp and on Apple devices, including Mac, iPhone and iPad, through MLX. Actual performance and memory requirements depend on the device, runtime, configuration and workload, so teams should test on the hardware they intend to support.
PrismML says the model weights are available under the Apache 2.0 License. Teams should still review the license terms and the requirements of their intended distribution or commercial use, as well as any separate terms that apply to the runtime, application or other components in their stack.
No. Local inference can reduce the need to send prompts and files to a remote model service, but an application may still expose data through logs, telemetry, backups or connected tools. Privacy depends on the full system: data access, retention, permissions, user controls and the way the product handles outputs.

Related articles