Overview
Ternary Bonsai 2.5 27B is PrismML's second ternary release of Qwen3.8 27B, announced on 24 November 2026 as an upgrade to Ternary Bonsai 2 27B. It keeps the previous release's 5.9 GB footprint and 1.76 bits per weight, and focuses the gains on agentic coding, multi-turn tool use and long multi-step tasks. PrismML says the model handles long tool-call sequences better, adjusts after failed steps, uses fewer turns and tokens, and thinks less and loops less than Bonsai 2.
The agent numbers are where the change shows. On PrismML's published table, SWE-bench Verified rises from 60.8 for Bonsai 2 to 75.6 (full-precision Qwen3.8 27B scores 80.6), AppWorld from 51.2 to 90.5, and DeepSWE from 0 to 27. The Hugging Face model card puts the five-benchmark tool-calling average at 77.2 against 77.7 for FP16 — "FP16-level agentic tool calling at one ninth of the size" — while general capability averages 82.12 against 84.32.
The weights are ternary {−1, 0, +1} with FP16 scaling per group of 128, stored in a blockwise Hadamard basis. The vision tower ships as a separate optional mmproj file, loaded only for image input, and the model keeps the base model's 262K-token context. The model thinks by default, and the card recommends a large generation cap so answers are not cut off mid-thought.
Three GGUF packings ship. PTQ1_0 (5.93 GB) and PQ2_0 need PrismML's llama.cpp fork — "Stock llama.cpp rejects them as unknown types" — while Q2_0 runs on stock llama.cpp from release b11556. Optional MTP files add a draft head for speculative decoding: PrismML reports 291 tokens per second on an H100 and 204 on an RTX 4090 with it. An MLX 2-bit package covers Apple silicon. The weights are Apache 2.0 and there is no hosted API.
| Released | 2026-11-24 |
|---|---|
| License | Apache-2.0 |
| Weights | Open weights |
| Parameters | 27.36B total (24.35B language, 0.47B vision, 2.54B embedding/lm-head), stored as ternary weights at 1.76 bits per weight |
| Context | 262K |
| Architecture | Qwen3.8 27B hybrid-attention causal language model (~75% linear / ~25% full attention), ternary g128 weights with FP16 group scaling in a blockwise Hadamard basis |
| Modalities | Text, Vision |
| Status | Generally available — GGUF and MLX weights published on Hugging Face |
Benchmarks
PrismML's published comparison: Ternary Bonsai 2.5 27B against Bonsai 2 27B and full-precision Qwen3.8 27B
| Benchmark | Ternary Bonsai 2.5 27B | Ternary Bonsai 2 27B | Qwen3.8 27B (full precision) |
|---|---|---|---|
| SWE-bench Verified | 75.6 | 60.8 | 80.6 |
| DeepSWE v1.1 (mini-swe-agent) | 27 | 0 | 30.1 |
| Terminal-Bench 2.1 | 60.1 | 52.8 | 70.8 |
| AppWorld | 90.5 | 51.2 | 93.2 |
| τ³-Bench | 73.9 | 69.1 | 72.8 |
| BigCodeBench | 60.3 | 57.2 | 61.5 |
| LiveCodeBench v6 | 83 | 83.8 | 87.6 |
This model's scores
- SWE-bench Verified75.6%
- AppWorld90.5%
- τ³-Bench73.9%
- LiveCodeBench v683%
- BigCodeBench60.3%
- Terminal-Bench 2.160.1%
- DeepSWE v1.1 (mini-swe-agent)27%
Scores on a 0–100 scale (25-point gridlines); higher is better. Each benchmark links to its published source.
Strengths
- Tool-calling average of 77.2 against 77.7 for full-precision Qwen3.8 27B, at about one ninth of the 53.8 GB FP16 size
- SWE-bench Verified up to 75.6 from Bonsai 2's 60.8, and AppWorld up to 90.5 from 51.2
- A Q2_0 packing that runs on stock llama.cpp (b11556+), Ollama and Docker Model Runner
- MTP draft head for speculative decoding, 1.5–1.8× faster decode on NVIDIA GPUs per the model card
- 262K-token context and Apache 2.0 weights
Best for
- Running a local coding agent on a single consumer GPU
- Private, offline tool-using agents where a full-precision 27B checkpoint will not fit in memory
- Long multi-step agent tasks on an Apple-silicon laptop through the MLX package
- Comparing ternary compression against 2- and 3-bit quantisations of the same base model
Bonsai (ternary open weights) — every version
The full lineage of the Bonsai (ternary open weights) line, newest first. Every version has its own page — click any to compare specs, benchmarks and pricing.
| Version | Released | Context | License |
|---|---|---|---|
| Ternary Bonsai 2.5 27Bcurrent | 2026-11-24 | 262K | Apache-2.0 |
| Ternary Bonsai 2 27B | 2026-09-17 | 262K | Apache-2.0 |
FAQ
How much better is Ternary Bonsai 2.5 27B than Bonsai 2 27B?
On agent work, a lot: PrismML's table shows SWE-bench Verified rising from 60.8 to 75.6, AppWorld from 51.2 to 90.5 and DeepSWE from 0 to 27, in the same 5.9 GB. General scores barely move, and LiveCodeBench v6 slips slightly from 83.8 to 83.0.
Which file should I download to use stock llama.cpp?
The Q2_0 file. It runs on stock llama.cpp from release b11556 onward; the model card warns that older builds load it without a warning and produce garbage. The smaller PTQ1_0 (5.93 GB) and PQ2_0 packings need PrismML's llama.cpp fork.
How fast does Ternary Bonsai 2.5 27B run?
With the MTP draft head, PrismML reports 291 tokens per second on an H100 and 204 on an RTX 4090. Plain PTQ1_0 decode is listed at 186 on an H100, 163 on an RTX 5090 and 112 on an RTX 4090; an Apple M5 Pro reaches about 30 tokens per second with Metal.
What licence are the weights under?
Apache 2.0, per the announcement and the Hugging Face model card. There is no hosted PrismML API for this model — the download is the product.
