MODEL
Ternary Bonsai 2.5
modeltopic-note
Overview
Ternary Bonsai 2.5 is PrismML‘s 27B-parameter agent-trained coding model built on Qwen3.8-27B, compressed to 5.9 GB using ternary (−1 / 0 / +1) weights — roughly 6× memory reduction vs standard FP16 at the same parameter count. Apache-2.0, runs at ~204 tok/s on a single RTX 4090 with multi-token prediction, deployable via llama.cpp and MLX. Direct lineage from Bonsai 27B → Bonsai 2 27B → Ternary Bonsai 2.5; the ternary-weight path is the architectural step, not just a distillation generation.
Timeline
- 2026-11-27-AI-Digest — Carry correction from 2026-11-26-AI-Digest: today’s digest surfaces that PrismML’s actually shipping model is Ternary Bonsai 2 27B (released
2026-09-17, Apache-2.0, 262k context, third-party SWE-bench Verified60.8%); the2.5variant and the75.6%/~204 tok/sheadline numbers are PrismML-reported only and not yet reproduced by any third-party eval. Re-anchor the prior-digest “cheapest reproducible floor for self-hosted coding agents this cycle” framing to the60.8%third-party-corroborated number, with75.6%as vendor-reported pending independent eval. Qwen-lineage competitors (Qwen3.6-27Bself-reported77.2%,Qwen3-Coder-Next 80B-A3Bself-reported70.6%) sit in the same unreproduced band. Carry as “the60.8%third-party number is the defensible floor;75.6%is vendor-reported pending independent eval.” Log against MOC - Open Source Models and MOC - Agentic Coding. - 2026-11-26-AI-Digest — Released:
27Bternary-weight coding agent at5.9 GB; SWE-bench Verified60.8%(v2baseline) →75.6%; full-precision reference scores80.6%per PrismML’s posting (vendor-reported until third-party eval). AppWorld51.2→90.5; LiveCodeBench v6 dips slightly. First mainstream ternary-weight coding model to clear the~75%SWE-bench Verified floor on consumer-GPU hardware.
Key Developments
- Ternary-weight architecture: Uses
−1/0/+1weights instead of standard floating-point, enabling~6×memory compression vs FP16 while retaining~94%of full-precision SWE-bench Verified performance (75.6%/80.6%). - Consumer-GPU deployable: Runs at
~204tok/s on a single RTX 4090 with multi-token prediction; ships on bothllama.cppandMLX. - Apache-2.0 licensed: Fully open-weight; cheapest reproducible floor for self-hosted coding agents in the Qwen-lineage weight-share pattern.