PrismML Bonsai 2
Hugging Face: https://huggingface.co/prism-ml/Ternary-Bonsai-2-27B-mlx-2bit, https://huggingface.co/prism-ml/Ternary-Bonsai-2-27B-gguf, https://huggingface.co/prism-ml/Ternary-Bonsai-2-9B-mlx-2bit, https://huggingface.co/prism-ml/Ternary-Bonsai-2-9B-gguf, https://huggingface.co/prism-ml/Ternary-Bonsai-2-4B-mlx-2bit, https://huggingface.co/prism-ml/Ternary-Bonsai-2-4B-gguf, https://huggingface.co/prism-ml/Ternary-Bonsai-2-2B-mlx-2bit, https://huggingface.co/prism-ml/Ternary-Bonsai-2-2B-gguf
GitHub: https://github.com/PrismML-Eng/Bonsai-demo
Website: https://prismml.com/news/bonsai-2-27b, https://prismml.com/news/bonsai-2-family
White paper: https://github.com/PrismML-Eng/Bonsai-demo/blob/main/bonsai-2-27b-whitepaper.pdf, https://github.com/PrismML-Eng/Bonsai-demo/blob/main/bonsai-2-small-whitepaper.pdf
Developer: PrismML
Released: 27B: September 2026 / 2B, 4B, and 9B: October 2026
Variants: 27B, 9B, 4B, 2B
Parameters: 27B: 27.36B / 9B: 9.41B / 4B: 4.54B / 2B: 2.21B
Context: 262,144 tokens
Architecture: ternary {-1, 0, +1} weights with FP16 group scales over a hybrid-attention Qwen base; 27B: Qwen3.8-27B base, 64 blocks, about 75% linear and 25% full attention, 27-block vision tower, 1.76 effective bits per weight / 9B: Qwen3.5-9B base, 32 layers (24 linear, 8 full attention), 4,096 hidden size, 27-block vision tower / 4B: Qwen3.5-4B base, 32 layers (24 linear, 8 full attention), 2,560 hidden size, 24-block vision tower / 2B: Qwen3.5-2B base, 24 layers (18 linear, 6 full attention), 2,048 hidden size, 24-block vision tower
License: Apache 2.0
Modalities: Text + Image
Runs on: 27B: Laptop, Desktop GPU / 2B, 4B, and 9B: Smartphone, Laptop, Desktop GPU
Formats: MLX 2-bit ternary, GGUF PTQ1_0, GGUF PQ2_0, GGUF Q2_0 (also runs on stock llama.cpp), optional mmproj vision pack
On disk: 27B: 5.95GB PTQ1_0 GGUF, 7.21GB PQ2_0 GGUF, 7.63GB Q2_0 GGUF, 8.60GB MLX, 0.63GB mmproj vision pack / 9B: 2.00GB PTQ1_0 GGUF, 2.42GB PQ2_0 GGUF, 2.56GB Q2_0 GGUF, 3.46GB MLX, 0.62GB mmproj vision pack / 4B: 0.95GB PTQ1_0 GGUF, 1.15GB PQ2_0 GGUF, 1.21GB Q2_0 GGUF, 1.87GB MLX, 0.37GB mmproj vision pack / 2B: 0.43GB PTQ1_0 GGUF, 0.52GB PQ2_0 GGUF, 0.55GB Q2_0 GGUF, 1.20GB MLX, 0.36GB mmproj vision pack