Code Models · [ 4 min read ]

Bonsai 2.5 27B ships ternary agent model at 5.9GB

PrismML's Ternary Bonsai 2.5 27B hits 75.6 on SWE-bench Verified at a 5.93GB footprint, Apache 2.0, with MTP bundles claiming 291 tok/s on H100 — vendor numbers, so test before you swap.

Key findings

  1. Released November 24, 2026 under Apache 2.0, weights on Hugging Face
  2. SWE-bench Verified: 75.6 vs 60.8 for Bonsai 2 and 80.6 for Qwen3.8 27B
  3. ~5.93 GB PTQ1_0 footprint, roughly 9× smaller than the FP reference
  4. MTP decoding: 291 tok/s on H100, ~74 tok/s at 262K context on a 12GB RTX 3060 per community tests
  5. MLX 27B pack is text-only; vision mmproj files ship only in GGUF repos
Bonsai 2.5 27B ships ternary agent model at 5.9GB
Christian Wiediger / unsplash

PrismML released Ternary Bonsai 2.5 27B on November 24, 2026, an Apache 2.0 model that holds the ~5.93 GB PTQ1_0 footprint of Bonsai 2 while lifting SWE-bench Verified from 60.8 to 75.6 — against 80.6 for the full-precision Qwen3.8 27B reference. Weights are live on Hugging Face now, with download tables in the PrismML docs.

The claim is intelligence density. PrismML says the ~5.9 GB pack is roughly 9× smaller than the FP reference, which means a 12 GB RTX 3060 can host multi-hundred-thousand-token agent sessions. That is the pitch, at least. The numbers are vendor-run and not independently reproduced.

What do the benchmarks actually show?

The full comparison from PrismML's announcement:

  • SWE-bench Verified: Qwen3.8 80.6, Bonsai 2 60.8, Bonsai 2.5 75.6
  • DeepSWE v1.1: 30.1, 0, 27
  • Terminal-Bench 2.1: 70.8, 52.8, 60.1
  • AppWorld: 93.2, 51.2, 90.5
  • tau³-Bench: 72.8, 69.1, 73.9
  • BigCodeBench: 61.5, 57.2, 60.3
  • LiveCodeBench v6: 87.6, 83.8, 83.0

AppWorld and SWE-bench Verified are the headline jumps. DeepSWE still shows a wide gap to full precision, which is why PrismML frames 2.5 as narrowing the distance rather than matching Qwen3.8 on every suite. LiveCodeBench actually dipped 0.8 points below Bonsai 2. Caveat noted: vendor benchmarks deserve a run on your own tickets.

Version 2.5 is not a width change. PrismML says it cut repetitive thinking loops and tightened multi-step tool chains — the failure mode where a local agent misreads a pytest log, spins, and burns context.

How fast does it decode?

PrismML lists 291 tokens/s generation with MTP on an H100 and 204 tokens/s on an RTX 4090, plus roughly 3,060 tokens/s prompt processing on the 4090 for a 2,000-token prompt. MTP draft heads ship as separate GGUF bundles, named Ternary-Bonsai-2.5-27B-gguf-mtp in the docs.

Community testers on X report ~74 tok/s decode at 262K context on a 12 GB RTX 3060 with MTP enabled, versus ~47 tok/s without. The same card reportedly managed ~26 tok/s on Bonsai 2 at launch. Consistent with PrismML's draft-decoding emphasis, but treat vendor speed tables as ceilings, not guarantees for your toolchain.

Which format should you pull?

PrismML ships three GGUF layouts plus MLX:

  • PTQ1_0 (5.93 GB) — densest trits; needs PrismML binaries for best kernels.
  • PQ2_0 (~7.2 GB) — trits in 2-bit slots; faster prompt processing in PrismML builds.
  • Q2_0 (~7.6 GB) — runs on upstream llama.cpp without custom builds.
  • MLX 2-bit — Apple Silicon pack; the 27B MLX may exceed phone RAM.

One asymmetry worth flagging: the 27B GGUF repos include mmproj vision files for image input, but the MLX 27B pack is text-only per the docs. Don't assume screenshot agents work on MLX without checking the model card.

Download looks like:

pip install -U "huggingface_hub[cli]"
hf download prism-ml/Ternary-Bonsai-2.5-27B-GGUF Ternary-Bonsai-2.5-27B-PTQ1_0.gguf --local-dir models

The demo repo's setup.sh defaults to 27B when BONSAI_MODEL is unset. If you already run Bonsai 2 27B, PrismML recommends a side-by-side week: freeze prompt templates and tool schemas, run a 20-task harness on 2.5 PTQ1_0, compare turn count and tokens per success, and keep 2.0 weights for rollback until your SWE tickets pass. Migration is not forced — the old repositories stay online.

What does this change for local agent stacks?

The interesting wedge is a per-seat-free assistant embedded in desktop apps, called through llama.cpp. At ~$3/$15 per million tokens for frontier APIs, local wins when documents can't leave the laptop, or when iterations per hour dominate quality per token. It loses where you need frontier reasoning on novel domains — 75.6 still trails 80.6 in PrismML's own table.

Two caution flags before you trust launch-day numbers. First, long agent threads at 27B ternary can still exhaust 12 GB when MTP and the vision projector load together — check your runtime's KV cache math. Second, supply chain: verify SHA256SUMS, pin llama.cpp or PrismML release hashes in SBOMs, treat MTP draft heads as extra attack surface, and avoid HF reuploads outside the prism-ml org.

Watch two things next: whether a Qwen3.8 upstream update forces a Bonsai 2.6 rebase, and whether SWE-bench Verified task versions shift community rankings. If MTP becomes the default in setup.sh, retest latency on laptops without discrete GPUs before promising cloud parity.

Google News: agentic coding (Source)

Price tags

Share this article:

More from Priya Raman

Priya Raman

Show full bio

Staff writer covering technology and product news in AI-coding movement at Vibe Coder.

26 articles

Adjacent departments

« Previous articleNext article »