PrismML's Ternary Bonsai 2.5 Squeezes a 27B Agent Model Into 5.93 GB and Keeps Its Tool Calling Level With Full Precision
PrismML released Ternary Bonsai 2.5 27B on November 24, 2026 under Apache 2.0. Built on Qwen3.8-27B with every language-model weight set to -1, 0 or +1, the 5.93 GB model scores 77.2 on PrismML's five-benchmark tool-calling average against 77.7 for the 53.8 GB FP16 original, and lifts SWE-bench Verified from 60.8 to 75.6 over Bonsai 2.
Running a capable coding agent on a laptop usually means choosing between a small model that loses the thread and a large one that will not fit. PrismML’s new Ternary Bonsai 2.5 27B tries to dodge that choice: it stores a 27-billion-parameter model in 5.93 GB by restricting every language-model weight to one of three values, and the company says its tool-calling scores now sit level with the full-precision original.
PrismML announced Ternary Bonsai 2.5 27B on November 24, 2026, as a replacement for Ternary Bonsai 2 27B. The weights are on Hugging Face under the Apache 2.0 license, with the main GGUF repository created that day. The model is derived from Qwen3.8-27B, a hybrid-attention language model, with the architecture unchanged.
Three values per weight
Each language-model weight in Bonsai takes the value -1, 0 or +1, with one shared FP16 scale factor for every group of 128 weights. PrismML stores the matrices in a rotated basis: each is transformed blockwise with an orthogonal Hadamard rotation before the ternary values are assigned, and the rotation is folded into the stored weights offline so it costs no extra bits. The result is 1.76 bits per weight and a 5.93 GB file, against 53.8 GB for the FP16 model.
The model counts 27.36 billion parameters in total: 24.35 billion in the language backbone, 2.54 billion in the embedding and output head, and a 0.47 billion vision tower. It accepts text and images, carries a 262,144-token context, calls tools natively and reasons before answering, with xhigh as the default reasoning effort and medium as the alternative. PrismML’s documentation notes that low effort is not supported.
What changed since Bonsai 2
The base model, ternary format, file size and runtimes are the same as in Bonsai 2. PrismML says the work went into behavior over long tasks: reading tool results, recovering when a step fails and keeping the objective in view, while cutting the over-thinking and repetitive loops of the earlier release.
All scores below are PrismML’s own, from its model card and documentation, in thinking mode at xhigh effort. On SWE-bench Verified, Bonsai 2.5 scores 75.6, up from 60.8 for Bonsai 2 and against 80.6 for FP16 Qwen3.8-27B. On DeepSWE it reaches 27.0, where Bonsai 2 scored zero and FP16 scores 30.1. AppWorld, where agents write code against the APIs of nine everyday apps, rises from 51.2 to 90.5, close to FP16’s 93.2. Terminal-Bench 2.1 improves from 52.8 to 60.1, still well short of FP16’s 70.8.
Across five tool-calling benchmarks (τ²-Bench, τ³-Bench, BFCL v3, BFCL v4 and AppWorld), Bonsai 2.5 averages 77.2 against 77.7 for FP16, and it beats FP16 on τ²-Bench, τ³-Bench and BFCL v3. BFCL v4 is the exception, where it trails FP16 by 3.6 points. On a three-benchmark agentic coding average it scores 54.2 versus 60.5, about 90% of full precision, and on general capability it stays within about two points. Not every number moved up: on LiveCodeBench v6, the release scores 83.0, slightly below Bonsai 2’s 83.8.
PrismML also compares Bonsai 2.5 with conventional low-bit builds of the same base model, including Unsloth and GSQ-RCO quantizations between 7.6 GB and 10.1 GB. It says Bonsai 2.5 is the smallest file in that comparison and leads every build under 10 GB on both agentic suites. On AppWorld, it finishes every task in a scenario 89.3% of the time, against 80.4% for the 10.1 GB IQ3_XXS build.
Running it
The GGUF release comes in three packings of the same ternary model. PTQ1_0, the dense 5.93 GB format, and PQ2_0 need PrismML’s llama.cpp fork, which the company says is under upstream review. Q2_0 runs on stock llama.cpp. A 2-bit MLX export covers Apple devices for text only, and the vision tower ships as a separate optional file.
New in this release are variants with a built-in multi-token prediction draft head for speculative decoding, which PrismML says speeds up decoding by 1.5 to 1.8 times on NVIDIA GPUs. With it, the company cites 291 tokens per second of generation on a single H100 and 204 on a consumer RTX 4090, with prompt processing of about 3,200 tokens per second on a 2,000-token prompt on the H100 and roughly 3,060 on the 4090.
PrismML’s whitepaper also notes what it has not yet measured: workloads that run for hours across many context windows.
- #PrismML
- #Bonsai
- #Open Weights
- #Quantization
- #Local AI
Author
Raj M
Contributor
AI Systems Architect is a seasoned technology leader with over 15 years of experience in the IT industry working with Fortune 500 companies. With a solid foundation in multi-agent systems, open-source LLM infrastructure, and enterprise deployment, he excels at building scalable production-grade AI platforms.