The Spectrum Dispatch News

technology

Ternary Bonsai 2.5 27B: Compact AI Model for On-Device Agentic Tasks

PrismML releases upgraded 27-billion-parameter model optimized for local coding and tool use, maintaining 5.9 GB footprint while improving multi-turn task execution.

Ternary Bonsai 2.5 27B: Compact AI Model for On-Device Agentic Tasks

PrismML announced Ternary Bonsai 2.5 27B today, an upgraded version of its previous Ternary Bonsai 2 27B model designed to improve agentic coding and private knowledge work on local devices. Based on Qwen 3.8 27B, the new model retains the previous release’s 5.9 GB footprint while substantially strengthening capabilities for building agents that work with private files and tools on-device, according to the announcement.

Ternary Bonsai 2.5 27B: Compact AI Model for On-Device Agentic Tasks

The upgrade focuses on making the model more effective across long sequences of tool calls—interpreting results, adjusting when steps fail, and maintaining task objectives through entire interactions. According to PrismML, Ternary Bonsai 2.5 completes tasks in fewer turns, uses fewer tokens, and delivers results faster and more accurately compared to Ternary Bonsai 2. The company also addressed excessive thinking and repetitive loops present in the previous model.

Agentic workflows are particularly sensitive to model degradation, as small errors can compound across successive tool calls and derail entire tasks. PrismML states that Ternary Bonsai 2.5 significantly narrows the performance gap to the full-precision base model while retaining its compact footprint.

Performance benchmarks show notable improvements in agentic execution, coding, and multi-turn tool use. On a single NVIDIA H100 GPU, Ternary Bonsai 2.5 27B achieves a generation speed of 291 tokens/second with MTP (multi-turn processing) and processes a 2,000-token prompt at 3,200 tokens/second. On consumer-grade hardware like an RTX 4090, it delivers 204 tokens/second generation speed with MTP and approximately 3,060 tokens/second prompt processing speed.

The model runs on NVIDIA and Intel GPUs via llama.cpp and on Apple devices (Mac, iPhone, iPad) via MLX, expanding deployment flexibility. Model weights are available under the Apache 2.0 License.

Local deployment enables products to process sensitive material on users’ devices without transmitting data to servers. This creates opportunities for coding assistants working through issues in private repositories, document applications preparing reviewable summaries, or desktop assistants handling recurring analysis tasks. PrismML, founded by Caltech researchers with support from Khosla Ventures, Cerberus, and Google, emphasizes that the model strengthens capabilities while maintaining the compact footprint necessary for practical deployment.

Key facts

  • Ternary Bonsai 2.5 27B retains 5.9 GB footprint while improving agentic task execution
  • Achieves 291 tokens/second on NVIDIA H100 and 204 tokens/second on RTX 4090 consumer GPUs
  • Model based on Qwen 3.8 27B and runs on NVIDIA, Intel, and Apple hardware via llama.cpp and MLX
  • Improves performance on agentic execution, coding, and multi-turn tool use compared to previous version
  • Model weights available under Apache 2.0 License

Sources

← All posts