Skip to content
New: Ask Ideabro — get answers sourced from our entire archive.Try it

A 27B coding agent now fits in 6 GB. Test it on your own tasks first

PrismML's Ternary Bonsai 2.5 squeezes a Qwen-based agent model into 5.9 GB. Its self-reported gains make local agents worth a serious look.

Ideabro Machine

By Ideabro Machine

Synthetic Correspondent

4 min read 0 reads 0 AI-generated
A 27B coding agent now fits in 6 GB. Test it on your own tasks first
Share

PrismML has released Ternary Bonsai 2.5 27B, a coding and tool-use model that fits in about 5.9 GB. The full-precision version of the model it is built on needs roughly 53.8 GB. Bonsai 2.5 starts from Qwen3.8 27B and stores its weights in a ternary format at about 1.76 bits each. The weights are on Hugging Face under Apache 2.0, and PrismML says the model runs on Nvidia and Intel GPUs through llama.cpp and on Macs, iPhones and iPads through MLX.

The headline is not just the size. Bonsai 2 already had the same architecture and footprint. This release is about behaviour: PrismML tuned it for agentic coding and multi-turn tool calling, and says it fixed the over-thinking and repetitive loops that made the earlier model hard to use as an agent.

What PrismML says changed

By PrismML's own numbers, the gains are large. Its average across agentic coding tests rose to 54.2 from 37.9 for Bonsai 2 27B. Its tool-calling average, measured on AppWorld and τ³-Bench, rose to 82.2 from 60.2. The company also reports about 291 tokens a second with multi-token prediction on a single Nvidia H100.

Treat those as claims, not settled facts. The figures come from the company, and secondary write-ups quote different benchmark mixes, which makes clean comparisons hard. Coverage also suggests the compressed model narrows the gap to its full-precision Qwen base on agentic work but does not close it on every test. That is the honest framing: a much smaller model that gets closer, not a free lunch.

Why a 6 GB agent model matters

Most agent products today send every step of a task to a hosted frontier model. That is fine for quality, but it gets expensive fast. Agents make many calls per task, re-read the same files and retry when tools fail. A model that fits in the memory of a recent laptop or phone changes the economics of the cheap, repetitive steps.

There are three practical draws.

Privacy. PrismML pitches the model for "private knowledge work", and that is the strongest case. Code, contracts and internal documents can stay on the machine. For regulated customers, local inference can be the difference between a pilot and a security review that never ends.

Cost and latency. Local tokens cost electricity, not an API bill. For loops that call a model dozens of times, such as linting, test triage, file search and small refactors, that adds up.

Offline and edge use. Field tools, on-device assistants and air-gapped setups all need a model that runs where the data is.

The catch is that extreme quantisation tends to show its weaknesses at the edges: long contexts, rare languages, unusual tool schemas and long chains of reasoning. Those are exactly the places agents get stuck.

How to test it before you trust it

If you build coding agents or internal assistants, this is worth an afternoon. Keep the test honest.

  1. Use your own tasks. Take 30 to 50 real tickets or workflows your agent already handles. Public benchmarks tell you little about your tool schemas and repo layout.
  2. Run it against your current model in the same harness. Same prompts, same tools, same time limit. Track task completion, tool-call errors and how often it loops or stalls.
  3. Measure on the hardware your users have. A score on an H100 says nothing about a 16 GB laptop. Check tokens per second and memory headroom with your real context lengths.
  4. Try it as a router, not a replacement. The likely win is a split setup: the local model handles cheap, frequent steps and hands hard planning or final review to a hosted model. Log where it escalates.
  5. Check the licence chain. Bonsai's weights are Apache 2.0, but confirm the terms of the Qwen base for your use before you ship it inside a product.

What to watch next

The first thing to watch is independent evaluation. Community runs on SWE-style coding tasks and tool-use suites will show quickly whether the self-reported jump holds up outside PrismML's setup.

The second is whether ternary and other very low-bit formats become a standard release path for open models. If labs start shipping models designed to be compressed, rather than compressing them afterwards, the gap between local and hosted agents could keep shrinking.

The third is tooling. Agents depend on reliable structured output and function calling. Watch how well llama.cpp, MLX and the popular agent frameworks support this model's tool-call format, because that is where a good small model often fails in practice.

For now, the sensible move is to treat Bonsai 2.5 as a strong candidate for the cheap half of your agent stack, and to prove it on your own work before you route anything important to it.

Sources

How this was made AI-generated

AI-generated. Drafted by AI and reviewed by a human editor before publishing.

Researched and written by Ideabro's AI newsroom from the sources listed at the end, and published automatically. Spot an error? Use the contact page and a human editor will correct it.

The brief and the plain-language version on this page are written with AI and reviewed by an editor. The story itself is the source of truth.

Read our AI policy

View as Markdown — for AI agents

Conversation0

Markdown links, **bold** and *italics* work.2000

Comments are reviewed before they appear. Sign in to skip the form.

No comments yet.

Start the conversation — the first reply sets the tone.