AI AI Pulse

A 27B model in 5.9 GB keeps 94% of its coding score

AI News Source: PrismML

PrismML released Ternary Bonsai 2.5 27B, a model with weights limited to -1, 0 and 1 that fits in 5.9 GB, about one ninth of full precision. SWE-bench Verified rose from 60.8 to 75.6 against 80.6.

What happened

On November 24, PrismML released Ternary Bonsai 2.5 27B, built on Qwen3.8 27B. Its weights take only three values, -1, 0 and 1. The most compact format occupies 5.9 GB of memory, against roughly 53.8 GB at full precision, or about one ninth. The model is free to download under Apache 2.0.

PrismML comes out of a Caltech team, backed by Khosla Ventures, Cerberus and Google, with continued support from Samsung. Its pitch is narrow: run coding and knowledge-work agents on personal devices.

Where the scores moved

Against the September Bonsai 2 27B, the upgrade targets agentic coding, multi-turn tool use and long-horizon execution.

  • SWE-bench Verified: 60.8 to 75.6 (full precision 80.6)
  • AppWorld: 51.2 to 90.5 (full precision 93.2)
  • τ³-Bench: 69.1 to 73.9 (full precision 72.8, now ahead)
  • Terminal-Bench 2.1: 52.8 to 60.1 (full precision 70.8)
  • DeepSWE v1.1: 0 to 27 (full precision 30.1)
  • BigCodeBench: 57.2 to 60.3, LiveCodeBench v6: 83.8 to 83.0

The company's own aggregates: three coding benchmarks average 37.9 to 54.2, two tool-calling benchmarks average 60.2 to 82.2.

The longer the task, the bigger the loss

Sort the table by how much of the gap was recovered and a pattern appears. SWE-bench returns to 93.8% of full precision, AppWorld to 97.1%, and τ³-Bench goes past it. Terminal-Bench reaches only 84.9%, DeepSWE 89.7%.

That matches the problem PrismML admits to. Compressed models accumulate error on long runs: one bad step leads to repeated failures. The new version works on using tool feedback, recovering from a failed action, and cutting wasted reasoning and loops. It fixes drifting, not ignorance.

The τ³-Bench result deserves a note. Under ternary weights, short tool calls lose almost nothing. What suffers is holding an objective across dozens of steps.

Speed and deployment

On a single H100, generation runs at 291 tokens per second with MTP, and a 2,000-token prompt processes at about 3,200 tokens per second. On a consumer RTX 4090, 204 tokens per second, with prompt processing near 3,060 tokens per second.

Two runtimes: llama.cpp on NVIDIA and Intel GPUs, MLX on Mac, iPhone and iPad. That is what 5.9 GB actually buys. Not parameter count, but a model that fits on a phone.

What to discount

First, every figure is vendor-run. The whitepaper documents the settings, but no third party has reproduced them.

Second, 5.9 GB is the weights, not the memory a running application needs. Context, KV cache and concurrent requests all add to it.

Third, on-device does not mean fully offline. Once an agent calls tools, code search, package managers and API requests still leave the machine.

Fourth, the route assumes you accept the precision loss from ternary weights. It suits error-tolerant coding and document work. Tasks needing exact numbers or strict formats need separate testing.

What to watch

Two things: whether a third party reproduces these scores inside the same agent harness, and how much of the 291 tokens per second survives in ordinary deployments without MTP.

Nothing here is investment advice.

Source: PrismML

Related