# Ternary Bonsai 2.5 27B: what it is and is it free?

PrismML's Ternary Bonsai 2.5 squeezes a 27B Qwen3.8 model into 5.93 GB with near-full tool-calling scores. Free under Apache 2.0, runs on a GPU or Mac.

URL: https://aitoolsthisweek.com/ternary-bonsai-2-5-27b
Published: 2026-11-25T15:21:45.677Z
Updated: 2026-11-25T15:21:56.915Z

**Ternary Bonsai 2.5 27B is a free AI model from the startup PrismML that fits a 27-billion-parameter model into a 5.93 GB file, small enough to run on a gaming PC or a recent Mac.** It is a compressed version of Alibaba's Qwen3.8 27B, released on November 24, 2026 under the Apache 2.0 license, and tuned for agents: models that call tools, write code and work through multi-step tasks.

It is one of the fastest-rising models on Hugging Face this week, with its main download page past 59,000 downloads about a day after release.

## What PrismML changed

The full Qwen3.8 27B model takes 53.8 GB in its standard 16-bit form, far more than most home computers can hold in memory. PrismML stores every weight as just -1, 0 or +1 (that is the "ternary" part), plus one scale number per group of 128 weights. That comes to 1.76 bits per weight and about a ninth of the size.

Its previous release, Ternary Bonsai 2 (September 2026), already used this format. Version 2.5 keeps the same size but retrains the model for long chains of tool calls. PrismML's announcement says it finishes tasks in fewer turns, uses fewer tokens and loops less than version 2.

## How good is it?

PrismML's own model card compares it with the full-size model and with other compressed builds. These are the company's numbers, not independent tests:

| Benchmark group | Full Qwen3.8 27B (53.8 GB) | Bonsai 2 (5.93 GB) | **Bonsai 2.5 (5.93 GB)** |
|---|---|---|---|
| Tool calling, average of 5 | 77.7 | 67.0 | **77.2** |
| Agentic coding, average of 3 | 60.5 | 37.9 | **54.2** |
| SWE-bench Verified | 80.6 | 60.8 | **75.6** |
| General capability, 5 categories | 84.3 | 81.6 | **82.1** |

In plain terms: on agent tests such as multi-turn customer-service simulations it scores about the same as the full model, and on coding agent tests it keeps around 90% of the full model's score. The biggest gap PrismML reports is in math, at 3.1 points behind.

For context on the base model, read our explainer on [Qwen3.8 27B](/qwen3-8-27b).

## Can you run it, and how fast?

PrismML lists these decode speeds (how fast text appears) for one user at a time:

| Hardware | Tokens per second |
|---|---|
| RTX 4090 | 112 |
| RTX 5090 | 163 |
| Apple M5 Pro (Mac) | 30.2 |

Around 30 tokens per second is faster than most people read. The model supports a 262K-token context and also accepts images through an optional add-on file.

There are three versions of the file. **Q2_0** runs on standard llama.cpp from build b11556 onward; the model card warns that older builds load it without an error but produce garbage. **PTQ1_0** (smallest, fastest on NVIDIA) and **PQ2_0** (the one tested on Macs) need PrismML's own llama.cpp fork. On Apple devices, PrismML also supports MLX for Mac, iPhone and iPad.

## Who is it for?

- **Developers building private agents** that must run on a laptop or phone without sending files to the cloud.
- **Hobbyists with a gaming GPU** who want a capable local model for coding help.
- **Not** for people who just want a chat app: there is no official one-click app yet, and setup means command-line tools. If that's you, our guide to [AI models on your phone](/ai-models-on-your-phone) covers easier options.

It is a reasoning model that thinks before answering by default, so give it room: the model card recommends allowing thousands of output tokens, or a short limit cuts it off mid-thought.

*AI Tools This Week is not affiliated with PrismML or Alibaba.*

## Frequently asked questions

### Is Ternary Bonsai 2.5 free?

Yes. PrismML published the weights on Hugging Face under the Apache 2.0 license, which allows personal and commercial use. You pay only for your own hardware and electricity.

### Can I run Ternary Bonsai 2.5 on my laptop?

On many, yes. The smallest file is 5.93 GB. PrismML measured about 30 tokens per second on an Apple M5 Pro, and a community report on the model page measured about 7.8 GB of GPU memory on a 10 GB RTX 3080 with one request slot. You need a recent llama.cpp build or PrismML's fork, or MLX on a Mac.

### What does 'ternary' mean?

Each weight in the model is stored as -1, 0 or +1, with one shared scale number for every group of 128 weights. That works out to 1.76 bits per weight instead of 16, which is why the file is about nine times smaller.

## Sources

- [Introducing Ternary Bonsai 2.5 27B (PrismML, November 24, 2026)](https://prismml.com/news/bonsai-2-5-27b)
- [prism-ml/Ternary-Bonsai-2.5-27B-GGUF model card (Hugging Face)](https://huggingface.co/prism-ml/Ternary-Bonsai-2.5-27B-GGUF)
- [Bonsai-demo: run scripts and whitepaper (PrismML on GitHub)](https://github.com/PrismML-Eng/Bonsai-demo)
