AI-Models

PrismML Shrinks 27-Billion-Parameter Model to 3.9 GB for iPhone

3 min read
An iPhone displaying a glowing, condensing neural network structure on its screen, with blurred data center servers in the background – symbolic image for PrismML's compressed AI model Bonsai 27B. Image generated with GPT Image 2
An iPhone displaying a glowing, condensing neural network structure on its screen, with blurred data center servers in the background – symbolic image for PrismML's compressed AI model Bonsai 27B.

TL;DR Too Long; Didn’t read

California startup PrismML has compressed its Bonsai 27B model, with 27 billion parameters, down to 3.9 gigabytes and made it run on iPhones. Quantization to as little as 1.58 bits per weight makes this possible. The company says up to 95 percent of the original performance is retained. Apple is evaluating the technology for its own devices, according to founder Babak Hassibi.

Key takeaways

  • PrismML compresses a 27-billion-parameter model down to 3.9 to 5.9 gigabytes of storage.
  • The compression uses quantization to 1 to 1.58 bits instead of the usual 16 bits per weight.
  • On an iPhone 17 Pro Max, Bonsai 27B reaches about eleven tokens per second.
  • Apple is testing the technology for possible use in its own devices, PrismML founder Babak Hassibi says.
  • The model builds on Alibaba's Qwen3.6-27B and is freely available under the Apache 2.0 license.
  • PrismML raised $16.25 million in seed funding from Khosla Ventures and Cerberus Capital before release.

California startup PrismML has compressed a language model with 27 billion parameters, Bonsai 27B, so effectively that it runs on an iPhone. The smallest variant occupies just 3.9 gigabytes of storage, while the uncompressed original requires about 54 gigabytes. PrismML released the model on July 14, 2026, under the Apache 2.0 open-source license.

Two compression tiers cut storage by up to 93 percent

PrismML builds Bonsai 27B on Alibaba’s open base model Qwen3.6-27B and reduces its weights through quantization to one to 1.58 bits instead of the usual 16 bits. The ternary variant, with values of minus one, zero, and plus one, comes to 1.71 effective bits per weight and takes up 5.9 gigabytes. The more aggressive one-bit variant, with pure plus-one and minus-one values, needs only 1.125 effective bits and fits into 3.9 gigabytes on an iPhone 15 or newer. Group-wise scaling at 16-bit precision across embeddings, attention layers, and the output layer is meant to preserve accuracy despite the heavy compression. According to PrismML, the model keeps a 262,000-token context window, processes images through a compact vision encoder, and supports agentic capabilities such as tool calls and multi-step reasoning. On an iPhone 17 Pro Max, the company says the model generates around eleven tokens per second at about 672 tokens per percent of battery charge. On an Nvidia RTX 5090 graphics card, it reaches up to 163 tokens per second. These performance figures come from PrismML itself and are independently unverified.

Apple is testing the technology for its own devices

PrismML founder Babak Hassibi confirmed, according to a report by TechTimes, that Apple and other unnamed companies are testing his startup’s models. The talks are at an early stage but progressing well, he said. Apple is reportedly evaluating the speed, energy efficiency, and on-device performance of the compressed models. The context is the heavy reliance of voice assistants on cloud computing: Bank of America estimates that cloud AI accounts for up to 67 percent of Siri’s weighted computing costs even though it handles only about five percent of queries. A model running directly on the device could answer most of those queries without contacting a server, cutting both latency and operating costs. PrismML was founded by former Caltech professor Hassibi and raised $16.25 million in seed funding from Khosla Ventures, Cerberus Capital, and Caltech before the release. For a startup this size, a trial run with a company like Apple counts as an unusually early win.

Developers get immediate access via GitHub and Hugging Face

Bonsai 27B is available for download right away through Hugging Face and a public GitHub repository. PrismML is also offering a free, limited-time developer preview through an API hosted by Together.ai, letting developers test the model without their own hardware. Besides iPhones, the company says the model also supports laptops via the llama.cpp and MLX frameworks, as well as Nvidia GPUs via CUDA kernels built for low bit widths. Interested users can try the model directly in a browser through a WebGPU demo on Hugging Face Spaces, without setting up any hardware. An iOS app called Locally AI already integrates Bonsai 27B. The open Apache 2.0 license permits commercial use and custom modifications without licensing fees, which should help the model spread well beyond PrismML’s own channels.

What matters now is whether the performance figures PrismML cites hold up under independent testing, and whether Apple actually builds the technology into a shipping product. If on-device compression at this scale becomes standard, it would pressure the business model of cloud-based AI providers, whose revenue has so far depended heavily on data center capacity.

Frequently asked questions

What is Bonsai 27B?

Bonsai 27B is a language model compressed by PrismML with 27 billion parameters that runs locally on modern iPhones thanks to extreme quantization.

How much does it cost to use Bonsai 27B?

The model is freely available under the open-source Apache 2.0 license. PrismML is also offering a limited-time free API preview for developers.

What devices does Bonsai 27B support besides the iPhone?

Laptops via the llama.cpp and MLX frameworks, plus Nvidia GPUs via CUDA kernels for low bit widths. A browser demo also runs via WebGPU.

How reliable are the performance figures PrismML cites?

The speed and accuracy figures come from PrismML itself. Independent third-party verification is still pending.

When could Apple deploy the technology?

No specific timeline is known. According to founder Hassibi, talks with Apple are at an early but positively progressing stage.


← Back to the blog