According to Perceive Beating monitoring, the PrismML open-source on-device image generation model Bonsai Image 4B enables direct diffuse inference on local devices such as laptops and smartphones. Bonsai Image 4B includes two extremely compressed versions: 1-bit and Ternary. The core diffuse Transformer volume is only 0.93 GB and 1.21 GB for the 1-bit and Ternary versions, respectively. The full deployment package sizes on Apple Silicon devices are 3.42 GB and 3.88 GB, and a complementary iOS app, Bonsai Studio, has been launched for offline on-device image generation.
Specifically, the 1-bit version is designed for low-memory hardware, reducing the diffuse Transformer volume based on the 7.75 GB FLUX.2 Klein 4B to only 0.93 GB, which is 8.3 times smaller than the full-precision version. The core Transformer volume of the Ternary version is 1.21 GB, 6.4 times smaller than the full-precision version. However, it introduces ternarized {-1, 0, +1} weights during quantization to provide higher expressive flexibility, maintaining low storage occupancy while enhancing image quality and prompt fidelity.
Performance evaluations have shown that after significant volume compression, Bonsai Image 4B can still compete with mainstream image generation models with much larger parameter sizes in terms of object composition, human preference, aesthetic metrics, and complex prompt adherence. The 1-bit and Ternary versions retain 88% and 95% of the performance of the full-precision model, respectively. The synchronous release of the mobile app Bonsai Studio allows users to achieve fully offline image generation on iPhones, with the entire process running locally, requiring no subscription and no API requests sent to the cloud. PrismML has now open-sourced both versions of the model under the Apache 2.0 license.
