
Bonsai 27B is a full open reasoning model that fits on an iPhone
Quick Answer
PrismML's Bonsai 27B is a compact AI model designed for local deployment on devices like the iPhone 17 Pro Max, achieving up to 95% performance retention compared to larger models while using innovative compression techniques.
Quick Take
PrismML's Bonsai 27B is a compact AI model designed for local deployment on devices like the iPhone 17 Pro Max, achieving up to 95% performance retention compared to larger models while using innovative compression techniques. This enables efficient on-device processing, reducing costs and enhancing privacy, with Apple reportedly exploring its integration.
Key Points
- Bonsai 27B fits within 3.9 GB, enabling deployment on iPhone 17 Pro Max.
- Compression techniques maintain up to 95% performance of larger models.
- PrismML's models are under Apache 2.0 license and support local AI applications.
- Apple is testing Bonsai's technology for speed and performance improvements.
- The model generates approximately 11 tokens per second on an iPhone.
📖 Reader Mode
~3 min readPrismML argues that modern AI apps increasingly need powerful models to run locally. An agent may make hundreds of model calls in sequence, each carrying context, producing structured output, and feeding into the next step. In the cloud, per-token costs pile up, every call adds network latency, and intermediate results, tool calls, and private data such as screen content or documents all leave the device.
But running the model on-device cuts the marginal cost of those loops to zero and keeps user data local. PrismML sees this as the basis for always-on agents, offline assistants, and hybrid systems. Simple and privacy-sensitive tasks stay on-device, while only the hardest steps are sent to frontier models in the cloud.
According to a CNBC report, PrismML is already in talks with Apple about the compression technology behind Bonsai. PrismML CEO Babak Hassibi confirmed that Apple and other companies are testing the models for speed, power draw, and performance. The talks are "very early," but "things are progressing nicely."
Two versions bring the model to laptops and smartphones
A model this size typically takes up about 54 GB of storage. Even with standard compression, it still needs around 18 GB. PrismML offers two much smaller versions: The quality-focused variant takes up about 5.9 GB and is meant for laptops, though the packages currently shipping may be larger depending on the runtime. The white paper lists about 7.2 GB for the llama.cpp version and 8.49 GB for the MLX version.
The smaller variant comes in at about 3.9 GB, small enough to fit within the limited storage of an iPhone 17 Pro Max. According to PrismML, an iPhone with 12 GB of RAM actually makes only about 6 GB available to a single app, split between the model and the cache.
Instead of storing each neural network weight as 16 bits, PrismML uses only one or just under two bits. In the most aggressive variant, each weight has only two states. In the slightly larger one, three. This approach is applied across the entire language model. As an example of common labeling issues, PrismML points to the Qwen3.6-27B-IQ2_XXS build compared in the white paper, which averages 2.8 bits per weight despite its "2-bit" label.

PrismML says compression has a limited impact on quality
In PrismML's own evaluation across 15 benchmarks, the larger variant keeps 95 percent of the original model's performance. The smaller one keeps 90 percent. Math and coding stayed "virtually unaffected," according to PrismML.
The bigger drops showed up with the more aggressive compression, especially in image understanding, instruction following, and agent-based tool use. A conventionally compressed Qwen3.6-27B model at 9.4 GB scores only 72.7 points, while the smaller Bonsai variant at 3.9 GB scores 76.1.

According to the white paper, the smaller variant generates about 11 tokens per second on an iPhone 17 Pro Max. A battery test yielded roughly 672 generated tokens per percentage point of battery charge, which extrapolates to about 67,000 tokens on a full charge. The chip throttled slightly after a little over five minutes.
Apple could use the tech to close its local AI gap
The model weights are available under the Apache 2.0 license. Bonsai 27B runs on Apple devices via Apple's MLX framework and on NVIDIA GPUs. PrismML also provides a time-limited, free Developer Preview API and a live demo on HuggingFace.
The company was founded with backing from Khosla Ventures, Cerberus, and Google, and Samsung continues to support it. PrismML plans to apply its compression tech to Google's Gemma model series next, smaller versions of which already run on smartphones.
A licensed compression technology would also matter to Apple, whose own models have trailed the competition in benchmarks so far. At WWDC 2026, Apple unveiled a revamped Siri built on foundation models developed with Google using Gemini technology. The most powerful on-device model already requires an iPhone with at least 12 GB of RAM, and complex queries run on Nvidia GPUs in Apple's cloud.
— Originally published at the-decoder.com
Want this in your inbox every morning?
Daily brief at your local 8am — bilingual EN/中文, free.
More from The Decoder
See more →
An AI model programmed nonstop for 19 days on a single MirrorCode task that cost $2,600 to run
Epoch AI's MirrorCode benchmark reveals Claude Opus 4.7 as the leader with a 56% solve rate, reconstructing a 16,000-line toolkit in 14 hours. Despite this, all models tested struggle with the most complex tasks, highlighting limitations in current AI capabilities. The single task consumed $2,600 over 19 days, raising questions about cost-effectiveness in AI development.

