PrismML's Bonsai 27B is the first 27-billion-parameter LLM capable of running on a smartphone — compressing 54GB of model weights into just 3.9GB via native 1-bit training. With Apple now in early talks to bring this technology to the iPhone, this technical deep-dive examines the Caltech-spun architecture behind native 1-bit LLMs, the ternary vs 1-bit tradeoffs, the 10.8x intelligence density advantage over full-precision models, and what on-device 27B-class inference means for the future of AI privacy, latency, and edge computing.
Published: July 14, 2026 | By: Luminix Studio Engineering | Category: Engineering | Reading Time: 12 min
On July 14, 2026, Quartz broke the news: Apple is in early talks with PrismML, a Caltech-spun startup whose flagship model — Bonsai 27B — compresses a 27.8-billion-parameter LLM from 54GB down to 3.9GB, small enough to run on an iPhone 15 or newer.
This is not a theoretical architecture paper. The model is released under Apache 2.0. It runs at 11 tokens per second on an iPhone 17 Pro. And the ternary variant achieves >95% of full-precision benchmark performance at a fraction of the memory footprint.
On-device 27B-class inference changes the economics of AI. No cloud dependency. No latency jitter from network calls. No privacy exposure from sending prompts to a remote server. And if Apple closes a deal with PrismML, the next iPhone ships with a locally-resident 27B-class brain.
Here is how Bonsai 27B works, what the Apple talks mean, and why this is the most consequential AI model efficiency breakthrough of 2026.
A standard 27.8-billion-parameter LLM stored in FP16 (16-bit floating point) requires:
27.8 x 10^9 parameters x 2 bytes/param = 55.6 GB
That does not fit on a phone. It barely fits on a laptop GPU. Cloud inference is the only practical option — and that means latency, cost, and a privacy boundary between the user and the model.
PrismML's breakthrough is not post-training quantization (taking a trained FP16 model and rounding weights down). That approach typically degrades quality significantly at extreme compression levels.
Instead, PrismML trains models natively in 1-bit precision from the ground up. The model learns to operate with weights constrained to one of two values (typically -1 and +1) or three values (-1, 0, +1 for ternary).
This is the difference between:
| Variant | Bits per Weight | Model Size | Runs On |
|---|---|---|---|
| FP16 (standard) | 16 | ~54 GB | Cloud GPU only |
| 1-bit Bonsai 27B | 1 | ~3.9 GB | iPhone 15+ (11 tok/s on 17 Pro) |
| Ternary Bonsai 27B | 1.58 | ~5.9 GB | Laptops, high-end phones |
| Metric | Bonsai 27B vs FP16 |
|---|---|
| Memory reduction | ~10-15x |
| Speed improvement | 6-8x faster response |
| Power draw reduction | 3-6x less power |
| Accuracy loss (ternary) | <5% vs full-precision |
| Accuracy loss (1-bit) | Small; factual knowledge degrades before reasoning/coding |
Key finding from PrismML's benchmarks: reasoning and coding capabilities degrade slower than factual recall when going from FP16 to 1-bit. This means Bonsai 27B is disproportionately good at the tasks developers and knowledge workers actually need — even at maximum compression.
PrismML introduced a novel evaluation metric: intelligence density — the negative log of the model's error rate divided by its size.
Bonsai 8B (the 8-billion-parameter sibling) achieves 10.8x higher intelligence density than the next closest model in its class. This means you get more capability per megabyte of model than any other architecture on the market.
This metric matters because the trend in AI has been pure scale — bigger models, more parameters, more compute. Bonsai inverts that: intelligence per bit, not total parameter count, becomes the optimisation target.
Apple's on-device AI strategy has been consistent but constrained:
| Apple Need | Bonsai 27B Solution |
|---|---|
| Privacy by design | Model runs entirely on-device — zero data leaves the phone |
| Low latency | No network round-trip; inference in milliseconds |
| Battery efficiency | 3-6x less power draw vs FP16 at comparable capability |
| Small footprint | 3.9GB is large but manageable (iPhone storage starts at 128GB) |
| Open licensing | Apache 2.0 — no royalty or licensing friction |
PrismML CEO Babak Hassibi confirmed the talks with Apple are "progressing nicely," with Apple currently measuring speed, energy, and on-device performance. The path from early talks to silicon integration is long — but the technical feasibility is no longer in question.
PrismML spun out of the California Institute of Technology, where Hassibi's research group pioneered the theoretical foundations of 1-bit neural networks. Caltech holds the underlying patents and grants PrismML an exclusive license.
Funding: $16.25 million seed round (March 2026), led by Khosla Ventures — Vinod Khosla's firm known for placing early bets on foundational AI infrastructure (he was an early investor in OpenAI).
Team concentration: PrismML operates with a small, research-heavy team. The company's thesis is that model efficiency — not model scale — is the winning strategy for real-world AI deployment.
Bonsai 27B is released under Apache 2.0 — fully open weight, permissive license.
| Model | Size | Link |
|---|---|---|
| Bonsai 27B (1-bit) | 3.9 GB | Hugging Face (prism-ml/Bonsai-27B) |
| Bonsai 27B (ternary) | 5.9 GB | Hugging Face (prism-ml/Ternary-Bonsai-27B) |
| Bonsai 8B (1-bit) | 1.15 GB | Hugging Face (prism-ml/Bonsai-8B) |
This is a strategic bet: open the weights, build the ecosystem, become the standard for on-device LLM inference. If Apple adopts PrismML's technology, the ecosystem effect compounds — every iOS developer building AI features targets the same inference stack.
| Competitor | Approach | Max On-Device Size | License |
|---|---|---|---|
| PrismML | Native 1-bit training | 27B (3.9 GB) | Apache 2.0 |
| Meta (Llama 4) | 4-bit quantization | ~8B viable on-device | Llama 3 Community |
| Google (Gemma) | Standard precision + quantization | ~7B via Q4 | Custom |
| Microsoft (Phi-4) | Small model design | 14B | MIT |
No other company has demonstrated a 27B-class model running on a phone. This is PrismML's defining moat.
PrismML has indicated their next target is Google's open-source Gemma model — compressing it using the same 1-bit training methodology. If successful, every major open LLM family could have a 1-bit variant capable of running on a phone.
Beyond model compression, PrismML is working on:
Bonsai 27B is not just another model release. It is a demonstration that the cloud is not the only path to frontier AI inference. With Apple in active talks, the infrastructure assumption that big models need big GPUs is facing its most credible challenge yet.
Whether the Apple deal closes or not, the trajectory is clear: 27B-class models running on phones in 2026. 100B-class on laptops in 2027. The era of cloud-only AI inference is ending — and it is ending because 1 bit is finally enough.
Sources: PrismML official website (prismml.com); Quartz — "Apple in Talks with PrismML" (July 14, 2026); The Information — "PrismML Shrunk a 27B Model to Run on iPhone" (July 9, 2026); AlphaSignal — "Bonsai 8B: The 1-Bit LLM That Fits in 1 GB"; Hacker News front page (July 14, 2026); Caltech research publications; Apple WWDC 2026 coverage.