Ternary Bonsai 2.5 27B: how to run it locally
2026-11-29 · 4 min read
Ternary Bonsai 2.5 27B is a free, open-weight coding and agent model from PrismML that fits in 5.9 GB, small enough for a 12 GB graphics card or a recent Mac. To run it, download the Q2_0 file from Hugging Face and load it in llama.cpp build b11556 or newer, or use PrismML's own llama.cpp fork for the smallest file and the best speed.
The posts on X
@PrismML announced it on Tuesday, November 24, as an upgrade to Ternary Bonsai 2 27B, which we covered in September. Underneath it is still Alibaba's Qwen3.8 27B, shrunk to about a ninth of its full-precision size by storing each weight as minus one, zero or plus one. PrismML calls it "the strongest AI model of its memory footprint for agentic workloads," and the Apache 2.0 license allows commercial use.
In a follow-up demo post, the model rebuilds a web page from one screenshot on local hardware: it writes the HTML, renders it in a browser, compares the result with the original and keeps adjusting. PrismML counts "47 tool calls from the initial screenshot to the finished page."
Less than half an hour after the launch, developer @DogukanUrker had it running on a single RTX 3060 with 12 GB of VRAM at a 262K context. He measured about 74 tokens per second generating and 520 reading the prompt, against 26 for Bonsai 2 on the same card on day one. A good share of that comes from a small draft head (MTP) packed into the GGUF file, which guesses a few tokens ahead. Without it, he got 47.
What changed from Bonsai 2
PrismML's launch post reports these scores. All of them are the company's own.
| Benchmark | Qwen3.8 27B (full size) | Bonsai 2 | Bonsai 2.5 |
|---|---|---|---|
| SWE-bench Verified | 80.6 | 60.8 | 75.6 |
| Terminal-Bench 2.1 | 70.8 | 52.8 | 60.1 |
| AppWorld | 93.2 | 51.2 | 90.5 |
| τ³-Bench | 72.8 | 69.1 | 73.9 |
| LiveCodeBench v6 | 87.6 | 83.8 | 83.0 |
AppWorld is the big one: Bonsai 2 scored about half what the full model did, and 2.5 gets within three points. LiveCodeBench, which tests one-shot coding puzzles, slipped a little. PrismML also claims 291 tokens per second on an H100 and 204 on an RTX 4090, both with the draft head on.
How to run it
These steps come from PrismML's download docs, the RTX 3060 post and one independent test.
- Pick a file from
prism-ml/Ternary-Bonsai-2.5-27B-gguf. PTQ1_0 is the 5.93 GB headline file, but only PrismML's llama.cpp fork loads it. Q2_0 is about 7.6 GB and runs on regular llama.cpp. The-gguf-mtprepo has versions with the draft head, and an optional 0.6 GB vision file adds image input. - Update llama.cpp to build b11556 or newer. The model card warns that older builds load Q2_0 without complaint and "produce garbage."
- Start the server with something like
llama-server -m <your-file>.gguf -ngl 999 -c 32768 --jinja.-ngl 999puts every layer on the GPU,--jinjaapplies the model's chat template, and you can raise-ctoward the 262144 Doğukan used if your card has room. - On a Mac, iPhone or iPad, use the MLX build,
prism-ml/Ternary-Bonsai-2.5-27B-mlx-2bit. 9to5Mac puts it at about 8.9 GB, and the model card walks through Mac setup. - Download only from the
prism-mlaccount. Repacks from accounts nobody can vouch for are how the GGUF malware found this week spread.
Without a GPU it's slow. ReadModel ran Q2_0 on an 8-core Linux box with no graphics card, using about 9.5 GB of RAM at an 8K context. It made a correct tool call and wrote a function that passed all six tests, at 3.3 tokens per second, which the reviewer called "too slow for interactive agent work."
My read
Every score above is PrismML's. On Saturday @swyx pushed back on the "open catching up to closed" story, arguing that some top open models are "benchmaxxed" and that a pretraining measure puts open models about 1.5 years behind. He wasn't writing about Bonsai, and he adds that post-training still counts, but the warning covers anything built on Qwen3.8, Nous Research's Arete-27B included.
Since Bonsai is a compressed Qwen, the useful question is how much it loses in the squeeze. On PrismML's table that's five points on SWE-bench and nearly 11 on Terminal-Bench, while on τ³-Bench it edges past the full model. Getting that close on a graphics card from 2021 is the part I'd pay attention to.
What this means for your business
For a small business the appeal is privacy and cost. Client files stay on the office machine and there's no per-token bill. Overnight batch jobs suit it, like sorting intake documents or drafting replies for someone to check, and it's worth running a week of your own tasks through it before trusting any benchmark. If you want help working out which of your workflows could move to a local model, New Face Design's free process audit is a good place to start.