LimitDigest
Home / Guides / Ternary Bonsai 2.5 27B: a 27B model on 8GB, and is it any good?

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.

Quick answer

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

QuestionAnswer
Who made itPrismML, a model compression startup
ReleasedNov 24, 2026, free on Hugging Face
What it isQwen3.8 27B squeezed to ternary weights (each weight is -1, 0 or +1), tuned for agents and tool calling
LicenseApache 2.0, so commercial use is allowed
Download5.99 GB for the smallest file, against 53.8 GB for the full model
Context262K tokens
Quality keptAbout 90% of the full model on agentic coding, level on tool calling (vendor-reported)
Runs in Ollama or LM StudioNot 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 1 to 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.

BenchmarkBonsai 2.5Unsloth UD-IQ2_XSGSQ-RCO IQ3_XXSFull model
Size5.93 GB7.6 GB10.1 GB53.8 GB
Tool calling (avg of 5)77.275.375.377.7
Agentic coding (avg of 3)54.247.855.560.5
SWE-bench Verified75.671.873.280.6
Terminal-Bench 2.160.153.966.370.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

  1. Stock llama.cpp: use the Q2_0 file (7.67 GB) with release b11556 or newer. Check with llama-cli --version first: PrismML says older builds load it without a warning and produce garbage.
  2. 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.
  3. Settings: pass --min-p 0 and 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

More guides