Back to List
Product LaunchPrismMLLarge Language ModelsMobile AI

PrismML Unveils Bonsai 27B: The First 27B-Class Multimodal AI Model to Run Locally on Smartphones

PrismML has announced the launch of Bonsai 27B, a groundbreaking multimodal AI model based on Qwen3.6 27B that marks the first time a model of this scale can operate on a mobile device. By utilizing advanced 1-bit and ternary weight quantization, PrismML has reduced the memory footprint of a 27B-parameter model from the standard 54GB to as little as 3.9GB. This allows the model to perform complex tasks like multi-step reasoning, vision processing, and agentic loops directly on hardware like the iPhone 17 Pro. The release includes two variants: a 5.9GB ternary version for laptops and a 3.9GB 1-bit version for mobile, both supporting a 262K-token context and multimodal capabilities.

Hacker News

Key Takeaways

  • Mobile Milestone: Bonsai 27B is the first 27B-class model capable of running on a smartphone, specifically optimized for devices like the iPhone 17 Pro.
  • Extreme Quantization: The model utilizes 1-bit and ternary weight representations to compress a 54GB model down to 3.9GB–5.9GB without relying on high-precision "escape hatches."
  • Advanced Capabilities: Despite its small footprint, it supports multi-step reasoning, structured tool calls, and computer-use agentic loops.
  • Multimodal Integration: Both variants include a compact 4-bit vision tower, enabling the processing of screenshots, documents, and camera input.
  • Large Context Support: The model features a full 262K-token context window and supports speculative decoding for improved performance.

In-Depth Analysis

Breaking the Memory Barrier with Low-Bit Weights

Historically, deploying a 27B-parameter model locally has been an impractical feat for consumer-grade mobile hardware. In standard 16-bit precision, such a model requires approximately 54GB of VRAM, and even traditional 4-bit quantization typically results in an 18GB footprint—still far exceeding the memory capacity of modern smartphones and many laptops. PrismML’s Bonsai 27B addresses this bottleneck through the implementation of ultra-low-bit representations.

The architecture is built on two primary quantization strategies. The Ternary Bonsai 27B variant uses weights restricted to {-1, 0, +1} with FP16 group-wise scaling. This results in an effective 1.71 bits per weight, bringing the total size to 5.9GB. This version is positioned as the quality-oriented variant, designed for everyday laptops while maintaining full reasoning and tool-calling capabilities.

The 1-bit Bonsai 27B variant pushes the boundaries further by using binary {-1, +1} weights. This achieves an effective 1.125 bits per weight, resulting in a 3.9GB footprint. This reduction is critical as it fits within the strict memory budgets of mobile devices, specifically enabling a 27B-class model to run on an iPhone 17 Pro for the first time. Notably, this low-bit representation is applied end-to-end across the entire network, including embeddings, attention mechanisms, MLPs, and the LM head.

Multimodal Functionality and Agentic Loops

Bonsai 27B is not merely a language model; it is a multimodal flagship designed for complex, real-world workflows. By incorporating a vision tower in a compact 4-bit form, the model can interpret visual data such as screenshots, physical documents, and live camera feeds. This integration allows for on-device workflows that go beyond text-based interaction.

Furthermore, the model is engineered for high-level cognitive tasks. PrismML highlights its ability to handle multi-step reasoning and structured tool calls, which are essential for creating autonomous agents. The model supports "computer-use agentic loops," which remain coherent across numerous steps. This suggests a level of stability and logic retention that was previously reserved for much larger, cloud-based models. With a 262K-token context window, Bonsai 27B can process and remember vast amounts of information within a single session, further supported by speculative decoding to enhance the speed of generation.

Industry Impact

The introduction of Bonsai 27B represents a significant shift in the AI industry's approach to local deployment. By proving that 1-bit and ternary weights can produce commercially viable and highly capable models, PrismML is challenging the assumption that high-tier reasoning requires massive hardware clusters.

This development has profound implications for privacy and accessibility. Bringing 27B-class intelligence to a phone allows users to perform complex data analysis, vision tasks, and agentic automation without sending sensitive data to the cloud. Moreover, it sets a new benchmark for mobile hardware utilization, potentially accelerating the demand for specialized AI chips in consumer electronics. As the first of its kind to bridge the gap between massive parameter counts and mobile memory constraints, Bonsai 27B paves the way for a new generation of truly portable, high-intelligence applications.

Frequently Asked Questions

Question: What are the specific hardware requirements for Bonsai 27B?

Bonsai 27B comes in two versions. The 1-bit variant (3.9 GB) is designed to fit the memory budget of an iPhone 17 Pro, making it the first 27B-class model to run on a phone. The ternary variant (5.9 GB) is intended for use on everyday laptops where higher quality reasoning and tool-calling are required.

Question: Does the model lose functionality due to its small size?

According to PrismML, Bonsai 27B maintains high-tier capabilities including multi-step reasoning, structured tool calls, and vision tasks. It operates end-to-end in low-bit representation across all components—embeddings, attention, and MLPs—without needing high-precision "escape hatches" to maintain its performance.

Question: Can Bonsai 27B process images and documents?

Yes, both variants are multimodal. They include a vision tower in a 4-bit form that allows the model to see and process screenshots, documents, and camera input, enabling comprehensive on-device visual workflows.

Related News

Product Launch

Kimi K3-256k Launch: Optimizing Flagship Coding Performance with Tiered Context Windows

Kimi Code has officially introduced the Kimi K3-256k model, a context-optimized version of its flagship 2.8T parameter Kimi K3 model. This new iteration is designed to deliver identical performance to the 1M context version within a 256k limit while reducing quota consumption by approximately 50%. The update provides a comprehensive overview of the Kimi model ecosystem, including the K2.7 Code series for routine development. Crucially, the documentation outlines specific technical protocols for switching between models, emphasizing the 'compact' process required for context management in tools like Kimi Code CLI and Claude Code. Users are also cautioned regarding the lack of video input support in the K3-256k version, necessitating strategic session management when transitioning between high-capacity and high-efficiency models.

Google DeepMind Launches Lyria 3.5 in Google Flow Music: Advancing AI Musicality and Creative Control
Product Launch

Google DeepMind Launches Lyria 3.5 in Google Flow Music: Advancing AI Musicality and Creative Control

Google DeepMind has officially announced the launch of Lyria 3.5, the latest evolution of its sophisticated music generation model, now integrated into Google Flow Music. This update represents a significant milestone in generative AI, focusing on four primary pillars of improvement: musicality, lyrics, vocals, and creative control. By refining these core elements, Lyria 3.5 aims to bridge the gap between AI-generated content and professional-grade musical composition. The integration within Google Flow Music suggests a streamlined workflow for creators, emphasizing a more intuitive and powerful user experience. This launch underscores Google's ongoing commitment to leading the frontier of AI-driven creative tools, providing users with enhanced capabilities to shape and direct the musical output with greater precision and artistic nuance.

OpenAI Launches Codex Security: A New CLI and TypeScript SDK for Automated Vulnerability Detection and Remediation
Product Launch

OpenAI Launches Codex Security: A New CLI and TypeScript SDK for Automated Vulnerability Detection and Remediation

OpenAI has introduced Codex Security, a powerful toolset designed to identify, validate, and fix security vulnerabilities within codebases. Available as both a Command Line Interface (CLI) and a TypeScript Software Development Kit (SDK), Codex Security enables developers to scan repositories, review code changes, and track security findings over time. The tool is built for modern development workflows, offering seamless integration into Continuous Integration (CI) pipelines. Requiring Node.js 22 and Python 3.10, the system supports multiple authentication methods, including ChatGPT sign-in and API keys. By providing a programmatic way to manage security state and automate remediation, OpenAI aims to streamline the DevSecOps process, allowing teams to maintain more secure codebases through AI-driven analysis.