Ternary Bonsai 2.5 27B: a 27B model on 8GB, and is it any good?
Updated 2026-11-26. From PrismML's model card; plan prices from the official pricing pages.
Yes, Ternary Bonsai 2.5 27B runs on an 8 GB GPU or a 16 GB Mac: its smallest file is 5.99 GB, about a ninth of the full 53.8 GB Qwen3.8 27B. PrismML released it on Nov 24, 2026 under Apache 2.0. On PrismML's own tests it keeps about 90% of the full model's agentic coding score (75.6% vs 80.6% on SWE-bench Verified) and matches it on tool calling. The catch: the smallest files need PrismML's own llama.cpp build, and the stock llama.cpp file needs release b11556 or newer, or it silently produces garbage.
Ternary Bonsai 2.5 27B: what we know and what we don't
| Question | Answer |
|---|---|
| Who made it | PrismML, a model compression startup |
| Released | Nov 24, 2026, free on Hugging Face |
| What it is | Qwen3.8 27B squeezed to ternary weights (each weight is -1, 0 or +1), tuned for agents and tool calling |
| License | Apache 2.0, so commercial use is allowed |
| Download | 5.99 GB for the smallest file, against 53.8 GB for the full model |
| Context | 262K tokens |
| Quality kept | About 90% of the full model on agentic coding, level on tool calling (vendor-reported) |
| Runs in Ollama or LM Studio | Not confirmed. The smallest files need PrismML's llama.cpp fork; the 7.67 GB Q2_0 file needs llama.cpp b11556 or newer |
From PrismML's model card, checked 2026-11-26. Benchmark numbers are PrismML's own, not independent tests.
What hardware Ternary Bonsai 2.5 27B needs
Plan on 8 GB of VRAM or a 16 GB Mac. The official GGUF files are 5.99 GB (PTQ1_0), 7.25 GB (PQ2_0) and 7.67 GB (Q2_0), plus a short context. The usual 4-bit build of the same model is about 17 GB (our estimate), so this is the first way to run it on an 8 GB card.
- Works well: 12 GB and 16 GB GPUs such as the RTX 3060 12GB, 4070 or 5070 Ti, with room for a longer context.
- Works: 8 GB and 10 GB GPUs with the 5.99 GB file and a short context. A community report on an RTX 3080 10 GB measured about 7.8 GB in use after adding
-np 1to the server, down from 9.5 GB. - Works: 16 GB Macs such as the MacBook Air M4 16GB, with the 7.25 GB PQ2_0 file PrismML tested on Apple chips (our estimate on fit; macOS keeps part of memory for itself).
- Tight: 8 GB Macs. The file fits on paper, but macOS and the context leave little room (our estimate).
Speed on PrismML's own runs, plain decoding: 112 tokens per second on an RTX 4090, 163 on an RTX 5090, 30.2 on an Apple M5 Pro and 22.9 on an M4 Pro. The MTP files add a draft head that speeds up decoding by 1.5 to 1.8 times on NVIDIA cards.
Bonsai 2.5 vs other small builds of Qwen3.8 27B
Bonsai 2.5 comes out ahead for its size. It is the smallest file in PrismML's comparison and beats the 7.6 GB Unsloth 2-bit build on every row below. The 10.1 GB 3-bit build is slightly better at coding, so pick that one if you have 12 GB or more to spare.
| Benchmark | Bonsai 2.5 | Unsloth UD-IQ2_XS | GSQ-RCO IQ3_XXS | Full model |
|---|---|---|---|---|
| Size | 5.93 GB | 7.6 GB | 10.1 GB | 53.8 GB |
| Tool calling (avg of 5) | 77.2 | 75.3 | 75.3 | 77.7 |
| Agentic coding (avg of 3) | 54.2 | 47.8 | 55.5 | 60.5 |
| SWE-bench Verified | 75.6 | 71.8 | 73.2 | 80.6 |
| Terminal-Bench 2.1 | 60.1 | 53.9 | 66.3 | 70.8 |
Scores from PrismML's model card (vendor-reported; every build run in thinking mode at xhigh effort).
With a 32 GB Mac or a 24 GB GPU, the regular 4-bit Qwen3.8 27B is still the better pick, since it keeps more of the full model's quality.
Can it stand in for a paid coding plan?
As a free, private fallback on a small machine, yes. Run locally it has no 5-hour or weekly cap, while Codex on ChatGPT Plus ($20) and Claude Code on Claude Pro ($20) both meter usage. For hard coding work the paid plans are still well ahead. See Codex limits explained and Claude Code limits explained.
How to run Ternary Bonsai 2.5 27B
- Stock llama.cpp: use the Q2_0 file (7.67 GB) with release b11556 or newer. Check with
llama-cli --versionfirst: PrismML says older builds load it without a warning and produce garbage. - Smallest file: the 5.99 GB PTQ1_0 file needs the PrismML llama.cpp fork, which has prebuilt binaries. On a Mac, PrismML benchmarked the PQ2_0 file.
- Settings: pass
--min-p 0and leave room for thinking (-n 16384), since it reasons at xhigh by default. Use medium effort for shorter answers. Bonsai-demo has tested run scripts for each backend.
Ollama and LM Studio bundle their own llama.cpp, so they need an engine from b11556 or newer for the Q2_0 file. Comparing other options? See the best local models for 8GB VRAM and the best local LLM for coding.
Sources
FAQ
What is Ternary Bonsai 2.5 27B?
It's PrismML's compressed version of Qwen3.8 27B, released Nov 24, 2026 under Apache 2.0. Each weight is stored as -1, 0 or +1, so the smallest file is 5.99 GB instead of 53.8 GB.
Can I run a 27B model on 8GB of VRAM?
Yes, with Bonsai 2.5's 5.99 GB file and a short context. A community report on a 10 GB RTX 3080 measured about 7.8 GB in use with one request slot.
Is Ternary Bonsai 2.5 as good as Qwen3.8 27B?
Close on tool calling (77.2 vs 77.7 on PrismML's average) and about 90% on agentic coding (54.2 vs 60.5). The full model is still better at hard terminal tasks.
Does Ternary Bonsai 2.5 work in Ollama?
Not confirmed. The Q2_0 file needs a llama.cpp engine from release b11556 or newer, and the smaller files need PrismML's fork, so check your app's engine version first.
Is Ternary Bonsai 2.5 free for commercial use?
Yes. PrismML publishes it under Apache 2.0.
Related
- Best local models for 8GB VRAM
- Best local models for 16GB VRAM
- Qwen3.8 27B requirements
- DaisyRose 27B: requirements and setup
- Best local LLM for coding
- Best local models for a 16GB MacBook Air
- Kolibri 1.1: requirements and setup
- Inkling 2 Mini: requirements and setup
- Local model finder
- Codex usage limit reached
More guides
- Claude Fable 5.2 benchmarks vs GPT-6 Astra, Opus 5.5 and Gemini 4 Carbon
- Claude Fable 5.2 context window and max output: 1M in, 128K out
- Claude Fable 5.2 and Mythos 5.2: prices, limits and what changed
- Claude Fable 5.2 vs Mythos 5.2: which one should you use?
- Claude Mythos 5.2 and Fable 5.2 API cost calculator
- Is Claude Pro enough for Fable 5.2? Fable and Mythos limits by plan
Not sure a plan beats the API for you? Try the plan vs API cost calculator.