Skip to main content

Ternary Bonsai 2.5 27B: Local Agentic Coding in a 5.9 GB File

PrismML released Ternary Bonsai 2.5 27B on November 24, 2026. It is an Apache 2.0 ternary compression of Qwen3.8 27B whose smallest GGUF is 5.93 GB. PrismML reports an agentic coding average of 54.2, up from 37.9 for Bonsai 2 27B, against 60.5 for the full model. The smallest files still need PrismML's own llama.cpp fork, and all benchmarks are self-reported.

On this page

What PrismML released and how small it is

PrismML published Ternary Bonsai 2.5 27B on November 24, about two months after Bonsai 2 27B, and pitches it for agentic coding and private knowledge work. Like its predecessor, it starts from Qwen3.8 27B and stores almost every weight as negative one, zero, or positive one, with a 16-bit scale for each group of 128 weights. The model card puts this at 1.76 bits per weight, so the PTQ1_0 file comes to 5.93 GB against 53.8 GB for the 16-bit original.

The weights are Apache 2.0. The release includes GGUF files for llama.cpp, a 2-bit MLX build for Apple hardware, an optional vision projector for image input, and "MTP" variants that add a draft head for faster speculative decoding. The card lists a 262K-token context window.

The benchmark jump is mostly in agentic work

Bonsai 2 lost a lot of ground on multi-step tasks, and that is where version 2.5 changes most. On PrismML's three agentic coding tests, the average rises from 37.9 to 54.2, against 60.5 for the full-precision Qwen3.8 base. SWE-bench Verified goes from 60.8 to 75.6 (base: 80.6), and DeepSWE goes from 0.0 to 27.0.

Tool calling improves too. AppWorld jumps from 51.2 to 90.5, and the five-test tool-calling average reaches 77.2, close to the base model's 77.7. PrismML says errors compound across long chains of tool calls in compressed models, which is the problem it targeted this time.

The gains are not universal. The card's own tables show small regressions against Bonsai 2 on LiveCodeBench v6 (83.8 to 83.0), AIME26, IFEval, IFBench, and the long-context AA-LCR test. Every number comes from PrismML, run in thinking mode at the highest reasoning effort, and none has been independently reproduced yet.

Which runtimes and devices actually work

This is the part that matters most if you want to run it at home. The two smallest formats, PTQ1_0 and PQ2_0, need PrismML's fork of llama.cpp; the card says stock llama.cpp "rejects them as unknown types". A larger Q2_0 file runs on stock llama.cpp from release b11556, and the card warns that older builds load it silently and produce garbage. Upstream support for PTQ1_0 is still under review.

PrismML's post says the model runs on NVIDIA and Intel GPUs through llama.cpp and on Mac, iPhone, and iPad through MLX. The card's measured devices are mostly GPUs and Macs: an Apple M5 Pro decodes about 30 tokens per second with llama.cpp and about 22 with MLX. It has no iPhone or iPad figures.

There is one phone result: a Galaxy S26 Ultra running the whole Q2_0 model on its Hexagon NPU at 8.79 tokens per second with MTP. The card says that path uses "a fix not yet released" and was tested on only 10 prompts. That points to a real Android future, but you can't download it today.

Read the speed claims carefully

The headline figures, 291 tokens per second on an H100 and 204 on an RTX 4090, come from the card's "+kernels" column, which uses kernels still in testing and an unreleased build. With released MTP builds the H100 figure is 282, and plain decoding without MTP is about 186.

Memory is the other gap. No page lists a minimum RAM or VRAM figure. One user report on the card describes an RTX 3080 with 10 GB using about 9.5 GB until server parallelism was limited with -np 1, after which it dropped to about 7.8 GB. Plan for more memory than the 5.93 GB file itself, especially with long contexts.

CuriousLM runs supported AI models locally on your device. Try CuriousLM.