AI Compass / News
Ternary Bonsai 2.5: a 27-billion-parameter coding model in 6 to 8 GB
On 24 November, PrismML released an open model whose weights take only three values. At the same size as its predecessor, it comes much closer to the model it is based on, according to the maker. The figures are the maker's own.
Source: Ternary Bonsai 2.5 27B (PrismML),


What happened: On 24 November 2026, PrismML released Ternary Bonsai 2.5 27B. It is built on the open model Qwen3.8 27B and heavily compressed so it can run on your own hardware. The weights, the values the model has learned, are on Hugging Face under the Apache 2.0 licence.
What’s new:
- Ternary weights: according to the model card, each weight takes one of only three values: −1, 0 or +1. Every group of 128 weights shares one scale factor. That brings the smallest version (PTQ1_0) to 1.76 bits per weight and 5.93 GB, or 5.99 GB as a file. The Q2_0 file is 7.67 GB, or 7.91 GB with the MTP head (see below). For how model compression works in general, see the item on MACaQ.
- Where it runs: as a GGUF file with llama.cpp on NVIDIA and Intel graphics cards, and as an MLX version on Apple devices. Standard llama.cpp currently runs the Q2_0 version (a 7.67 GB file). The smaller PTQ1_0 (a 5.99 GB file) needs PrismML’s own fork of llama.cpp for now; according to the model card, support is under review in the main project. The model can handle images through a separate add-on file that is loaded only for image input.
- Performance, per the maker: on SWE-bench Verified, a test built from real software bugs, PrismML reports 75.6. The uncompressed Qwen3.8 27B scores 80.6, the previous Bonsai 2 60.8. On Terminal-Bench 2.1, it is 60.1 against 70.8 for the base model.
- Speed, per the maker: 204 tokens per second on an RTX 4090, measured with PTQ1_0 in PrismML’s fork of llama.cpp and with multi-token prediction (MTP). An add-on part of the model, the MTP head, drafts several tokens at once, and the model checks them in a single pass.
What this means for you: According to PrismML, the main news is the jump at the same size: Bonsai 2 was also 5.93 GB but scored only 60.8 on SWE-bench Verified. The model card lists other compressed versions of the base model at 2 to 3 bits per weight, at 7.6 to 10.1 GB. So you trade some performance for less memory, and your code and data stay on your machine. PrismML doesn’t state an official memory requirement. The model card quotes a user report on an RTX 3080 with 10 GB: about 9.5 GB of graphics memory, or about 7.8 GB with the -np 1 setting (a single request slot), both including the desktop.
What you can do:
- Check your hardware: as my own rough rule of thumb, plan for about 8 to 10 GB of graphics memory, depending on version, settings and context length.
- Try it: the Q2_0 version with llama.cpp, or the MLX version on a Mac, with two or three real tasks. If graphics memory is tight, start
llama-serverwith-np 1. - Compare: run the same tasks on the model you use now, for example Inkling 2 Mini, and put results and speed side by side.
Context: All performance and speed figures come from PrismML itself and haven’t been independently verified. The memory figure rests on a single user report. I haven’t tested the model myself.
My workshops show you how to bring AI into your team. See the workshops