What is Ternary Bonsai 2.5 27B?
Ternary Bonsai 2.5 27B is PrismML's second ternary build of Alibaba's Qwen3.8-27B, released on 24 November 2026 under Apache 2.0. The architecture and the Bonsai 2 weight format are unchanged: every weight is -1, 0 or +1, with one FP16 scale for each group of 128 weights, which PrismML counts as 1.76 bits per weight. The new training targets agent work: long chains of tool calls, recovery after a failed step, and fewer reasoning loops.
The smallest GGUF file (PTQ1_0) is 5.99 GB, against 5.95 GB for Bonsai 2 27B and 53.8 GB for the FP16 model. PQ2_0 is 7.25 GB and Q2_0 7.67 GB; versions with a multi-token prediction (MTP) draft head add about 0.24 GB, and an optional 0.63 GB vision projector handles images. Context is 262,144 tokens. The GGUF repository logged 659,285 downloads within a week of release.
Only the Q2_0 file runs on stock llama.cpp, from release b11556 onward; PTQ1_0 and PQ2_0 need PrismML's fork. A text-only MLX build covers Apple devices.
Is Ternary Bonsai 2.5 27B worth it?
On PrismML's own numbers, Bonsai 2.5 closes most of the gap that made Bonsai 2 a poor fit for coding agents. Across Terminal-Bench 2.1, SWE-bench Verified and DeepSWE it averages 54.2, against 37.9 for Bonsai 2 and 60.5 for the FP16 Qwen3.8-27B. DeepSWE shows the change best: Bonsai 2 solved no tasks, and the new model scores 27.0 against FP16's 30.1. SWE-bench Verified rises from 60.8 to 75.6 (FP16: 80.6). Terminal-Bench 2.1 stays the weak spot at 60.1 against 70.8.
Tool calling is now level with the full model. Over five benchmarks Bonsai 2.5 averages 77.2, against 77.7 for FP16 and 67.0 for Bonsai 2, and on AppWorld, where an agent writes code against the APIs of nine everyday apps, it climbs from 51.2 to 90.5 (FP16: 93.2). The press release quotes an average of 82.2 against 60.2, but that uses only AppWorld and τ³-Bench, the two tests that moved most, so the five-benchmark figure is the fairer one. PrismML ran every test itself, in thinking mode at the xhigh reasoning effort.
PrismML also ran ordinary low-bit builds of the same model through the same harness. GSQ-RCO's IQ3_XXS, at 10.1 GB, edges Bonsai 2.5 on coding (55.5 against 54.2) and trails on tool calling (75.3 against 77.2); Unsloth's 7.6 GB UD-IQ2_XS manages 47.8 on coding. A card that holds Unsloth's 16.56 GB UD-Q4_K_M build of Qwen3.8-27B with room for context still gets the better model, a point several commenters made in the Hacker News launch thread (544 points, 179 comments). Bonsai 2.5 is for the 8 GB to 12 GB cards where that build does not fit.
Not every score went up. Against Bonsai 2, the instruction-following average (IFBench and IFEval) fell from 82.55 to 80.90 and AIME26 from 95.8 to 94.2. PrismML's whitepaper says it has not yet measured agent workloads that run for hours across many context windows. One Hacker News commenter's private long-horizon test on a Mac fits that picture: both Bonsai versions passed 5 of 8 tasks, with 2.5 taking 17% fewer steps and 76 minutes rather than 107. Users on the Hugging Face page also report long thinking at the default xhigh effort, and the low setting is not supported, so medium is the only shorter option.
With the MTP draft head, PrismML measures 204 tokens a second on an RTX 4090 and 312 on an RTX 5090, but the 312 and the headline 2.3 to 3.0 times gain over Bonsai 2's launch day both rely on drafting kernels still in testing. Stock llama.cpp needs b11556 or newer for Q2_0, and the model card warns that older builds load the file without complaint and produce garbage. On an H200, stock llama.cpp decodes Q2_0 at 109 tokens a second against 150 on PrismML's runtime.
Where it earns its place
A developer whose laptop has an 8 GB GPU
Run a coding agent on a private repository with no cloud bill
Serve the PTQ1_0 MTP file from PrismML's llama.cpp fork with -np 1 and a 4-bit KV cache. One user with an RTX 5060 laptop GPU reported 75 of 78 tries passed across 26 small coding projects at 70.3 tokens a second, with a 54,016-token context, using a development build of their own test harness.
A platform team that standardises on stock llama.cpp
Add a capable tool-calling model without maintaining a fork
Deploy the 7.67 GB Q2_0 file on llama.cpp b11556 or newer, and check the version first, since older builds produce garbage without an error. Expect lower speed: on an H200 PrismML measured 109 tokens a second on stock llama.cpp against 150 on its own runtime.
A product team building a desktop assistant that calls internal APIs
Handle multi-step tool calls on customers' own machines so their data stays local
PrismML reports 90.5 on AppWorld and 73.9 on τ³-Bench, against 93.2 and 72.8 for FP16. Plan for 6 to 8 GB of GPU memory before the KV cache, and set reasoning effort to medium to keep replies short.
Before you commit
- Setup
- Download a release of PrismML-Eng/llama.cpp and the PTQ1_0 GGUF (NVIDIA) or PQ2_0 (Apple Metal), then run llama-cli or llama-server with -ngl 99, --min-p 0 and an output cap of about 16,384 tokens so the thinking trace can finish. PrismML-Eng/Bonsai-demo holds the tested commands and the MTP presets.
- Integrations
- llama.cpp (CUDA, Metal, CPU, SYCL) through PrismML's fork, stock llama.cpp b11556 or newer for Q2_0, an OpenAI-compatible llama-server, a text-only MLX build for Apple devices, and MTP presets for CUDA, Metal, SYCL and Hexagon.
- Data and privacy
- Apache 2.0, following the Qwen3.8-27B base, with no revenue cap or use restrictions beyond the licence. Run locally, prompts and files stay on the machine.
- Cost at scale
- Free on hardware you own. One RTX 3080 10 GB owner fitted the PTQ1_0 MTP file with a 96K context in about 9.5 GB, and another saw total GPU memory drop from about 9.5 GB to 7.8 GB after adding -np 1. PrismML measures about 300 tokens a second with MTP on an H200 or B200, using kernels still in testing.
- Limits
- 262,144-token context, though 8 GB to 10 GB cards fit roughly 54K to 96K with a quantised KV cache. Reasoning effort is xhigh or medium only; override llama.cpp's default min_p of 0.05; automatic server parallelism opens four slots that can exhaust video memory; multi-hour agent workloads are not yet measured.
What’s good
- Tool-calling average of 77.2 against 77.7 for FP16 (self-reported)
- Agentic coding up from 37.9 to 54.2 over Bonsai 2 at the same size
- Q2_0 file runs on stock llama.cpp b11556 and newer
- Apache 2.0, with a 262,144-token context and image input
What’s not
- All benchmarks run by PrismML
- Terminal-Bench 2.1 at 60.1 against 70.8 for FP16
- Smallest and fastest files need PrismML's llama.cpp fork
- Thinks at length at the default xhigh effort; low effort is not supported
Best for
Developers who want a local coding or tool-calling agent on an 8 GB to 12 GB GPU or a small-memory Mac, where a 4-bit Qwen3.8-27B will not fit with useful context.
Ternary Bonsai 2.5 27B alternatives
Where it fits in the AI stack
Ternary Bonsai 2.5 27B: common questions
- Is Ternary Bonsai 2.5 27B worth it?
- Bonsai 2.5 turns a 6 GB file into a credible local coding agent, and it is the 27B to run on a card too small for a 4-bit Qwen3.8-27B. We rate it 4.2 out of 5.
- How much does Ternary Bonsai 2.5 27B cost?
- Free under Apache 2.0.
- What are the downsides of Ternary Bonsai 2.5 27B?
- All benchmarks run by PrismML; terminal-Bench 2.1 at 60.1 against 70.8 for FP16; smallest and fastest files need PrismML's llama.cpp fork; thinks at length at the default xhigh effort; low effort is not supported.
- Who is Ternary Bonsai 2.5 27B best for?
- Developers who want a local coding or tool-calling agent on an 8 GB to 12 GB GPU or a small-memory Mac, where a 4-bit Qwen3.8-27B will not fit with useful context.
- How much does Ternary Bonsai 2.5 27B cost for a team or in production?
- Free on hardware you own. One RTX 3080 10 GB owner fitted the PTQ1_0 MTP file with a 96K context in about 9.5 GB, and another saw total GPU memory drop from about 9.5 GB to 7.8 GB after adding -np 1. PrismML measures about 300 tokens a second with MTP on an H200 or B200, using kernels still in testing.
- Is Ternary Bonsai 2.5 27B safe for company data?
- Apache 2.0, following the Qwen3.8-27B base, with no revenue cap or use restrictions beyond the licence. Run locally, prompts and files stay on the machine.
- What are the best Ternary Bonsai 2.5 27B alternatives?
- The closest alternatives we have reviewed are Qwen3.8-27B, Qwen3.8-27B-pi-adapted, Ternary Bonsai 2 9B, Inkling 2 Mini and gpt-oss-20b.
Answers checked Nov 30, 2026.