PrismML released Ternary Bonsai 2.5 27B on November 24, 2026, an Apache 2.0 upgrade that keeps the roughly 5.9 GB PTQ1_0 footprint of Ternary Bonsai 2 27B while pushing agentic coding and multi-turn tool use closer to full-precision Qwen3.8 27B. Weights are live on Hugging Face with download tables in PrismML docs.
TL;DR
| Item | PrismML November 24, 2026 |
|---|---|
| Base model | Qwen3.8 27B full precision reference |
| Footprint | ~5.93 GB PTQ1_0; ~9× smaller than FP reference per PrismML |
| SWE-bench Verified | 75.6 vs 60.8 on Bonsai 2 and 80.6 on Qwen3.8 |
| tau³-Bench | 73.9 vs 69.1 on Bonsai 2 |
| Runtimes | llama.cpp, MLX, PrismML builds on NVIDIA and Intel |
| License | Apache 2.0 |
Why ternary 27B matters for local agents
Most open-weight agent stacks still assume 70B-class APIs or 24 GB+ VRAM for credible SWE-bench numbers. PrismML's pitch is intelligence density: keep weights in true ternary packing so a 12 GB RTX 3060 can host multi-hundred-thousand-token agent sessions, matching the on-phone Bonsai 2 story we covered in PrismML Bonsai 2 smaller tiers and the earlier near-lossless 27B compression post.
Version 2.5 is not a width change. PrismML says it reduced repetitive thinking loops and tightened multi-step tool chains—the failure mode where a local agent misreads a pytest log, spins, and burns context. That aligns with explainx.ai coverage of local agent harnesses and llama.cpp v1 stable APIs teams already ship.
Benchmark table: what PrismML claims
SWE-style issue card linked to a patch, illustrating agentic coding benchmarks PrismML cites for Bonsai 2.5
PrismML publishes this comparison in its announcement (vendor-run, not independently reproduced here):
| Benchmark | Qwen3.8 27B | Bonsai 2 27B | Bonsai 2.5 27B |
|---|---|---|---|
| SWE-bench Verified | 80.6 | 60.8 | 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 |
The jump on AppWorld and SWE-bench Verified is the headline for builder readers. The DeepSWE row still shows a large gap to Qwen3.8, which is why PrismML frames 2.5 as narrowing the distance, not matching full precision on every suite.
Readers comparing to cloud agents should cross-check Cognition Devin SWE-2.1 and OpenShellBench-style harnesses—different cost curves, same question: does the local loop finish the task?
Speed claims and MTP speculative decoding
Gauge-style graphic showing fast local inference speeds for agent decode workloads
PrismML lists 291 tokens/s generation with MTP on an H100 and 204 tokens/s on an RTX 4090, with ~3,060 tokens/s prompt processing on the 4090 for a 2,000-token prompt. MTP draft heads ship in separate GGUF bundles (Ternary-Bonsai-2.5-27B-gguf-mtp per docs).
Community testers on X report ~74 tok/s decode at 262K context on a 12 GB RTX 3060 when MTP is enabled, versus ~47 tok/s without MTP—consistent with PrismML's emphasis on draft decoding for ternary unpack cost.
How to download and run
PrismML's download page lists repositories:
- GGUF:
prism-ml/Ternary-Bonsai-2.5-27B-GGUFwith PTQ1_0, PQ2_0, Q2_0, and mmproj vision files where applicable. - MLX:
prism-ml/Ternary-Bonsai-2.5-27B-mlx-2bitfor Apple Silicon.
Example Hugging Face CLI pattern from docs:
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
PrismML's demo repo setup.sh defaults to 27B when BONSAI_MODEL is unset. If you already run Bonsai 2 27B, swap filenames and rerun regression tests on your repo before trusting leaderboard deltas.
Q2_0 remains the portability path: upstream llama.cpp without PrismML binaries, at ~7.6 GB. PQ2_0 trades size for faster prompt processing on PrismML builds—pick based on whether you optimize for RAM or iterations per hour.
Hardware planning: who can actually run 2.5?
PrismML targets three hardware stories in the same announcement: datacenter H100, consumer RTX 4090, and Apple MLX on Mac/iPad/iPhone. Treat those as vendor ceilings, not guarantees on your toolchain.
| Setup | What PrismML cites | Practical notes |
|---|---|---|
| NVIDIA H100 | 291 tok/s gen with MTP; 3,200 tok/s prefill on 2K prompt | Needs PrismML or recent llama.cpp + MTP bundle |
| RTX 4090 | 204 tok/s gen; ~3,060 tok/s prefill | MTP head materially raises decode |
| RTX 3060 12 GB | Community ~74 tok/s at 262K with MTP | Same card reported ~26 tok/s on Bonsai 2 day one |
| Apple Silicon | MLX 2-bit pack | Check model card size on HF; 27B MLX may exceed phone RAM |
If you run agents inside Dockerized harnesses or Rockbox-style devices, budget CPU offload separately: ternary unpack is cheap on GPU but slow on CPU-only paths unless you stay on OCRia-nano-class sizes.
Context length marketing often cites 262K in community tests. Confirm your runtime's KV cache math: at 27B ternary, long agent threads can still exhaust 12 GB when MTP and vision projector load together.
Format pick: PTQ1_0 vs PQ2_0 vs Q2_0 vs MLX
PrismML docs emphasize 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) — upstream llama.cpp compatibility without custom builds.
- MLX 2-bit — single
model.safetensorspack; best for on-device Mac demos.
For CI agents that only need bash + edit loops, start with Q2_0 to avoid pinning exotic binaries in Docker. For daily driver coding on a 4090, PTQ1_0 + MTP is the configuration PrismML's speed table assumes.
Vision note: 27B Bonsai 2.5 GGUF repos include mmproj files for image input. The MLX 27B pack is text-only per docs—do not assume screenshot agents work on MLX without checking the model card.
Migrating from Bonsai 2 27B
Teams on prism-ml/Ternary-Bonsai-2-27B-gguf should plan a side-by-side week:
- Freeze prompt templates and tool schemas you used on 2.0.
- Run the same 20-task harness on 2.5 PTQ1_0.
- Compare turn count, failure loops, and tokens per success.
- Keep 2.0 weights for rollback until SWE tickets pass.
PrismML keeps Bonsai 2 27B repositories online, so migration is not forced. Archive paths matter for reproducible evals you publish externally.
API cost crossover (rough)
At ~$3/$15 per million tokens for frontier APIs (see Gemini 4 Neon pricing for a current anchor), a local 27B wins when:
- Documents cannot leave the laptop (law, health, unreleased code).
- Iterations per hour dominate quality per token.
- Electricity + amortized GPU beat sustained xhigh cloud spend.
It loses when you need frontier reasoning on novel domains where 75.6 SWE still trails 80.6 Qwen3.8 in PrismML's own table. Hybrid stacks—local Bonsai for tool loops, cloud for planning—mirror Antigravity Neon + Hydrogen orchestration patterns, but entirely on your hardware.
Product use cases PrismML highlights
The announcement videos (hosted on Vimeo in the product post) walk pytest repair and screenshot-to-webpage rebuild flows entirely on-device. That matches how privacy-sensitive teams use local document parsers beside coding agents: keep client files off a shared API key.
For founders, the interesting wedge is embedded assistance inside desktop apps—a doc tool, IDE plugin, or supporting agent that calls Bonsai 2.5 through llama.cpp without a per-seat frontier API. Compare against InclusionAI Ling open weights if you need Chinese-English coverage instead of Qwen3.8 lineage.
Limits and verification habits
PrismML's whitepaper backs the table, but vendor benchmarks still deserve your tasks:
| Risk | Mitigation |
|---|---|
| Tool-format sensitivity | Log parse failures across 20 real tickets |
| Vision mmproj mismatch | Load Q8_0 projector only when images arrive |
| Loop regressions | Cap turns; compare to Bonsai 2 baseline |
| License audits | Apache 2.0 still needs NOTICE compliance |
Ternary weights also mean calibration surprises on long-context slots—mirror the discipline we recommend in claimed-vs-verified posts: screenshot your cost and your pass rate, not a launch banner.
How Bonsai 2.5 fits the wider open-model week
November 2026's open-weight lane includes Tencent HY-MT3 translation, Clover diffusion agent preview, and router data showing open weights climbing on OpenRouter in our OpenRouter spend post. Bonsai 2.5 is the local agent entry: same week, different constraint (VRAM).
If you teach agent workshops, add a lab module: download PTQ1_0, run a 10-step tool loop, and compare token throughput with and without MTP. That exercises AI agent workshop prerequisites without a cloud bill.
Security and supply-chain checklist
Open weights remove API logging risk but add binary trust risk:
- Verify SHA256SUMS on 9B/4B/2B repos; confirm whether 2.5 27B ships the same file.
- Pin llama.cpp or PrismML release hashes in SBOMs.
- Treat MTP draft heads as extra attack surface—same signature checks as base GGUF.
- Do not mix random HF reuploads; stay on
prism-mlorg links from prismml.com.
For regulated teams, pair local agents with UK FCA-style agent authorization thinking even when models never phone home: tool side effects still touch production.
What to watch next
PrismML's whitepaper link in the announcement is the place to verify compression math and per-benchmark harness versions. Watch whether Qwen3.8 upstream updates force a Bonsai 2.6 rebase, and whether SWE-bench Verified task versions change community rankings.
If MTP becomes default in the demo setup.sh, retest latency on laptops without discrete GPUs before you promise workshop parity with cloud IDs.
