← Back to models

Ternary Bonsai 2.5 27B

Prism ML, Inc. (United States) November 24, 2026

Parameters

27.36B total: 24.35B language blocks + 2.54B embeddings/LM head + 0.47B vision tower

Context Window

262,144 tokens

License

Apache 2.0

Key Features

Agent-focused post-training upgrade to Ternary Bonsai 2 27B, built from Qwen3.8-27B for local coding, long-horizon tool use, private knowledge work and multimodal assistance. Bonsai 2.5 retains the underlying model's 64-block dense hybrid-attention architecture, comprising approximately 75% linear-attention layers and 25% full-attention layers with SwiGLU MLPs, RoPE and RMSNorm. Its parameter accounting consists of 24.35B parameters in the language blocks, 2.54B in the embeddings and language-model head, and a 0.47B-parameter, 27-block vision tower. The language weights remain exactly ternary, taking values from minus one, zero and plus one with one shared FP16 scale per group of 128 weights. PrismML stores those trits in a blockwise Hadamard-rotated basis, producing an advertised 1.76 bits per weight and 5.93 GB model footprint versus 53.8 GB for the FP16 Qwen3.8-27B model. The release focuses on maintaining objectives through long sequences of tool calls, responding to intermediate results, recovering from failed steps, reducing unnecessary thinking and avoiding the repetitive loops observed in Bonsai 2. It provides xhigh reasoning effort by default, a shorter medium mode, and non-thinking instruction operation. PrismML does not disclose the additional post-training dataset, method, token budget or compute. Publisher-run agentic evaluations report an average of 77.2 across tau2-Bench, tau3-Bench, BFCL v3, BFCL v4 and AppWorld, compared with 77.7 for the full-precision base and 67.0 for Bonsai 2. Individual Bonsai 2.5 scores include 82.0 on tau2-Bench, 73.9 on tau3-Bench, 72.6 on BFCL v3, 67.2 on BFCL v4 and 90.5 on AppWorld. Across Terminal-Bench 2.1, SWE-bench Verified and DeepSWE, its reported coding average rises from Bonsai 2's 37.9 to 54.2, retaining approximately 90% of the FP16 model's 60.5 average; corresponding scores are 60.1, 75.6 and 27.0. A separate 14-benchmark general-capability evaluation reports an average of 82.1 versus 84.3 for FP16, with category averages of 84.3 for knowledge and reasoning, 90.1 for mathematics, 71.7 for coding, 80.9 for instruction following and 83.7 for vision. The official GGUF repository supplies PTQ1_0, PQ2_0 and Q2_0 packings both with and without an integrated one-layer MTP draft head, plus separate BF16 and Q8_0 multimodal projection files. The smallest released PTQ1_0 file occupies approximately 5.99 GB, while its MTP variant occupies 6.23 GB. MTP improves decode throughput by a publisher-reported 1.5 to 1.8 times on NVIDIA GPUs; with PrismML's latest testing kernels, reported generation reaches 306 tokens/s on H200, 291 on H100, 309 on B200 and 204 on RTX 4090. Q2_0 runs through upstream llama.cpp, while PTQ1_0 and PQ2_0 use PrismML's llama.cpp fork pending broader upstream support. The approximately 8.88 GB MLX repository packages affine two-bit language weights, an FP16 vision tower, an optional 265.5 MB MTP head and a bundled loader for text and image inference on Apple Silicon. PrismML also provides CUDA, Metal, CPU and SYCL paths, while describing a measured Qualcomm Hexagon phone path whose required fix was not yet released. The publisher identifies longer autonomous workloads spanning hours and multiple context windows as an unevaluated limitation and target for the next release.

Paper / Source

https://github.com/PrismML-Eng/Bonsai-demo/blob/main/bonsai-2-5-27b-whitepaper.pdf

Official Links