
Unlocking PrismML Ternary Bonsai 2.5: A 27B Coding Agent That Fits on Your Laptop
The most useful model of the week might also be the smallest. On Monday, November 24, PrismML released Ternary Bonsai 2.5 27B — an agentic release of its Ternary Bonsai line that takes Qwen3.8-27B, rebuilds it with ternary weights, and ships a 27-billion-parameter coding agent as a 5.93 GB file. The full-precision model is 53.8 GB. The Bonsai version is one-ninth of that, free under Apache 2.0, and — this is the part that matters — it keeps 94% of the full model's coding score while doing it.
This is the local-agent story of the week, and it lands in a week that has been proving the local-agent story all along. On Sunday we covered Inkling 2 Mini, the Thinking Machines model that runs 20 agents on one MacBook. Bonsai 2.5 is the same idea from the opposite direction: instead of designing a small model to run locally, take a big model and compress it until it fits. Both roads end at the same place — a capable coding agent that runs on your own machine, with your code never leaving it.
What ternary actually means
A normal model stores each weight as a 16-bit floating-point number. Bonsai 2.5 stores each weight as one of three values: -1, 0, or +1. That is 1.76 bits per weight in PrismML's accounting, and it is why a 27B model fits in under 6 GB. The compression is not a trick of packaging — it is a different way of representing the model itself — and the question every compression scheme has to answer is the same one: how much capability did you lose?
The answer, on PrismML's own numbers, is: much less than last time. Bonsai 2, the previous version from September, scored 60.8 on SWE-bench Verified. Bonsai 2.5 scores 75.6 — and the full-precision Qwen3.8 27B it was compressed from scores 80.6. That is 94% of full precision, up from 75% in one generation. The compression cost is real, and the draft does not hide it, but it has shrunk from a deal-breaker to a rounding error on the headline benchmark.
The scores — PrismML's own, with the weak spot included
All of the numbers below are PrismML's own, and no independent evaluation exists yet, so the draft says so. Across the three agentic coding benchmarks PrismML highlights, Bonsai 2.5 averages 54.2, up from 37.9 for Bonsai 2 — SWE-bench Verified 75.6 (from 60.8), DeepSWE 27.0 (from 0 — the previous version could not do it at all), and Terminal-Bench 2.1 at 60.1 (from 52.8).
The tool-calling numbers are, if anything, stronger. Across its tool-use benchmarks, Bonsai 2.5 averages 82.2, up from 60.2 for Bonsai 2, with AppWorld jumping from 51.2 to 90.5. On the five-benchmark tool-calling set the company reports — tau2, tau3, BFCL v3 and v4, and AppWorld — the average is 77.2 against 77.7 for the full-precision model: essentially full precision on tool use, the exact capability an agent lives or dies by.
And the weak spot, because a draft that hides it is not an honest one: LiveCodeBench v6 dipped slightly, from 83.8 to 83.0. It is a small dip on a benchmark about writing code from scratch rather than working inside a repository, and it is the one place where the compression cost shows up plainly. Include it, because it is the number that makes the rest of the table believable.
On speed, PrismML reports 291 tokens per second with multi-token prediction on a single H100, processing a 2,000-token prompt at 3,200 tokens per second. The context window is 262K tokens — long enough for a real codebase, not just a single file.
The setup catch: pick the right file, or get nonsense
Here is the part that will save someone an afternoon of confusion. Bonsai 2.5 ships in several files, and they are not interchangeable:
- PTQ1_0 — the headline 5.93 GB file — needs PrismML's own fork of llama.cpp. Load it in stock llama.cpp and it will not work.
- PQ2_0 — about 7.25 GB — also needs the fork.
- Q2_0 — 7.67 GB — is the one that runs on stock llama.cpp, build b11556 or later. Older engines will load it silently and produce nonsense, with no error to tell you what went wrong.
- The MLX package — about 8.9 GB — is the Apple Silicon route, for Mac, iPhone and iPad, with text and image workflows.
The model runs on NVIDIA and Intel GPUs through llama.cpp and on Apple devices through MLX. That is a genuinely wide footprint — a 27B-class agent on a MacBook, a Windows laptop, or a single H100 — but only if you download the file that matches your engine. The smallest file is not the easiest file, and the draft should say so in bold, because the failure mode is silent garbage output, not a clean error message.
There is a second, quieter caveat that applies to every compressed model, and it is worth stating plainly: a small file is not the same as small memory. Budget memory beyond the 5.9 GB for the runtime, the context window, and vision inputs. A 262K context window is a large one, and filling it costs RAM that the file size does not show. The model fits on a laptop; whether your laptop can hold the model and a large codebase in context at the same time is a question to test, not assume.
Bonsai 2.5 vs the week's other models: the laptop end of the spectrum
Put Bonsai 2.5 next to the other two posts in Friday's batch and the week's spectrum snaps into focus. Friday's first post, ERNIE 5.5 Flash Preview, is a 280B flagship whose minimum hardware is a 288 GB Blackwell GPU — open weights, data-centre reality. Xing4.1-Preview, from Wednesday, is the same story from a different angle: 285B, 1M context, Apache 2.0, and no benchmark scores at all. Bonsai 2.5 is the opposite end of that spectrum — a 27B-class model at 5.93 GB that runs on the machine you already own.
And the comparison that matters most is the one from Sunday. Inkling 2 Mini proved that 20 agents can run on one MacBook, because Thinking Machines designed a small model for local hardware. Bonsai 2.5 proves the same thing from the other side: take a big model, compress it to a tenth of its size, and keep 94% of its coding ability. Two different engineering answers, one conclusion — the capable local agent is no longer a demo, it is a download.
The trade between the two is real and worth stating. Inkling 2 Mini was designed small; Bonsai 2.5 was compressed small, and it still carries 6% of the capability cost of that compression on SWE-bench. What Bonsai buys with that 6% is a base model — Qwen3.8 — with a much wider ecosystem around it: llama.cpp, MLX, GGUF tooling, and a community that already knows how to run it. Designed-small versus compressed-big is now a genuine choice, and this week the user has both.
Bottom line
PrismML Ternary Bonsai 2.5 27B is live now, free under Apache 2.0: Qwen3.8-27B rebuilt with ternary weights at 1.76 bits per weight, 5.93 GB against the full model's 53.8 GB, 262K context, 291 tokens per second on one H100. On PrismML's own numbers it scores 75.6 on SWE-bench Verified — 94% of the full-precision base's 80.6, up from 60.8 for Bonsai 2 — with AppWorld tool use jumping from 51.2 to 90.5 and only a small LiveCodeBench dip, 83.8 to 83.0, to show for the compression. The catch is the file you download: the 5.93 GB build needs PrismML's llama.cpp fork, the stock-llama.cpp build is 7.67 GB and needs build b11556 or later, and older engines fail silently. If you want a private coding agent that runs on your own machine, download the Q2_0 file, check your llama.cpp version first, and try it on a real repository this weekend — that is the test that decides whether 94% is enough for your work.
The editorial team behind AI Agents Force — publishing deep dives on AI agents, agentic workflows, autonomous systems, and the tools shaping the future of intelligent automation.
Browse all articles →Related Articles

Unlocking DaisyRose-27B: 1,200 Tasks and Pure RL Doubled Qwen3.8's Terminal-Bench Score
Unlocking Edge0-145B: The 145B Model That Claims to Run on Your Laptop — Read the Fine Print First
