← HN · Best

Hacker News·3 min read

Ternary Bonsai 2.5 27B

Learn how the model’s speed, memory usage, and benchmark position affect practical deployment.

Running the Q2 GGUF version of Ternary Bonsai 2.5 on a Mac Mini M5 Pro with 24 GB RAM yields about 22‑25 tokens per second. The author measured a prompt evaluation time of 2.05 seconds and a prompt‑throughput of 222.9 tok/s, then generated 1,860 tokens in 83.49 seconds, which works out to 22.3 tok/s. The first token latency sits at 2.12 seconds.

The hardware setup includes a 512 GB SSD and the model can hold a 128k‑token context in memory without trouble. Those numbers come from a single‑threaded Python generation script, so the reported speed reflects pure CPU inference rather than any GPU boost. The timing breakdown shows the prompt stage is fast, while the generation stage dominates overall latency.

The author notes the model’s performance matches Opus 4.6 on the SWE‑bench verification, even though Opus was released in February 2026. They wonder whether this is due to Ternary Bonsai “bechmaxxing” the benchmark, a shift in the benchmark itself, or simply frontier‑like behavior appearing in much smaller models after a six‑month lag. The comparison suggests the ternary quantization can close the gap to larger, higher‑bit models on certain tasks.

For developers, the key takeaway is that a 27‑billion‑parameter model can run on modest desktop hardware while supporting very long contexts. The modest token‑per‑second rate means real‑time chat‑style applications will need batching or latency‑hiding tricks, but batch processing of large documents is feasible. Memory efficiency also opens the door to on‑device inference where GPU resources are unavailable.

TakeawayTernary quantization lets a 27B model run on a laptop‑class Mac with long context support, though generation speed remains modest.

Prodigy briefing — continue on the original for source material, discussion, and updates.

Read original ↗