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 Verified 60.8%); the 2.5 variant and the 75.6% / ~204 tok/s headline 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 the 60.8% third-party-corroborated number, with 75.6% as vendor-reported pending independent eval. Qwen-lineage competitors (Qwen3.6-27B self-reported 77.2%, Qwen3-Coder-Next 80B-A3B self-reported 70.6%) sit in the same unreproduced band. Carry as “the 60.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: 27B ternary-weight coding agent at 5.9 GB; SWE-bench Verified 60.8% (v2 baseline) → 75.6%; full-precision reference scores 80.6% per PrismML’s posting (vendor-reported until third-party eval). AppWorld 51.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

  1. Ternary-weight architecture: Uses −1 / 0 / +1 weights 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%).
  2. Consumer-GPU deployable: Runs at ~204 tok/s on a single RTX 4090 with multi-token prediction; ships on both llama.cpp and MLX.
  3. Apache-2.0 licensed: Fully open-weight; cheapest reproducible floor for self-hosted coding agents in the Qwen-lineage weight-share pattern.