Free · WaitlistJoin the waitlist for the free 2-day Vibecoding & AI Agents Intensive (autonomous Hermes + DeepSeek agent · led by Jemal Hamidun, Head of AI at Alpina Digital & MIPT)Join the waitlist →
ReleaseCode / SDK · ActionableThe Decoder→ original

PrismML Shrinks a 54 GB Model to 5.9 GB, and It Now Solves 75.6% of Code-Fixing Tasks, Up from 60.8%

PrismML has shrunk a 27-billion-parameter model from 54 GB to 5.9 GB. Each weight now stores only −1, 0, or +1 instead of a 16-bit number. On SWE-bench Verified, where AI fixes bugs in real open-source projects, Ternary Bonsai 2.5 solves 75.6% of tasks, compared with 60.8% for the previous version. The full-size Qwen scores 80.6%. The model gets stuck in loops less often and spends fewer tokens. For local agents running on a single gaming GPU, it is already a workable option.

AI-processed from The Decoder; edited by Hamidun News
PrismML Shrinks a 54 GB Model to 5.9 GB, and It Now Solves 75.6% of Code-Fixing Tasks, Up from 60.8%
Source: The Decoder. Collage: Hamidun News.
Listen to article
Article Fact Sheet & Key Figures
ParameterDetails
Primary sourceThe Decoder ↗
Editor-in-Chief
Key metric #1AppWorld (an agent working across a set of applications): from 51.2 to 90.5 points
Key metric #2An RTX 4090 delivers about 204 tokens per second with multi-token prediction
Key metric #3Apache 2.0 license, runs via llama.cpp and MLX on Mac, iPhone, and iPad

Running a large neural network at home or on a laptop is held back by something mundane: memory. A model with 27 billion parameters (the number of adjustable "knobs" inside the network) takes about 54 GB in the standard 16-bit format, which is already server-accelerator territory. The startup PrismML, which grew out of a research group at Caltech, has released Ternary Bonsai 2.

5 27B. It takes up just 5.9 GB because each weight stores only one of three values: −1, 0, or +1.

On SWE-bench Verified, a test in which the model must fix bugs in real open-source projects, it solves 75.6% of tasks, while the previous version solved 60.8%.

The full-size Qwen, on which everything is built, scores 80.6%.

How three values replace full-precision weights

Ternary Bonsai 2.5 27B is built on Qwen3.8-27B. Normally, each weight in a neural network is stored as a 16-bit number. PrismML applied ternary quantization: a weight can only be −1, 0, or +1. Imagine that instead of a detailed volume scale from 0 to 100, you have a switch with three positions: "against," "neutral," and "for." Each cell holds much less information, but the entire set of weights shrinks roughly ninefold, from 54 GB to 5.9 GB. The new version is the same size as Bonsai 2, which means quality improved without adding memory.

In July, the company showed the first Bonsai 27B, built on an older Qwen model. Its most compact variant took up less than 4 GB and fit directly on an iPhone.

What improved in agentic work

Version 2.5 is tuned for tasks where the model makes long chains of tool calls: it reads a repository, runs commands, edits files, checks the result, and repeats. Over such long runs, weaker models often get stuck in loops or drift into lengthy reasoning. According to The Decoder, the new Bonsai uses fewer passes and tokens than Bonsai 2, and it falls into these traps less often.

The numbers are as follows:

  • SWE-bench Verified (fixing real bugs in open-source projects): from 60.8% to 75.6% of tasks solved. The full-size Qwen scores 80.6%.
  • AppWorld (an agentic benchmark in which the model controls a set of applications): from 51.2 to 90.5 points. This is only slightly behind the base model.
  • LiveCodeBench v6 (coding tasks): the new version scored slightly lower than its predecessor.

So the compression is not free, and there is a small drop in pure code generation. But in agentic scenarios, the gap with the original on SWE-bench has narrowed to about five percentage points, and on AppWorld it has nearly disappeared.

Speed, license, and where to run it

On an RTX 4090, the model delivers about 204 tokens per second with multi-token prediction enabled, meaning the network predicts several tokens in a single step. For an interactive agent, that is a comfortable speed: a chain of dozens of calls does not stretch into minutes of waiting.

The weights are published under the Apache 2.0 license, so they can be used in commercial products without separate agreements. It runs through llama.cpp on Nvidia and Intel graphics cards, and on Apple devices (Mac, iPhone, iPad) it runs through MLX. PrismML's investors include Khosla Ventures, Google, and Samsung.

What this means for developers

First, a local agent at the level of "almost a full-size Qwen" no longer requires expensive hardware. If you are building an internal coding assistant or automation where data cannot be sent to the cloud, 5.9 GB lets you run the model on an ordinary workstation.

Second, test the model on your own scenarios, not just on benchmarks. The SWE-bench and AppWorld figures come from the release materials, and stability over long chains in your stack may differ. This is especially true for tasks similar to LiveCodeBench, where the new version is slightly weaker than its predecessor.

Third, ternary models are no longer lab exotica. If the approach keeps closing the quality gap with the originals, the economics of local AI will change: less memory, less energy, and more scenarios on phones and laptops.

Story

Key Questions Answered

How three values replace full-precision weights?

Ternary Bonsai 2.5 27B is built on Qwen3.8-27B. Normally, each weight in a neural network is stored as a 16-bit number. PrismML applied ternary quantization: a weight can only be −1, 0, or +1. Imagine that instead of a detailed volume scale from 0 to 100, you have a switch with three positions: "against," "neutral," and "for." Each cell holds much less information, but the entire set of weights shrinks roughly ninefold, from 54 GB to 5.9 GB.

What improved in agentic work?

Version 2.5 is tuned for tasks where the model makes long chains of tool calls: it reads a repository, runs commands, edits files, checks the result, and repeats. Over such long runs, weaker models often get stuck in loops or drift into lengthy reasoning. According to The Decoder, the new Bonsai uses fewer passes and tokens than Bonsai 2, and it falls into these traps less often. The numbers are as follows: SWE-bench Verified (fixing real bugs in open-source projects): from 60.8% to 75.6% of tasks solved.

What are the key details on Speed, license, and where to run it?

On an RTX 4090, the model delivers about 204 tokens per second with multi-token prediction enabled, meaning the network predicts several tokens in a single step. For an interactive agent, that is a comfortable speed: a chain of dozens of calls does not stretch into minutes of waiting. The weights are published under the Apache 2.0 license, so they can be used in commercial products without separate agreements.

ZK
Zhemal Khamidun — CPO at Alpina Digital, product manager of AlpinaGPT. Building AI products since 2019. Hamidun News is a pet project that grew into a production aggregator with 6,000+ readers.
✦ Free · Waitlist · Hermes + DeepSeek

Free 2-Day Vibecoding & AI Agents Intensive

Day 1: the autonomous Hermes + DeepSeek AI agent — vibecoding and development on par with Claude Code / Codex / Gemini. Led by Jemal Hamidun, Head of AI at Alpina Digital and academic supervisor at MIPT. Right after you register with our bot Nika: the recording + 11 materials from the previous intensive.

Join the waitlist →Nomad AI Workspace
What do you think?
Loading comments…