# PrismML squeezes a 27B coding-capable model into 5.9GB with three-value weights

> Ternary Bonsai 2.5 27B jumps to 75.6% on SWE-bench Verified, close to the full-size Qwen model, and runs at about 204 tokens per second on an RTX 4090.

- URL: https://devisdead.ai/news/prismml-squeezes-a-27b-coding-capable-model-into-5-9gb-with-three-value-weights
- Published: 2026-11-25T16:43:34Z
- Author: DevIsDead Newsroom
- Section: Dev
- Tags: open-weights, quantization, local-models, qwen, llama-cpp
- Originally reported by The Decoder (https://the-decoder.com/prismml-squeezes-an-agent-based-coding-model-with-27-billion-parameters-into-5-9-gb/).

PrismML has updated its extremely compressed model, and the agent scores took a big jump. [The Decoder](https://the-decoder.com/prismml-squeezes-an-agent-based-coding-model-with-27-billion-parameters-into-5-9-gb/) has the numbers.

Ternary Bonsai 2.5 27B is based on Qwen3.8-27B and fits in 5.9GB of memory, the same as the previous version. The trick is ternary quantization: each weight is -1, 0 or +1 instead of a 16-bit number. The same model in standard 16-bit form takes about 54GB.

## Built for agents

This release targets long agent runs with lots of tool calls. PrismML says it gets there in fewer steps and tokens than the last version and is less prone to loops or endless reasoning. On SWE-bench Verified it climbs from 60.8% to 75.6%, against 80.6% for the full Qwen model. On the AppWorld agent benchmark it goes from 51.2 to 90.5, just behind the base model. LiveCodeBench v6 dipped slightly.

## Where it runs

With multi-token prediction it produces about 204 tokens per second on an RTX 4090. Weights are Apache 2.0, and it runs on Nvidia and Intel graphics cards through llama.cpp, and through MLX on Macs, iPhones and iPads. PrismML started as a Caltech research team and counts Khosla Ventures, Google and Samsung among its backers. Its first Bonsai 27B came out in July on an older Qwen, and its smallest variant fit in under 4GB.

A model within five points of its full-size parent on SWE-bench that fits on a gaming GPU is a serious option for local coding agents.

**[Scoreboard](/scoreboard) update:** AI +1. A capable coding agent now fits on one gaming card.

Stay undead.
