Ternary Bonsai 2.5 27B: 75.6% SWE-bench in 5.9 GB
PrismML's Ternary Bonsai 2.5 27B claims 75.6% on SWE-bench Verified in a 5.9 GB Apache 2.0 model. A local coding agent on one GPU is now worth testing.
PrismML released Ternary Bonsai 2.5 27B today, and the number on the label is hard to ignore: 75.6% on SWE-bench Verified from a model that takes 5.9 GB. Per PrismML's release post, the weights are out now under Apache 2.0. If that score holds up on your code, a capable coding agent fits on a single consumer GPU or a Mac. That changes the math on what you pay per token for routine dev work.
What actually happened with Bonsai 2.5 27B
Bonsai 2.5 is an upgrade to Ternary Bonsai 2 27B, which shipped in September. It's a compressed build of Qwen3.8 27B, and it keeps the same 5.9 GB footprint. PrismML says the update targets agentic coding, multi-turn tool use and multi-step tasks, and fixes the previous model's habit of overthinking and looping.
The first-party numbers, Bonsai 2 → Bonsai 2.5 (full-precision Qwen3.8 27B in brackets):
- SWE-bench Verified: 60.8 → 75.6 (80.6)
- Terminal-Bench 2.1: 52.8 → 60.1 (70.8)
- AppWorld: 51.2 → 90.5 (93.2)
- τ³-Bench: 69.1 → 73.9 (72.8)
- LiveCodeBench v6: 83.8 → 83.0 (87.6)
Speed, per PrismML: 204 tokens/s generation on an RTX 4090 and 291 tokens/s on an H100, both with multi-token prediction. It runs on NVIDIA and Intel GPUs through llama.cpp and on Mac, iPhone and iPad through MLX. Weights are on Hugging Face, with code in the Bonsai-demo repo.
Two caveats we won't skip. These are PrismML's own evaluations, and the post doesn't name the SWE-bench harness (details are in a whitepaper). And the compressed model still gives up about five points to its full-precision base on SWE-bench and about ten on Terminal-Bench. "Close" is not "equal."
Why it matters for your business
Most of the coding-agent work in a small shop is unglamorous: write the migration, fix the failing test, rename the field across 40 files. You don't need a frontier model for that, and you don't need to ship your codebase to anyone's API to get it done.
A 5.9 GB model at 200 tokens/s on one consumer GPU means you can run that tier locally, keep source code in the building, and send only the hard problems to a paid model. Apache 2.0 means no revenue cap and no usage clause to read twice.
Don't swap anything on a vendor table. Pick 20 real tickets from your backlog, run them through Bonsai 2.5 and through what you use now, and count how many merge without edits. That's your benchmark.
Key takeaways
- PrismML's Ternary Bonsai 2.5 27B claims 75.6% on SWE-bench Verified in a 5.9 GB model
- Weights are Apache 2.0, built on Qwen3.8 27B, and run via llama.cpp or MLX
- PrismML reports 204 tokens/s on an RTX 4090 with multi-token prediction
- All benchmarks are first-party; it still trails its full-precision base by about five SWE-bench points
- Test it on 20 real tickets from your backlog before routing any work to it
Paying API prices for routine code changes? We set up model routing that keeps cheap, repeatable work on hardware you own and sends only the hard problems to paid models. We measure both on your tickets, not on a leaderboard. See how we build AI dev pipelines or run the numbers on your current spend.
Sources: PrismML: Ternary Bonsai 2.5 27B, Hugging Face: Bonsai 2.5 27B collection.
- #open-weights
- #local-llm
- #coding-agents
- #quantization
- #prismml
Tommy Rush — Founder, Rush Commerce
Operator turned builder. 15+ years running operations — now shipping the systems businesses run on. More
Get The Rush Report weekly — one email, zero fluff.
Keep reading
Microsoft Code Red after Exchange Online outage: memos
Microsoft declared a Code Red after its 24-hour Exchange Online outage. The memos show 11,000 messages in 11 Teams chats. Fix your incident process first.
Read itAI code review report: 47% let agents check their own code
LeadDev's AI Code Review Report 2026: 47% let coding agents review their own code and only 14% have clear standards. Put a human gate on risky changes.
Read it