# Ternary Bonsai 2.5 27B

> Source: https://aiwiki.ai/wiki/ternary_bonsai_2_5_27b
> Updated: 2026-11-29
> Categories: AI Inference, AI Models, Large Language Models, Open Source AI
> License: CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/) - attribute to "AI Wiki (aiwiki.ai)"
> Cite as: AI Wiki. "Ternary Bonsai 2.5 27B." aiwiki.ai, 29 Nov 2026. https://aiwiki.ai/wiki/ternary_bonsai_2_5_27b
> From AI Wiki (https://aiwiki.ai), the free encyclopedia of artificial intelligence. Reuse freely with attribution.

**Ternary Bonsai 2.5 27B** is a compressed derivative of [Qwen3.8-27B](https://aiwiki.ai/wiki/qwen3_8) released by [PrismML](https://aiwiki.ai/wiki/prism_ml) on November 24, 2026. It follows the company's Bonsai 2 27B model. The release includes downloadable [GGUF](https://aiwiki.ai/wiki/gguf) and [MLX](https://aiwiki.ai/wiki/mlx) checkpoints. PrismML released the weights under Apache 2.0.[1][2][3]

## Weight formats and runtime

<figure>
<a href="/images/ternary-bonsai-2-5-27b-74ada8d423ba.png"><img src="/images/ternary-bonsai-2-5-27b-74ada8d423ba.png" alt="Grouped bars show text weights and weights with the draft head. GGUF file sizes are 5.99 and 6.23 GB for PTQ1_0, 7.25 and 7.49 GB for PQ2_0, and 7.67 and 7.91 GB for Q2_0." /></a>
<figcaption>Bonsai 2.5 27B text checkpoint sizes with and without the multi-token prediction draft head. The vision projector is a separate download. [6]</figcaption>
</figure>

The model uses ternary weight values for most of its parameters. The 5.99 GB `PTQ1_0` file contains the core text model. PrismML also distributes a 6.23 GB `PTQ1_0` variant with a [multi-token prediction](https://aiwiki.ai/wiki/multi_token_prediction) draft head. The two variants use the same base language model. A runtime that can use the draft head can propose extra tokens and verify them in groups. The repository's notice identifies the head separately from the main checkpoint.[2][4]

| GGUF variant | Text-model file | File with draft head |
| --- | --- | --- |
| `PTQ1_0` | 5.99 GB | 6.23 GB |
| `PQ2_0` | 7.25 GB | 7.49 GB |
| Standard `Q2_0` | 7.67 GB | 7.91 GB |

The file sizes come from PrismML's GGUF release. Inference requires additional memory for the [KV cache](https://aiwiki.ai/wiki/kv_cache) and runtime buffers. Image input uses a separate file. The publisher documents [llama.cpp](https://aiwiki.ai/wiki/llama_cpp) runtimes on NVIDIA and Intel hardware and MLX on Apple devices.[1][2][3]

A separate downstream release from AtomicChat adapts PrismML's model. This is the release described in some posts as the uncensored variant. Its changes are attributable to AtomicChat.[5]

## Reported benchmarks

PrismML tested Bonsai 2.5 against the preceding Bonsai release and full-precision Qwen3.8-27B. Three of its coding tests use a software-engineering agent or an interactive environment. The results describe those evaluation setups.[1][4]

| Benchmark | Bonsai 2 27B | Bonsai 2.5 27B | Full-precision Qwen3.8-27B |
| --- | --- | --- | --- |
| SWE-bench Verified | 60.8 | 75.6 | 80.6 |
| DeepSWE v1.1, mini-swe-agent | 0 | 27 | 30.1 |
| Terminal-Bench 2.1 | 52.8 | 60.1 | 70.8 |
| AppWorld | 51.2 | 90.5 | 93.2 |
| LiveCodeBench v6 | 83.8 | 83.0 | 87.6 |

PrismML reports generation rates of 291 tokens per second on an H100 and 204 on an RTX 4090 using multi-token prediction and its test kernels. The publisher lists 282 tokens per second on the H100 and 204 on the RTX 4090 in its MTP-only column. Its prefill measurements, which describe the processing of input tokens, are listed separately.[1][4]

## References

1. PrismML. [Introducing Ternary Bonsai 2.5 27B](https://prismml.com/news/bonsai-2-5-27b). November 24, 2026. Model release, benchmark table and device measurements.
2. PrismML. [Ternary Bonsai 2.5 27B GGUF model card and files](https://huggingface.co/prism-ml/Ternary-Bonsai-2.5-27B-GGUF). File variants, model requirements and weights license.
3. PrismML. [Bonsai 2.5 27B collection](https://huggingface.co/collections/prism-ml/bonsai-25-27b). Official GGUF and MLX release repositories.
4. PrismML. [Ternary Bonsai 2.5 27B technical whitepaper](https://github.com/PrismML-Eng/Bonsai-demo/blob/main/bonsai-2-5-27b-whitepaper.pdf). November 2026.
5. AtomicChat. [Attribution notice for its Bonsai 2.5 27B derivative](https://huggingface.co/AtomicChat/Ternary-Bonsai-2.5-27B-Uncensored-GGUF/blob/main/NOTICE.txt). Upstream attribution to PrismML and Qwen.
6. AI Wiki chart using the developer's GGUF file listing. Original chart based on [published source data](https://huggingface.co/prism-ml/Ternary-Bonsai-2.5-27B-GGUF/tree/main).

