⏱️ Reading time: 7 min

PrismML released Ternary Bonsai 2.5 27B on November 24, 2026, keeping the same 5.9GB size as its predecessor, but raising its SWE-bench Verified score from 60.8 to 75.6, according to the official PrismML announcement. It is the second version of a model designed to run a full coding agent on a laptop or a Mac, without sending a private repository to a cloud API.

📑 En este artículo
  1. What Is Ternary Bonsai 2.5 27B
  2. Why a 5.9GB Model Matters to Developers
  3. The Numbers: What Improved Over Bonsai 2 and Qwen3.8 27B
  4. How to Run It: llama.cpp, MLX and the Apache 2.0 License
  5. Qwen3.8 27B, DeepSeek V4 Flash and Gemma: Other Paths to Local Agents
  6. What the Hacker News Community Is Saying
  7. What This Means for Developers
  8. Limitations and When Not to Use It
  9. References

What Is Ternary Bonsai 2.5 27B

Bonsai 2.5 27B starts from the same base model as its predecessor, Qwen3.8 27B, and applies ternary quantization to it: each weight is represented with just three possible values instead of the 16 or 32 bits of full precision. The result keeps the same 5.9GB size as Bonsai 2, but notably improves agentic reasoning, according to the company’s announcement.

PrismML was founded by a team of Caltech researchers backed by Khosla Ventures, Cerberus and Google, and continues to receive support from Samsung, according to the same post. The company had already released 2B, 4B and 9B variants of Bonsai 2 based on Qwen3.5 in October 2026, aimed at smaller devices; it has not yet confirmed whether the 2.5 upgrade will also reach those sizes.

Why a 5.9GB Model Matters to Developers

The point of Bonsai 2.5 is not being the most powerful model, but fitting on hardware you already own. PrismML frames it around three concrete use cases: an assistant that resolves issues inside a private repository, an app that prepares reviewable document summaries, and a desktop assistant that runs recurring analysis, all running on the user’s own device instead of an external API (source).

That matters most to anyone working with code or documents that cannot be uploaded to a third-party server: law firms, healthcare teams, regional banks or any company bound by strict confidentiality clauses. It also helps developers who want to avoid the recurring cost of a cloud API for repetitive agentic tasks.

Bonsai 2.5 27B weighs 5.9GB, the same as its 2026 predecessor. Foto de J. Young Jeong en Unsplash

The Numbers: What Improved Over Bonsai 2 and Qwen3.8 27B

PrismML published a direct comparison between the three models across seven coding and tool-use benchmarks, included in its whitepaper:

BenchmarkQwen3.8 27BBonsai 2 27BBonsai 2.5 27B
SWE-bench Verified80.660.875.6
DeepSWE v1.130.1027.0
Terminal-Bench 2.170.852.860.1
AppWorld93.251.290.5
τ³-Bench72.869.173.9
BigCodeBench61.557.260.3
LiveCodeBench v687.683.883.0

The biggest jump is in AppWorld, where Bonsai 2.5 goes from 51.2 to 90.5 points, landing just 2.7 points below the uncompressed Qwen3.8 27B. There is one exception PrismML does not highlight in its own text: on LiveCodeBench v6, Bonsai 2.5 scores 83.0, below Bonsai 2’s 83.8. It is the only one of the seven metrics where the new version regresses, even if by a minimal fraction.

How to Run It: llama.cpp, MLX and the Apache 2.0 License

Bonsai 2.5 27B runs on NVIDIA and Intel GPUs through llama.cpp and on Apple devices (Mac, iPhone, iPad) through MLX; the weights are available as of today under the Apache 2.0 license, according to the announcement. PrismML reports 291 tokens per second with speculative decoding (MTP) on an H100, and prompt processing of a 2,000-token prompt at 3,200 tokens per second; on a consumer RTX 4090, the figure drops to 204 tokens per second with MTP and about 3,060 tokens per second for prompt processing.

This article did not run the model or reproduce these figures: they are the ones PrismML publishes. To verify them on your own hardware, the installation documentation for llama.cpp and MLX is linked in the same official post.

Qwen3.8 27B, DeepSeek V4 Flash and Gemma: Other Paths to Local Agents

Bonsai 2.5 is not the only option for running coding agents outside an API. It is worth comparing it against the rest of the landscape before choosing one:

ModelApproachTarget PlatformStated Strength
Ternary Bonsai 2.5 27BTernary quantization on top of Qwen3.8 27Bllama.cpp (NVIDIA/Intel) and MLX (Apple)Agentic coding in 5.9GB
Qwen3.8 27B (base)Full precision, uncompressedDatacenter GPUReference ceiling across PrismML’s seven benchmarks
DeepSeek V4 FlashMixture-of-experts (MoE) architecture with sparse activationCloud or large GPU; not designed for a single deviceLow inference cost when served from a server
Gemma (Google’s local model family)Lightweight dense models trained for edgeConsumer CPU and GPUDesigned to run entirely with limited RAM, without ternary quantization

The real difference is in the promise: Qwen3.8 27B offers the capability ceiling but requires a datacenter GPU; DeepSeek V4 Flash aims to cut cloud inference costs, not to run on your laptop; Gemma competes in the same edge computing space as Bonsai, but without PrismML’s ternary technique.

PrismML measures Bonsai 2.5’s speed on an H100 and on a consumer RTX 4090. Foto de A. L. Brown en Unsplash

What the Hacker News Community Is Saying

The Hacker News thread about the launch questions the model’s real-world speed outside PrismML’s own testing. User jckahn reported building a Tetris clone fully autonomously with the model running on a 24GB Mac mini, but at a speed of only 7 to 8 tokens per second, far below the 204 tokens per second PrismML reports on an RTX 4090 (comment).

User busfahrer was even more skeptical, saying the last Bonsai model they tried turned out slower than comparable models, and asked whether there is some trick to running it on a single GPU or on CPU, or whether PrismML only uses its own llama.cpp fork (comment). Neither claim is confirmed; these are individual experiences, not a controlled measurement, but they mark a gap between PrismML’s benchmark and what part of the community reports.

What This Means for Developers

If you work in backend development or at a consultancy handling client code under an NDA, and you are considering building an agent that reads private files without touching an external API, Bonsai 2.5 is a reasonable first candidate to try, especially if you already have an RTX 4090 or an M-series Mac. Before putting it into a real workflow, it is worth measuring tokens per second on your own hardware, given the gap some Hacker News users report between the official benchmark and everyday use.

The Apache 2.0 license lets you use it in a commercial product without asking permission, which matters if you are evaluating replacing part of an integration that currently relies on a paid API. And if your use case needs under 5.9GB, it is worth waiting to see whether PrismML brings the same 2.5 jump to the 2B, 4B and 9B variants it released in October.

Limitations and When Not to Use It

The figures in the comparison table are self-reported: PrismML does not cite an independent third-party evaluation in its announcement. Bonsai 2.5 still trails the uncompressed Qwen3.8 27B on five of the seven benchmarks, with gaps of up to 10.7 points on Terminal-Bench 2.1 (60.1 versus 70.8) and 3.1 on DeepSWE v1.1 (27 versus 30.1). For tasks where that margin matters, such as large multi-file refactors, the uncompressed base model remains more reliable.

PrismML itself warns that agentic workflows are sensitive to model degradation: a small error compounds across successive tool calls and can derail an entire long-running task. Bonsai 2.5 reduces that problem compared to Bonsai 2, but does not eliminate it, and the regression on LiveCodeBench v6 (83.0 versus 83.8) shows the improvement is not uniform across every benchmark. If your agent needs very long task chains and you cannot tolerate intermediate failures, it is still worth validating it against your own cases before replacing a cloud model.

References

Featured image: Foto de Markus Spiske en Unsplash

📬 Get new articles by email

We only email about big articles (1-2 a month).

How each article is made (sources, testing and editorial criteria): How we work.

Did it work for you? Got a different error? Say so below: questions get answered and help the next reader.

Leave a comment

El Solitario Editorial

Article prepared by the El Solitario editorial team from cited sources, under the editorial responsibility of Luis Navarro. More details in "How we work".

0 Comments

Leave a Reply

Avatar placeholder

Your email address will not be published. Required fields are marked *

You can include code inside <code>…</code> or, for several lines, <pre><code>…</code></pre>.

This site uses Akismet to reduce spam. Learn how your comment data is processed.