Ternary Bonsai 2.5: A 27B for 8 GB Cards, and What It Costs

A 27B in a 6 GB file

PrismML released Ternary Bonsai 2.5 27B on 24 November 2026, and its GGUF repo passed 59,366 downloads in two days. It is Qwen 3.8 27B with every weight stored as -1, 0 or +1 plus a scale per group of 128: 1.76 bits per weight, a 5.93 GB model where the FP16 original is 53.8 GB. Version 2.5 keeps the format of Bonsai 2 and retrains for agent work: tool calls and multi-step coding. Licence: Apache 2.0, 262K tokens of context.

The pitch is simple. A 27B that used to need a 24 GB card now fits a mid-range gaming GPU with room for a real context. The week of runs since release says where that holds, and where it stops.

The files, and which engine opens them

File Size Runs on
PTQ1_0 5.99 GB PrismML's llama.cpp fork (upstream review pending)
PQ2_0 7.25 GB PrismML's llama.cpp fork
Q2_0 7.67 GB Stock llama.cpp from b11556
MTP variant of each +0.24 GB adds the draft head for speculative decoding
Vision (mmproj Q8_0) 0.63 GB optional, for pictures

All three are the same ternary model. PrismML recommends PTQ1_0 on NVIDIA, the smallest file and the faster decode in its tests. PQ2_0 is the format it benchmarks on Apple Metal. Q2_0 is the one to use if you want stock llama.cpp and no fork.

What fits: the cache is the real question

The weights are the easy part. Bonsai 2.5 keeps Qwen 3.8 27B's hybrid attention: 64 layers, of which 16 use full attention with a cache that grows with the prompt. At FP16 that cache costs 65,536 bytes a token, about 2.1 GB at 32K and 8.6 GB at 131K. The other 48 layers keep a fixed-size state.

So PTQ1_0 at 32K needs roughly 6 GB of weights plus 2 GB of cache before the engine's own buffers, and a 12 GB card has comfortable room. An 8 GB card is tight at long context unless the cache is quantized. PrismML's own card quotes a community report from an RTX 3080 10 GB: about 9.5 GB of GPU memory in use, down to 7.8 GB with -np 1 (one request slot), desktop included.

Our GPU checker has carried Bonsai 2.5 since 27 November, at PTQ1_0 and PQ2_0. Pick your card and context there for the exact figure.

Where it is fast: small cards

The clearest test so far is @niklaslenz_ai's on an RTX 5060 Ti 16 GB, Bonsai 2.5 PTQ1_0 with its MTP draft head against Qwen 3.8 27B in Unsloth's UD-IQ4_XS (14.25 GB, no draft). His own caveat: different files, engines and drafting, so two recipes, not a one-switch test.

RTX 5060 Ti 16 GB Bonsai 2.5 PTQ1_0 Qwen 3.8 27B UD-IQ4_XS
Decode, code 98.04 tok/s 27.01 tok/s
Decode, prose 90.26 tok/s 27.14 tok/s
Prefill at 8K 841.45 tok/s 1,068.32 tok/s
8 requests at once 114.62 tok/s total 94.01 tok/s total
MMLU-Pro 52.25 54.75
IFEval 78.5 82.0

About 3.5 times the decode on a 16 GB card, with scores inside his stated margin of 5 to 7 points. Qwen reads an 8K prompt faster. His verdict for 16 GB: Bonsai.

Smaller still: @MWsatware ran PTQ1_0 on an 8 GB RX 5500 XT over Vulkan on Linux, the card hanging off an M.2 slot at PCIe 3.0 x2, at 22 tok/s decode with 131K of context fully in VRAM and no CPU offload. At FP16 that cache alone would be 8.6 GB, so a run like his relies on a compressed cache. The cost he names is prefill: about 85 tok/s. He gave it the same agent task three times (a CSV ledger CLI with a pytest suite) and all three finished green.

Where it is not: a big Mac, and long agent work

On a Mac Studio M5 Ultra 256 GB, niklaslenz's same test shrinks the lead to 1.3 times: Bonsai PQ2_0 decodes code at 64.52 tok/s against Qwen's 48.12, prefill at 8K ties (1,116.69 against 1,113.22), and with 8 requests at once Qwen wins, 132.89 tok/s total against 77.16. IFEval goes to Qwen by 9 points (84.0 against 75.0). His advice for that Mac: stay with Qwen. When memory is not the limit, the ternary trade buys less.

The second catch is agent work. @net_termina benchmarked Bonsai 2.5 against Inkling 2 Mini on his own agent suite: Bonsai used about 4 times the tool calls and 6 times the tokens per backlog bug fix, kept 28 of 37 rules against Inkling's 36, and still hit the thinking cap at the highest reasoning effort, so he recommends medium. It was clearly ahead in one place: refusing a wrong request. Most of his scores sit within noise; the extra work does not.

PrismML's own figures point the other way on quality: tool calling averages 77.2 against 77.7 for FP16 across five benchmarks, and general capability 82.1 against 84.3. Those are the lab's numbers on its own model, measured with thinking on.

Who should run it

  • An 8 to 16 GB NVIDIA or AMD card: yes. Nothing else puts a 27B of this class on that hardware at this speed. Use PTQ1_0 on the fork, or Q2_0 on stock llama.cpp.
  • A 24 GB card or a big Mac: compare first. A 4-bit Qwen 3.8 27B fits there, serves several requests better and scores a little higher.
  • Long autonomous agent runs: expect more tokens per task than a 4-bit model or Inkling 2 Mini, and set reasoning to medium.

For the previous release and its runs, see Ternary Bonsai 2 27B. For how the same 27B runs at other sizes, see Qwen 3.8 27B speed.

FAQ

How much VRAM does Ternary Bonsai 2.5 27B need?

The PTQ1_0 file is 5.99 GB. At 32K of context the full-attention cache adds about 2.1 GB at FP16, so a 10 to 12 GB card runs it comfortably. An 8 GB card works at shorter context, or with a quantized cache at long context.

Does Bonsai 2.5 run on normal llama.cpp?

The Q2_0 file (7.67 GB) runs on stock llama.cpp from b11556. PTQ1_0 and PQ2_0 need PrismML's fork for now; PTQ1_0 is under upstream review.

Is Bonsai 2.5 faster than Qwen 3.8 27B?

On a 16 GB RTX 5060 Ti, about 3.5 times faster to decode in one public test. On a Mac Studio M5 Ultra, only 1.3 times, and slower with 8 requests at once.

Is it as good as the full model?

PrismML reports 82.1 against 84.3 for FP16 on general capability and 77.2 against 77.7 on tool calling. Independent runs so far put it a few points behind a 4-bit Qwen 3.8 27B, and one agent benchmark found it uses several times the tokens per task.

Sources