Bonsai 27B: Revolutionary AI Compression Breakthrough for Consumer Smartphones
Artificial Intelligence
Bonsai 27B: Revolutionary AI Compression Breakthrough for Consumer Smartphones
The recently launched Bonsai 27B, an AI model with 27 billion parameters, represents a remarkable achievement in the field of artificial intelligence.

The recently launched Bonsai 27B, an AI model with 27 billion parameters, is a remarkable achievement in the world of artificial intelligence. This model, which is only 3.9 GB in size, can run on an iPhone 17 Pro Max at a speed of 11 tokens per second. This marks the first time a model of this scale has remained within the memory limits of a consumer smartphone. It is important to note that a model's 'parameters' refer to the variables it can tune; the more parameters, the more powerful and versatile the model.
PrismML's innovative approach succeeds in maintaining a high level of performance. The ternary variant of Bonsai 27B retains 94.6% of the precision of the original model, outperforming conventional "2-bit" models that are nearly twice as large and significantly less effective at calculation and programming tasks.
PrismML's compression method, based on intellectual property from Caltech, is revolutionary. Each model weight is reduced from 16 bits to 1 bit in a binary structure, or to three values (negative, zero, and positive) in the ternary configuration. This approach means the binary variant requires only 1.125 bits per weight, a 14-fold reduction compared to full precision. This makes Bonsai 27B not only efficient but also powerful. Average models have up to approximately 65,000 adjustment options, whereas Bonsai's ternary architecture simplifies the count without significant loss of quality.
What distinguishes Bonsai 27B from other low-bit models is that it does not allow higher precision for sensitive layers, optimizing the model's size without compromising quality. This is a positive development for the efficiency of AI applications.
When testing Bonsai 27B on various benchmarks, ranging from knowledge to mathematics and programming, the model achieves remarkable results. With an average score of 80.49 across 15 benchmarks, the model positions itself above competitors such as Gemma 4 and Qwen 3.6, demonstrating the value of a powerful AI model with limited hardware requirements.
What distinguishes Bonsai 27B from other low-bit models is that it does not allow higher precision for sensitive layers, optimizing the model's size without compromising quality.
The practical applications of this model are promising. For instance, a hybrid attention architecture ensures that approximately 75% of the layers are linear, which makes it possible to manage a context window of 262,000 tokens efficiently on mobile devices.
During our own test of Bonsai 27B, we achieved positive results in programming and creative tasks. Our application, a typing-horror game called Zombie Type, illustrated the capabilities of Bonsai. The AI's responses were faster and more precise, resulting in an improved user experience. The model showed progress in both the first and second iterations, with the second version not requiring a rebuild, but rather optimizing.
In addition to programming, Bonsai also shows strong capabilities in creative writing assignments. The stories produced exhibit consistent internal logic, good structure, and solid narrative development. This makes it a strong competitor in the market for local AI models, especially now that usage is possible without API costs.
PrismML CEO Babak Hassibi has confirmed that the company is in talks with Apple regarding the compression technology for potential on-device applications. This could not only increase the accessibility of powerful AI models for end-users but also offers opportunities for investment and commercialisation in a rapidly changing market.
The availability of Bonsai 27B under Apache 2.0 also makes it an attractive alternative for developers who want to implement local algorithms without high costs. Upcoming models, such as the planned Gemma, will undoubtedly remain interesting for those looking to integrate this technology into their own processes.
3 questions
Q&A
The questions from this article, neatly compiled.
Bonsai 27B is unique due to its innovative compression technique that combines a significant reduction in memory requirements with the retention of high execution quality, allowing it to run on consumer hardware.
- 27B
- bonsai

Written by
Dani Oosterhuis
Payments Editor · Groningen (NL)
Expertise
Dani follows stablecoins, payment rails, and the bridge between euros and on-chain money. He tests payment solutions himself and measures costs and speed.
Related articles
- Community Pushback Rewrites Credit Risk Assessments for AI Infrastructure Projects
- Alibaba’s Qwen Image 3.0: A Revolution in AI-Driven Image Generation
- Kimi K3 Shakes Up AI And Semiconductor World: Analysis Of Impact And Market Reactions
- Stripe Acquires AI Platform OpenRouter For $7 Billion
- Apple And Alibaba’s AI Collaboration: A New Direction For Chinese iPhones
- Trump-Linked Crypto Firm Distances Itself From AI Platform WorldClaw
Stay in the loop
Follow Block #9.
Practice without real money or test your knowledge?
Read more





