PrismML's Bonsai Image 4B runs 1-bit text-to-image locally in browser
A 3GB diffusion model runs entirely on WebGPU in your browser—no GPU needed.
Get AI news that actually matters
One email a day. Zero fluff. Join 10,000+ professionals.
Deep Dive
PrismML cooked with these models — just ~3GB (vs FLUX.2 Klein 4B at ~16GB), Apache-2.0. Check the official collection on Hugging Face and demo link.
Key Points
- Bonsai Image 4B is only ~3GB in size, compared to FLUX.2 Klein 4B at ~16GB.
- Uses 1-bit/ternary quantization (binary/ternary weights) to reduce memory and compute.
- Runs 100% locally in browser via WebGPU, with Apache-2.0 license for open use.
Why It Matters
Enables private, offline AI image generation on any device with a modern browser, democratizing access.