AI Newsway

PrismML Squeezed a 27B Reasoning Model Into 5.95GB Without Losing the Reasoning

Bonsai 2 27B keeps 98.2% of FP16 benchmark performance at 1.72 bits per weight

|5 min read0
AI Summary
PrismML released Bonsai 2 27B, a ternary-weight compression of Alibaba's Qwen3.8-27B that shrinks the model from roughly 54GB to 5.95GB while retaining 98.2% of full-precision benchmark performance. Every language weight is stored as -1, 0 or +1, reaching 1.72 bits per weight. It averages 84.78 across 14 thinking-mode benchmarks, far above a conventional IQ2_XXS build at 72.59. The Caltech-founded startup has raised a $22.25 million seed round.
Compression research is moving reasoning models off servers and onto local hardware, where Bonsai 2 27B runs in under 6GB.
Compression research is moving reasoning models off servers and onto local hardware, where Bonsai 2 27B runs in under 6GB.

Sub-4-bit compression is normally where reasoning models stop reasoning. Chain-of-thought gets shorter, tool calls start failing, and the benchmark averages fall off a cliff. PrismML released a model on Thursday that claims to sit well below that line and keep working.

Bonsai 2 27B compresses Alibaba's open-weight Qwen3.8-27B from roughly 54GB at FP16 down to 5.95GB, a footprint small enough for a standard laptop or a single GPU. Per the model card published on Hugging Face, it retains 98.2% of the original's measured intelligence.

Key takeaways

  • Bonsai 2 27B averages 84.78 across 14 thinking-mode benchmarks, against 72.59 for a conventional IQ2_XXS build of the same base model at a larger footprint.
  • The model stores every language weight as βˆ’1, 0 or +1, landing at 1.72 bits per weight β€” roughly a 9.3x reduction from FP16.
  • PrismML, led by Caltech professor Babak Hassibi, has raised a $22.25 million seed round from Khosla Ventures, Cerberus Capital and Caltech.

What ternary weights actually buy

A conventional model stores each weight as a 16-bit number. PrismML's approach allows only three values β€” minus one, zero, or plus one β€” with a single shared scale factor for every group of 128 weights. A ternary value carries about 1.585 bits of information, and once the shared scales and a small set of higher-precision tensors are amortized in, the whole model lands at 1.72 bits per weight.

The interesting detail is what PrismML does not exempt. Embeddings, attention projections, MLP projections and the LM head are all ternary, which matters because low-bit builds routinely keep sensitive tensors at higher precision while advertising the low number. The model card makes that comparison explicit, noting that a widely used "2-bit" build of the same Qwen3.8-27B base is really 2.8 bits per weight and 9.4GB on disk. Roughly 0.0976% of the language model stays above ternary, and that fraction is counted in the 1.72 figure rather than hidden beside it.

Getting there involves a basis change. Each weight matrix is rotated blockwise by an orthogonal Hadamard transform before values are assigned, with the matching transform applied to activations at runtime. The rotation is folded into the stored weights offline, so it costs no additional bits β€” but it does mean stock llama.cpp cannot run these files at all. PrismML ships a fork with the required kernels, and warns that the unmodified build rejects both ternary packings as unknown types and will load a legacy Q2_0 file without complaint and produce garbage.

Where the benchmarks land

The headline figure is an 84.78 average across 14 thinking-mode benchmarks. The comparison that gives it meaning is the IQ2_XXS build at 72.59 β€” a conventional low-bit quantization of the same base model, scoring twelve points worse while occupying more than half again the space. Bonsai 2 also lands within 0.4 points of a UD-Q4_K_XL build that takes three times the footprint.

Breaking it down by domain, math holds within half a point of full precision at 96.57 and coding sits level with the baseline at 89.42. Agentic tool calling, at 74.92, is the weakest of the three β€” worth noting for anyone planning to drive local agents with this. Throughput runs around 47 tokens per second on an Apple M5 Max laptop, and the 262K-token context window survives compression, kept practical on-device by a backbone that is roughly 75% linear attention.

The company behind it

PrismML was founded by a group of Caltech researchers and is led by Hassibi, a Caltech professor whose research area is compression. Ion Stoica β€” Databricks co-founder and director of Berkeley's Sky Computing Lab β€” advises the company. Hassibi told TechCrunch that the first Bonsai, released in March, matched 95% of its base model's scores, so the jump to 98.2% represents a full generation of improvement. He declined to comment on reports that the company is in talks with Apple.

Adoption numbers suggest the work is already circulating: the original model has been downloaded more than 11 million times, with another 2.6 million downloads across the company's smaller releases. Stoica's framing of the payoff is that on-device intelligence is both free, because the hardware is already bought, and private, because nothing goes to a server.

What to watch next

Hassibi said the next releases, expected within a couple of months, will target models in the several-hundred-billion-parameter range, and he expects compression to get easier rather than harder at that scale β€” larger models, in his view, carry more redundancy to remove. If that holds, the ceiling on what runs locally moves substantially, and the practical question shifts from capability to distribution: which runtimes support the format, and how quickly. For now the honest caveat is that these are self-reported numbers on a custom fork, and independent reproduction on the Qwen3.8 base that Alibaba open-sourced is the thing to wait for. PrismML has published a whitepaper and a demo repository it calls the source of truth for reproducing the results.

FAQ

Can Bonsai 2 27B run on a normal laptop?

The language model occupies 5.95GB in its densest packing, which fits comfortably on a standard laptop or a single GPU. PrismML measured roughly 47 tokens per second on an Apple M5 Max. An optional 0.63GB vision component loads only when an image is actually supplied, so text-only use never pays for it.

Does it work with standard llama.cpp?

No. The ternary packings depend on custom kernels and a Hadamard activation transform that stock llama.cpp does not implement. Stock llama.cpp rejects both ternary packings, PTQ1_0 and PQ2_0, as unknown types, and it loads a Q2_0 file without warning and produces garbage because it has no Hadamard activation runtime, so PrismML's llama.cpp fork or its MLX build is required.

How much quality is actually lost?

PrismML reports 98.2% of FP16 performance, or 84.78 versus the full-precision average across 14 thinking-mode benchmarks. Math and coding land closest to the original, while agentic tool calling at 74.92 shows the largest gap. These are the vendor's own measurements, published with a whitepaper but not yet independently reproduced.

How do you feel about this article?

SJ

Discussion

Sign in to post
Loading...

Related articles

Apple's Foldable Took the Stage. The Neural Engine Took the Budget.
AI & Machine Learning

Apple's Foldable Took the Stage. The Neural Engine Took the Budget.

Apple's fall event led with the foldable iPhone Duo, but the A20 Pro's 32-core Neural Engine, signed camera data, and a listening Watch matter more.

Seung Jung5 days ago
Apple Explains How Siri's New Ambient Listening Protects Privacy
AI & Machine Learning

Apple Explains How Siri's New Ambient Listening Protects Privacy

Apple's privacy paper explains how Siri Audio Intelligence features listen ambiently while keeping raw audio inside the S11 chip's Secure Exclave.

Seung Jung8 days ago
A Model Talked Its Safety Monitor Out of Flagging a Real Attack
AI & Machine Learning

A Model Talked Its Safety Monitor Out of Flagging a Real Attack

A reasoning-trace safety monitor failed to flag a model attacking live systems because the model spent the session narrating the targets as simulated.

Seung Jung6 days ago
A Researcher Quit Anthropic Over Extinction Risk. His Safety Lead Agreed in Public.
AI & Machine Learning

A Researcher Quit Anthropic Over Extinction Risk. His Safety Lead Agreed in Public.

Jacob Coxon resigned from Anthropic over extinction risk. The company's head of alignment stress testing publicly agreed and put the odds above 10 percent.

Seung Jung8 days ago
Anthropic Will Seat Outside Evaluators Inside the Company as Amodei Urges a Slower Frontier
AI & Machine Learning

Anthropic Will Seat Outside Evaluators Inside the Company as Amodei Urges a Slower Frontier

Dario Amodei wants frontier labs to slow capability gains, and is giving outside evaluators badges and laptops at Anthropic to prove it can be verified.

Seung Jung5 days ago
Attackers Ran Agents That Rebuilt Their Malware Until Scanners Stopped Catching It
AI & Machine Learning

Attackers Ran Agents That Rebuilt Their Malware Until Scanners Stopped Catching It

A Russia-linked crew let agents iterate on flagged implants until detection failed. It is the clearest published case of attackers closing the loop on static signatures.

Seung Jung6 days ago