Back to Home

Bonsai 27B: A 27B Model That Actually Runs on Your Phone

The End of the Cloud-Only AI Era?

For years, the gospel of AI deployment has been simple: if you want serious capability, you need the cloud. A 27-billion-parameter model — the kind that can reason through multi-step problems, write production code, and control a computer — was simply too large to run anywhere but a data center full of NVIDIA H100s. The rule of thumb was brutal: a 27B model in 16-bit precision eats 54GB of memory. Even aggressively quantized to 4 bits, you're still looking at 18GB.

That rule just got rewritten.

PrismML, the research lab behind the Bonsai family of ultra-efficient models, today announced Bonsai 27B — the first 27B-class model that fits on a phone. And we're not talking about a stripped-down, lobotomized version that barely passes as intelligent. We're talking about a model that retains 90% of its full-precision parent's capability while occupying a mere 3.9GB of memory.

How Did They Pull This Off?

The secret sauce isn't a new architecture — Bonsai 27B is based on Qwen3.6 27B. What's revolutionary is the weight representation. PrismML has been pushing the frontier of extreme low-bit quantization, and Bonsai 27B comes in two mind-bending variants:

  • Ternary Bonsai 27B (5.9GB) — Uses ternary weights {−1, 0, +1} with FP16 group-wise scaling, achieving 1.71 effective bits per weight. This is the quality champ, designed for laptops with full reasoning, tool-calling, and agentic chops.
  • 1-bit Bonsai 27B (3.9GB) — Uses binary weights {−1, +1} with the same scaling, hitting 1.125 effective bits per weight. This variant fits inside the memory budget of an iPhone 17 Pro. Yes, you read that right.

These aren't partial quantizations either. The low-bit representation runs end-to-end — embeddings, attention, MLPs, the LM head, all of it. No higher-precision escape hatches. Both variants are multimodal, packing vision capabilities (screenshots, documents, camera input) in a compact 4-bit vision tower, and support a full 262K-token context window with speculative decoding for speed.

The Numbers Are Legit

Across a 15-benchmark gauntlet — math, coding, instruction-following, tool calling, vision, and reasoning — the numbers speak for themselves:

CategoryQwen 3.6 27BTernary Bonsai 27B1-bit Bonsai 27B
Math95.393.491.7
Coding88.786.081.9
Agentic / Tool-calling80.074.066.0
Instruction Following78.471.865.8
Knowledge / STEM83.177.073.4
Vision72.665.259.6
Overall (15 benchmarks)85.080.576.1

The Ternary variant retains 95% of full-precision performance. The 1-bit variant retains 90%. Math and coding are almost untouched — exactly the capabilities that matter for agentic workloads. And here's the kicker: the most aggressive conventional low-bit build of the same base model scores significantly lower while occupying 2.5x more memory.

Why This Changes Everything for AI Agents

The most valuable AI workloads are shifting away from single-turn Q&A toward sustained, agentic work — assistants that operate real tools, run unattended workflows, and synthesize dozens of documents. An agent doesn't make one model call; it makes hundreds, each carrying context and producing structured output.

Cloud APIs are great, but for agentic workloads they impose structural constraints: every step is a remote request, per-token cost accumulates with every iteration, and every plan, tool call, and intermediate result — including your private files and screen data — crosses the network. Running a capable 27B model locally eliminates all of that.

  • Privacy: Your data never leaves your device.
  • Latency: No network round-trips for each agentic step.
  • Cost: Zero per-token API fees after the hardware is bought.
  • Offline operation: Works anywhere, even without internet.

The Bottom Line

Bonsai 27B is not just a model release — it's a paradigm shift. At 3.9GB for the 1-bit variant, we're looking at a world where a 27B-class reasoning model runs on a device that fits in your pocket. That's the same class of model that powers some of the most capable cloud AI services today.

PrismML has released everything under the Apache 2.0 License — the full weights, whitepaper, and benchmarks are available now. Whether you're a developer building local-first AI tools, a startup looking to cut API costs, or just someone who believes that powerful AI shouldn't require a data center, Bonsai 27B is the most exciting model release of the year so far.

The era of on-device reasoning intelligence has arrived. And it runs on a phone.

Comments

No comments yet. Be the first to share your thoughts!