A generated title card reading Ternary Bonsai 2.5 27B, subtitled Near-FP16 tool calls in 5.93 GB, with three stat chips reading 5.93 GB ternary file, tool-calling average 77.2 versus 77.7 for FP16, and 262,144-token context, dated Prism ML, 24 November 2026.
Engineering & Research

Ternary Bonsai 2.5 27B: Near-FP16 Tool Calls in 5.93 GB

Author

jinhao.song

Date Published

Models in this article · 1View all models →
Back to all posts

Ternary Bonsai 2.5 27B is Prism ML's 24 November 2026 replacement for Ternary Bonsai 2 27B, and the release is easiest to understand through a number the announcement does not lead with. On DeepSWE v1.1, a long-horizon software benchmark, the September model scored 0.0 — not a weak score, an empty one. The new model scores 27.0. Both are ternary-weight builds of Qwen3.8-27B, both occupy 5.93 GB, and that is the point: the ceiling moved without the file growing.

AppWorld tells the same story from a different angle: 51.2 to 90.5 on multi-application API work, with whole-scenario completion climbing from 75% to 89.3% in Prism ML's own table. Against the full-precision base, tool calling now sits at 77.2 versus 77.7 — within half a point of FP16 while occupying roughly a ninth of the disk. Agentic coding is a different matter. At 54.2 against 60.5, that is 90% retention, not the near-parity the "same footprint, better agent" framing suggests.

Every figure above is Prism ML's, measured in thinking mode at xhigh effort and published on the model card. No independent agentic evaluation of 2.5 exists yet; the release is a day old, and the only third-party write-ups so far are arithmetic on the vendor's own numbers. What you can verify without trusting anyone is the packaging: the Hugging Face listing puts the PTQ1_0 build at 5.93 GB against a 53.8 GB FP16 reference, the parameter count at 27.36B — 24.35B language, 0.47B vision tower, 2.54B embeddings and LM head — the context window at 262,144 tokens, and the licence at Apache 2.0.

What changed inside the same file

The storage format did not change. Each weight is ternary g128: a value of −1, 0 or +1 with one FP16 scale shared across every 128 weights, held in a blockwise Hadamard-rotated basis with a 1024-wide block and the matching rotation applied to activations at runtime. That lands at 1.76 bits per weight. The architecture underneath is untouched Qwen3.8-27B: hybrid attention at roughly 75% linear and 25% full, SwiGLU blocks, RoPE, RMSNorm, sixty-four layers.

What moved is the post-training, and Prism ML describes it in the way labs describe tuning rather than in terms of data. The release note names three targets — agentic coding, multi-turn tool use and long-horizon task execution — and three symptoms it claims to have reduced: excessive reasoning, repetitive looping, and high turn counts. Read together with the scores, the diagnosis is behavioural. Bonsai 2 had not forgotten how to write code; it stopped finishing jobs that took more than a few steps, and AppWorld's collapse to 51.2 is what that looks like on a benchmark that grades entire scenarios rather than individual calls.

That also explains why the fix fits in the same file. Nothing about the compressed representation changed, so nothing about the memory budget changed. If you were running v2 on a 12 GB card, v2.5 drops into the same slot.

A headless-browser capture of Prism ML's announcement page for Ternary Bonsai 2.5 27B, dated November 24 2026, showing the paragraphs on agentic coding and multi-turn tool use and the first rows of the benchmark table: SWE-bench Verified 80.6, 60.8 and 75.6; DeepSWE v1.1 30.1, 0 and 27; Terminal-Bench 2.1 70.8, 52.8 and 60.1.

The benchmark table, read properly

Prism ML's card reports two things at once: individual benchmarks in thinking mode, and three category averages. Both are vendor numbers, and both are worth reading because they disagree about how good this model is.

• SWE-bench Verified — 75.6 for 2.5, 60.8 for Bonsai 2, 80.6 for the FP16 base

• DeepSWE v1.1 — 27.0 vs 0.0 vs 30.1, run through mini-swe-agent

• Terminal-Bench 2.1 — 60.1 vs 52.8 vs 70.8

• AppWorld — 90.5 vs 51.2 vs 93.2

• τ³-Bench — 73.9 vs 69.1 vs 72.8, the one place it beats full precision

• τ²-Bench — 82.0 vs 80.2 vs 80.6, also above the base

• Category averages — tool calling 77.2 vs 67.0 vs 77.7; agentic coding 54.2 vs 37.9 vs 60.5; general 82.12 vs 81.55 vs 84.32

The shape matters more than the average. Short, single-turn tool calls are effectively at parity; anything that requires staying coherent across a long session still costs you. Terminal-Bench is the widest remaining gap at 10.7 points, and DeepSWE, despite the recovery, is still 3.1 behind a base model that was itself not a strong DeepSWE performer. If your workload is a shell-loop agent that runs for twenty minutes, this is better than v2 by a wide margin and still not the same machine as FP16.

One comparison that looks available is not. Cross-lab DeepSWE numbers cannot be set against each other, because harnesses differ: Thinking Machines reported 42.2 on DeepSWE and 77.8 on SWE-bench Verified for the same full-precision Qwen3.8-27B that Prism ML scores at 30.1 and 80.6. So Bonsai 2.5's 27.0 says something real about Bonsai 2.5 versus Qwen3.8-27B on Prism's harness. It says nothing about how it ranks against another lab's model on the same benchmark name.

A generated single-column scoreboard for Ternary Bonsai 2.5 27B with six rows: shipped size 5.93 GB, 1.76 bits per weight, tool-calling average 77.2 against 77.7 for FP16, agentic coding average 54.2 against 60.5, AppWorld 90.5, and a 262,144-token context, footnoted as vendor-reported with no independent evaluation yet.

Where a 10 GB file still wins

The most useful comparison in the card is not against FP16 but against a conventional low-bit build of the same base. Prism ML lists a GSQ-RCO IQ3_XXS at 10.1 GB, and the two split the agentic tests:

• Agentic coding average — IQ3_XXS 55.5 vs Bonsai 2.5 54.2

• Terminal-Bench 2.1 — IQ3_XXS 66.3 vs Bonsai 2.5 60.1

• Image average — IQ3_XXS 84.73 vs Bonsai 2.5 83.66

• AppWorld — Bonsai 2.5 90.5 vs IQ3_XXS 86.1

• SWE-bench Verified — Bonsai 2.5 75.6 vs IQ3_XXS 73.2

Four extra gigabytes buy about 1.3 coding points and six Terminal-Bench points. Whether that is worth it depends entirely on whether your agent spends its time in a terminal; if it spends its time calling application APIs, the smaller ternary file is ahead and you should keep the memory. This is the kind of trade the "5.9 GB" headline hides, and it is the first thing to check before assuming smaller is better.

What running it actually takes

There are four packings and they are not interchangeable in practice. PTQ1_0 is the 5.93 GB build and the fastest on NVIDIA, but stock llama.cpp rejects it; it needs Prism ML's fork, with format and CPU support still under upstream review. PQ2_0 is around 7.2 GB and is the Metal and Apple Silicon route. Q2_0 is roughly 7.6 GB and runs on mainline llama.cpp from build b11556 onward — older builds load the file without complaint and produce garbage, so check llama-cli --version before blaming the model. TQ1_0 sits at 6.23 GB. The MTP variants, which carry the speculative draft head, add roughly 0.3 GB. The vision tower is a separate mmproj file of about 0.6 GB and is only loaded when you feed it an image.

Memory beyond the weights is where the 5.9 GB figure stops being the whole story. The FP16 KV cache runs at 64 KiB per token, which is about 6.3 GiB at a 100K context; the fork's BONSAI_KV4=1 option brings that to roughly 18 KiB per token. A community report on a 10 GB RTX 3080 measured about 9.5 GB in use with default settings, dropping to 7.8 GB with a single parallel slot — llama.cpp's default of four slots shares one cache per slot unless you tell it otherwise.

Default settings will also make it look worse than it is. The model wants temperature 1.0, top-p 0.95, top-k 20 and min-p 0 — llama.cpp ships min-p at 0.05, so pass it explicitly. Reasoning effort defaults to xhigh, which is the setting behind every benchmark above; medium is the realistic choice on a laptop, and low is documented as unsupported and behaves close to xhigh. Decode speed with the draft head is 291 tokens/s on an H100 with 3,200 tokens/s prefill, 204 on an RTX 4090, and about 30 on an Apple M5 Pro without it — the 300-tokens/s headline is a data-centre GPU number. There is no vLLM or SGLang path yet; this is a llama.cpp and MLX model, which means one user or a few, not a serving fleet.

A headless-browser capture of the prism-ml Ternary Bonsai 2.5 27B GGUF model card on Hugging Face, showing the apache-2.0 licence tag, the card text stating 1.76 bits per weight and 5.93 GB against 53.8 GB for FP16, the tool-calling and coding highlight bullets, and the GGUF size variants TQ1_0 at 5.99 GB and Q2_0 between 7.49 and 7.91 GB.

The base model is still on a hosted route

Bonsai 2.5 is weights-only. Prism ML publishes no hosted endpoint and no per-token price, so "using" it means downloading a file and owning the runtime. That is the right trade for the private-repository and document-review work the announcement targets, and the wrong one if you need an API behind an SLA this afternoon.

The base checkpoint is the bridge. Qwen3.8-27B is served on OrcaRouter's own infrastructure at $0.33 per million input tokens and $2.40 per million output, with the same 262K context and native tool calling, because the weights are open and there is no vendor rate to pass through. That makes a split deployment practical rather than theoretical: keep the 5.9 GB file for work that cannot leave the machine, and route the jobs where the 10.7-point Terminal-Bench gap actually bites — long terminal sessions, hard multi-step refactors — to the full-precision model. One key covers both, and a routing rule can send the hard cases up without changing the agent's code. OrcaRouter carries 200+ models behind that key with automatic failover if a provider degrades.

Who should download it today

If Bonsai 2 was the reason you concluded a 6 GB agent model was a demo, 2.5 is the version worth retesting, because the failure it fixes was the one that made the demo embarrassing: not knowing fewer facts, but failing to finish. The tool-calling average within half a point of FP16 is a genuine result at this size, and the AppWorld recovery is large enough that it is unlikely to be noise.

If your work is terminal-bound, wait. Terminal-Bench is where the compression still costs the most, a 10.1 GB conventional build beats it there, and no independent harness has confirmed any of this. And if you need vision at 5.9 GB, it is now the strongest option per byte — three points behind FP16, which is a smaller penalty than the coding gap. The honest summary is that the file did not get bigger, the model stopped failing the tasks it used to fail, and the remaining weakness moved to exactly where you would expect a 1.76-bit representation to hurt: sustained, precise, long-running execution.