Prism ML releases Ternary Bonsai 2.5 27B, a GGUF model for agents on llama.cpp
Prism ML has released Ternary Bonsai 2.5 27B, a model built for agents that keeps the Qwen3.8-27B hybrid-attention architecture and runs in GGUF[1] format on llama.cpp with CUDA, Metal and CPU. Its weights are ternary[2], each taking a value from {−1, 0, +1}, with one shared FP16[3] scale factor per group of 128 weights. The model is 1.76 bits per weight and 5.93 GB, against 53.8 GB for the FP16 model.
Across five tool-calling benchmarks it averages 77.2, against 77.7 for FP16. On agentic coding it reaches 90% of FP16, up from 63% for Bonsai 2, and SWE-bench Verified rises from 60.8 to 75.6. Averaged over 16 benchmarks in five categories, general capability scores 82.1 against 84.3 for FP16.
Multi-token prediction (MTP)[4] variants include a draft head that speeds up decoding by 1.5–1.8× on NVIDIA GPUs. Compared with Bonsai 2's release day, decoding is 2.3–3.0× faster on six of the seven NVIDIA GPUs measured, reaching about 300 tokens/s on H200 and B200. The Q2_0 files run on upstream llama.cpp, while PTQ1_0 is still under upstream review.
Read the original huggingface.coDiscussion
Primary sources and details
- Primary source Ternary Bonsai 2.5 27B whitepaper (PDF) github.com
- Primary source llama.cpp PR adding Bonsai 27B runtime support github.com
- Primary source Bonsai 2 27B whitepaper (PDF) github.com
- Official Prism ML company website prismml.com
- Official Bonsai demo and examples repository github.com
- Official Bonsai quickstart documentation docs.prismml.com
- Tool Prism ML llama.cpp fork with low-bit kernels github.com
- Analysis Explainer on Bonsai 2.5 27B for local agentic coding explainx.ai
Sources
-
huggingface.co
prism-ml/Ternary-Bonsai-2.5-27B-GGUF · Hugging Face
-
PrismML new source ·
Ternary Bonsai 2.5 27B




