PrismML shrinks a 54 GB language model to 5.9 GB by reducing every weight to just three possible values: −1, 0, or +1. The release of Ternary Bonsai 2.5 27B, based on Qwen3.8-27B, demonstrates how aggressive quantization alters memory demands for enterprise deployment without abandoning underlying capability.

Ternary compression opens a viable route toward local, autonomous execution that bypasses recurring cloud inference expenses. Backed by investors including Khosla Ventures, Google, and Samsung, the Caltech spinout PrismML initially introduced Bonsai 27B in July using an older Qwen architecture. As noted in our October 18 coverage, Bonsai-1.7B with this storage scheme exhibits a perplexity of 16.5, whereas the original Qwen3-1.7B sits at 12.3, illustrating the baseline precision trade-off that engineering teams face.

Quantization Mechanics and Tool Chains

Full-precision architectures consume significant resources because every parameter requires 16-bit allocation. Ternary quantization discards this volume by constraining parameters strictly to ternary values (−1, 0, and +1), enabling Bonsai 2.5 to maintain a 5.9 GB memory footprint identical to its predecessor.

"Bonsai 2.5 is designed to perform more reliably on agentic tasks that involve long chains of tool calls."

This structural adjustment directly changes operational reliability during complex workflows. Because the model requires fewer passes and tokens than Bonsai 2, it reduces the probability of entering loops or drawn-out reasoning sequences when executing consecutive tool interactions. Can extremely compressed weights retain sufficient precision for complex tasks without catastrophic degradation in reasoning?

Benchmark Performance Across Agent Environments

Comparative evaluations establish the scope of accuracy retention under extreme compression. On the SWE-bench Verified coding evaluation, Ternary Bonsai 2.5 scores 75.6 percent, up from 60.8 percent in the previous iteration, while the full-precision Qwen model achieves 80.6 percent.

Agent benchmarks show a similar closing of the performance spread. On AppWorld, Bonsai advances from 51.2 to 90.5, trailing just behind the uncompressed base model. In contrast, on LiveCodeBench v6, the new iteration records a slightly lower result than its predecessor, showing that performance across diverse tasks is not entirely uniform.

The model generates about 204 tokens per second on an RTX 4090 using multi-token prediction.

Throughput at this speed allows consumer hardware to handle operational workloads that previously required dedicated cloud nodes.

Hardware Portability and Infrastructure Budgets

Distributed under an Apache 2.0 license, the model weights run through llama.cpp on Nvidia and Intel graphics cards, alongside Apple MLX support across Mac, iPhone, and iPad hardware. PrismML previously showed that its smallest Bonsai variant required less than 4 GB of memory, making direct execution on an iPhone functional. Running local models at 204 tokens per second on single RTX 4090 cards replaces heavy cloud compute contracts with owned edge silicon. Corporate deployment roadmaps must weigh whether specialized agent performance at 75.6 percent justifies moving inference workloads out of centralized cloud clusters and directly into localized hardware environments.

Against the field

PrismML packs a 27B model into just 5.9 GB, demonstrating that viable autonomous software no longer demands endless data center contracts. By mid-July the company already claimed its Bonsai 27B brought multi-step reasoning previously tied to server clusters down to an iPhone. Yet the regression on LiveCodeBench v6 reveals that extreme weight cutting still behaves unevenly across real-world workloads. Ditching the data center bill sounds neat until the missing benchmark points have to be recouped through manual engineering.

Our stories: Bonsai 27B: On-Device AI Ends Cloud Monopoly (July 16).

Quantization & PruningOn-Device AIModel InferenceCost Reduction