overview
What is Bonsai 27B?
Bonsai 27B is a large language model tool developed by PrismML that enables developers, tinkerers, and device manufacturers to deploy advanced AI capabilities on-device. It is designed for high-performance, on-device artificial intelligence, running entirely offline on consumer hardware like smartphones and laptops. Bonsai 27B is a 27.8-billion parameter multimodal language model based on Qwen3.6 27B. Its core innovation lies in its extreme compression, allowing it to run locally on consumer hardware such as smartphones and laptops, a capability previously impractical for models of its size. This enables phone-local 27B reasoning, with the 1-bit variant (approximately 3.9GB) fitting within the memory budget of high-end mobile devices like the iPhone 17 Pro. For laptops, the ternary variant (5.9GB) supports full 27B reasoning, tool use, and agentic workflows with a large 262K-token context window, suitable for long-document analysis and code work. The model's on-device inference ensures data privacy and effective operation with intermittent or no internet connectivity, making it suitable for privacy-sensitive and offline applications. It is built for serious engineering work, including reasoning through multi-step workflows, writing and debugging code, planning, refactoring, and supporting autonomous agentic execution locally. Furthermore, its multimodal understanding allows it to accept both images and text inputs, processing screenshots, documents, and camera input directly on the device.