PrismML's coding agent got 43% better in about ten weeks. The file it ships in stayed exactly the same size.
On November 24, 2026,1 PrismML released Ternary Bonsai 2.5 27B. The company reports it averages 54.2 across SWE-bench Verified, DeepSWE v1.1 and Terminal-Bench 2.1. Its September predecessor, Ternary Bonsai 2 27B, averaged 37.9 on the same tests2.
Both models hold 27 billion1 parameters. Both download as a 5.93 GB3 file, according to PrismML's model card. The full-precision Qwen3.8 27B4 they come from weighs 53.8 GB. Same size, same base, a far better agent.
PrismML's table also shows the larger parent still ahead on every coding test it lists. For anyone paying per token for routine agent work, the gain still matters, because it came from training.
Fixed bytes, retrained behavior
Ternary weights take only three values, written {-1, 0, +1}. Three equiprobable values carry about 1.585 bits of information5, since 2 to the 1.585th power is roughly 3. PrismML adds a 16-bit1 scale for each group of 128 weights, which puts the model at 1.76 bits per weight, its documentation says. Standard FP16 weights use 16 bits each6.
| Download sizePrismML model card · Ternary Bonsai 2.5 27B | 5.93 GB3 |
|---|---|
| Compression vs FP1653.8 GB parent over 5.93 GB file | 9.07× |
| Max contextPrismML docs · KV cache grows per token | 262K |
| Review cost per failed runKoda illustration · 15 min at $60/hr | $15 |
Divide 16 by 1.76 and you get about 9.1.61 The file sizes agree: 53.8 GB4 over 5.93 GB3 is 9.07. That ninefold cut is why PrismML can pitch a 27-billion-parameter agent for personal devices.
The release splits into two buckets. One holds what PrismML froze: the ternary format and the 5.93 GB3 file. The other holds what moved, which is behavior over long tasks. PrismML's docs say Bonsai 2.5 recovers when a step fails and keeps the objective in view across many tool calls.
It also loops and over-thinks less than its predecessor did, and it finishes in fewer turns, according to PrismML. The September release shows why that second bucket matters. PrismML said on September 17 that Bonsai 2 kept 98.2% of its parent's aggregate benchmark score1. On agentic coding it kept 63%, the November model card shows. On DeepSWE it scored 0.0.
So the broad average hid a broken agent. Size doesn't predict the agent score either. PrismML compares Bonsai 2.5 with GSQ-RCO IQ3_XXS, another low-bit build of the same base that is 1.7 times larger. Bonsai 2.5 leads it on tool calling, 77.2 to 75.3,3 and trails on coding, 54.2 to 55.5.1
In the compressed tier, the file sets a ceiling. Training decides how close an agent gets to it.
Where the last 6.3 points cost money
Think of the local model as a sharp new hire on the night shift. It clears the routine tickets and leaves the hard ones in a tray for the senior engineer at 9 a.m. For your system, the question is how many tickets hit the tray and what each one costs to clear.
Start with where the gaps are. On five tool-calling benchmarks, PrismML reports 77.2 for Bonsai 2.5 against 77.7 for FP16,1 a 0.5-point gap. On SWE-bench Verified, which grades patches for real GitHub issues, it is 75.6 against 80.6.3 Terminal-Bench 2.1 grades shell work, and there the scores are 60.1 against 70.8,7 a gap of 10.7 points.
Inside an agent loop, those gaps compound. Take a 20-step task where each step works 95% of the time: the whole run succeeds about 36% of the time, since 0.95 to the 20th power is 0.358. Lift each step to 97% and the run succeeds about 54% of the time. PrismML does not publish per-step rates, so read those numbers as an illustration of the shape, not a measurement.
Now put a dollar figure on the tray. Say a failed run eats 15 minutes of review from an engineer who costs $60 an hour. That's $15 per failure. If the local tier fails 10 more runs per hundred than your frontier API, the extra review costs $150 per hundred runs.
The local tier pays off when the API spend it removes on those hundred runs is more than that $150. For high-volume work like test scaffolding or code search, that bar can be low. For a rare migration touching 40 files, one extra failure can wipe out the savings.
The system that wins this math has three steps. Step one: send every routine task to the local model first. Step two: run your tests and linter on its output before anyone looks at it. Step three: escalate to a frontier API after two failed local attempts, and log why.
We think step two carries most of the value. A test suite turns a vague benchmark gap into a pass-or-fail count on your own code. PrismML has published no dollar cost per successful task, so that count is what settles the trade for your repo.
Local coding agents may near parity in 2027
PrismML has shipped this line on a steady clock. 9to5Mac reported the first Bonsai 27B on July 14, 2026. Bonsai 2 followed on September 17 and Bonsai 2.5 on November 24, roughly nine to ten weeks apart.
Between the last two releases, agentic coding retention went from 63% to 90% of the FP16 parent. The remaining gap is 6.3 points, since 60.5 minus 54.2 is 6.3. If the next release closes half of that, the average lands near 57.4, about 95% of the parent. On the same clock, that release would arrive around late January 2027.
Two caveats limit that projection: PrismML has not released third-party replication, and it has not released confidence intervals. An independent run of the public weights on SWE-bench Verified would settle the headline number.
For builders, the bet is lopsided. Trying a local tier costs a 5.93 GB1 download under an Apache 2.0 license and a day of an engineer's time. Skipping it risks paying per-token prices for the routine share of agent work while competitors run that share on hardware they already own.
Over five years, that changes how teams plan coding-agent spend. Today a team picks one model and pays its meter. If compressed models keep closing a few points every two months, the plan becomes a routing table, and the frontier API becomes the specialist you call for hard cases. That counterpositions the per-token vendors, because their meter is exactly what a free local tier removes.
Benchmark Bonsai 2.5 on your own repo
First, pick 20 closed issues from your own repository. Each needs a test that failed before the fix and passed after it. That set is your private benchmark, and it beats any public score for your decision.
Then download the weights from Hugging Face at prism-ml/Ternary-Bonsai-2.5-27B-GGUF. GGUF is the single-file format that llama.cpp, the open-source local runtime, loads. PrismML's docs say to pass --min-p 0 explicitly in llama.cpp and note that low reasoning effort is not supported. Mac users have an MLX build at prism-ml/Ternary-Bonsai-2.5-27B-mlx-2bit.
Next, plan memory above the 5.93 GB3 file. The KV cache, the memory a model uses to hold its context, grows with every token. The model accepts up to 262K tokens, so start at a much shorter context and raise it when a task needs more.
Then reset each issue to the commit before its fix and hand the agent the issue text. Let it edit, then run the tests. Record two numbers per run: tests passed or failed, and minutes taken. Add a note on whether you would merge the patch.
After that, run the same 20 issues through your current frontier API with the same harness. Divide each tier's total cost, review time included, by its merged patches. That cost per accepted change is the one number that decides routing.
Expect breakage on the first pass. Local agents will throw malformed tool calls or loop on some issues, and each one you log becomes a routing rule. Set the escalation line at two failed local attempts, then send the issue up.
Keep the 20 issues and the script. PrismML has shipped a new Bonsai 27B roughly every two months since July, so rerun the set on each release and move the escalation line when the numbers move.
Practise it step by step: Design an AI-Assisted Workflow
The bottom line
The file stayed fixed. Training moved the agent.
Bonsai 2.5 shows that compressed models can gain real agent skill between releases while their footprint stays put. The parent still leads on every coding test, so the frontier API keeps a seat for hard cases. Our advice is to measure cost per accepted change on your own issues and let that number set the escalation line. Keep the harness, rerun it on each release, and move the line when the scores move.
