Back to Home

PrismML Bonsai 27B: Open-Source AI Runs on a Phone

The Dawn of On-Device 27B Intelligence

For years, the rule of thumb was simple: if you wanted serious AI horsepower, you needed the cloud. A 27-billion-parameter model meant server racks, GPU clusters, and a fat internet pipe. That rule just got shredded.

Yesterday, PrismML dropped a bombshell that has the open-source AI community buzzing: Bonsai 27B, the first model in its weight class that actually runs on a phone. And we are not talking about a stripped-down, lobotomized version — this thing keeps 90-95% of its full-precision brainpower while fitting into memory budgets that would make most 7B models blush.

Two Flavors, One Breakthrough

Bonsai 27B comes in two variants, and both are genuinely impressive:

  • Ternary Bonsai 27B — Uses ternary weights ({-1, 0, +1}) with FP16 group-wise scaling at 1.71 effective bits per weight. Weighs in at just 5.9 GB. Runs on any everyday laptop with full reasoning, tool-calling, and agentic capability intact.
  • 1-bit Bonsai 27B — Takes it even further with binary weights ({-1, +1}) at 1.125 effective bits per weight. At 3.9 GB, it fits inside the memory budget of an iPhone 17 Pro. Yes, you read that right — a 27B model on a phone.

Both variants are multimodal. Both carry a full 262K-token context window. Both support speculative decoding for lossless speed-ups. And — this is the kicker — both are released under the Apache 2.0 License. Fully open, fully free, fully local.

Benchmarks That Don not Lie

Anyone can claim a model fits on a phone. The real question is whether it is actually useful once it gets there. The benchmark results are genuinely shocking:

  • Math (GSM8K, MATH-500, AIME25/26): Full-precision baseline scores 95.3. Ternary Bonsai scores 93.4. 1-bit scores 91.7. That is less than 4% degradation for the 1-bit variant.
  • Coding (HumanEval+, MBPP+, LiveCodeBench): Baseline 88.7 → Ternary 86.0 → 1-bit 81.9. Coding ability survives the compression nearly intact.
  • Agentic and Tool-calling (BFCL v3, TauBench): Baseline 80.0 → Ternary 74.0 → 1-bit 66.0. The agentic capabilities hold strong.
  • Overall (15 benchmarks): Baseline 85.0 → Ternary 80.5 → 1-bit 76.1.

Let that sink in: a 27B-class model compressed into 3.9 GB — smaller than a full-precision 2B model — retains 90% of the intelligence. By PrismML is intelligence density metric, the 1-bit Bonsai 27B delivers 0.53 per GB: more than 10x the full-precision baseline and roughly 2.7x the best conventional low-bit alternative.

Why This Actually Changes Everything

The AI industry has been talking about on-device AI for years, but what we have gotten so far has been either tiny models with limited capability or modest compression that still needs a beefy desktop. Bonsai 27B is the first time a model in this capability tier has been truly pocket-sized.

Here is what that unlocks:

  • Private agentic workloads: Your AI assistant can read your screen, call tools, and execute multi-step plans — all without any data leaving your device.
  • Zero-latency reasoning: No more waiting for cloud API round-trips. The model responds at the speed of your phone neural engine.
  • Unlimited free inference: No per-token billing, no rate limits, no usage caps.

PrismML has pulled off something that most in the industry thought was years away. Bonsai 27B is not just another model release — it is a genuine paradigm shift for what is possible with open-source, on-device AI. The era of needing a datacenter in your pocket just ended.

Bonsai 27B is available now under Apache 2.0 from PrismML model hub and Hugging Face.

Comments

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