Can Bonsai 27B Bring Full AI Reasoning Onto an iPhone?
AI models By What The Future Newsroom · July 15, 2026 · 4 min read

Can Bonsai 27B Bring Full AI Reasoning Onto an iPhone?

PrismML has released Bonsai 27B, a compressed 27-billion-parameter AI model designed to run directly on an iPhone. The company says it preserves most of the original model’s performance while supporting reasoning, tool use, image understanding, and agent-based tasks.

PrismML is making a direct bet on local AI. Its new Bonsai 27B model is designed to bring a 27-billion-parameter reasoning model onto an iPhone, while still supporting the kinds of capabilities usually associated with larger cloud-based systems.

The company says Bonsai 27B can handle multistep reasoning, tool use, image understanding, and agent-based tasks. It is based on Alibaba's Qwen3.6-27B and comes from PrismML, a company founded by a team of Caltech researchers.

Why local AI matters for agents

PrismML’s argument starts with how AI agents work. An agent may call a model many times in sequence, with each step taking context from the previous one, producing structured output, using tools, and passing information forward.

When that process runs in the cloud, each call can add cost and latency. It can also move sensitive information off the device, including intermediate results, tool calls, screen content, and documents.

Running the model on-device changes that equation. PrismML says local execution cuts the marginal cost of those loops to zero and keeps user data local.

The company sees this as a foundation for always-on agents, offline assistants, and hybrid systems. In that setup, simple and privacy-sensitive tasks stay on the device, while only the hardest steps are sent to frontier models in the cloud.

How Bonsai 27B fits into smaller devices

A model this size normally requires much more space than a phone can comfortably spare. The source model would typically take about 54 GB of storage, and even standard compression would still need around 18 GB.

PrismML is offering two smaller versions. The quality-focused variant is about 5.9 GB and is aimed at laptops, although current packages 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 is about 3.9 GB, which PrismML says is small enough for the limited storage of an iPhone 17 Pro Max. The company also says an iPhone with 12 GB of RAM makes only about 6 GB available to a single app, split between the model and the cache.

The compression approach is aggressive. Instead of storing each neural network weight as 16 bits, PrismML uses one or just under two bits. In the most compressed version, each weight has two states; in the slightly larger version, it has three.

PrismML says this applies across the entire language model. It also points to common labeling issues in other compressed models, noting that the Qwen3.6-27B-IQ2_XXS build compared in the white paper averages 2.8 bits per weight despite its "2-bit" label.

Performance tradeoffs are the central question

The main issue with deep compression is whether the model still performs well enough to be useful. PrismML says Bonsai 27B keeps most of the original model’s quality, based on its own evaluation across 15 benchmarks.

According to PrismML, the larger variant keeps 95 percent of the original model's performance. The smaller version keeps 90 percent. The company says math and coding were "virtually unaffected."

The bigger losses appeared in the more aggressively compressed version, especially in image understanding, instruction following, and agent-based tool use. Even so, PrismML reports that a conventionally compressed Qwen3.6-27B model at 9.4 GB scores 72.7 points, while the smaller Bonsai variant at 3.9 GB scores 76.1.

The white paper also includes device-level figures. The smaller variant generates about 11 tokens per second on an iPhone 17 Pro Max. A battery test produced 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 is reportedly testing the technology

According to a CNBC report, PrismML is already discussing the compression technology behind Bonsai with Apple. PrismML CEO Babak Hassibi confirmed that Apple and other companies are testing the models for speed, power draw, and performance.

Those discussions are still at an early stage. Hassibi described the talks as "very early," while also saying "things are progressing nicely."

The possible Apple angle matters because local AI performance has become a strategic issue for device makers. A licensed compression technology could help 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, while complex queries run on Nvidia GPUs in Apple's cloud.

What developers can use now

Bonsai 27B’s model weights are available under the Apache 2.0 license. The model runs on Apple devices through 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 technology to Google's Gemma model series next. Smaller versions of those models already run on smartphones.

The broader question is whether compressed local models can become practical enough for everyday assistants and agents. Bonsai 27B does not remove every tradeoff, but it shows how the boundary between phone-based AI and cloud AI may be shifting.

AI modelsOn-device AIAppleModel compressionPrismML
← Back to the wire

Read next