prism-ml org on Hugging Face. Names follow one convention:
| Family | Format | Repository pattern |
|---|---|---|
| Bonsai (1-bit) | GGUF | prism-ml/Bonsai-{SIZE}-gguf |
| Bonsai (1-bit) | MLX | prism-ml/Bonsai-{SIZE}-mlx-1bit |
| Ternary (1.58-bit) | GGUF | prism-ml/Ternary-Bonsai-{SIZE}-gguf |
| Ternary (1.58-bit) | MLX | prism-ml/Ternary-Bonsai-{SIZE}-mlx-2bit |
{SIZE} is 27B, 8B, 4B, or 1.7B. Not sure which variant you want? See the lineup for size trade-offs, and Formats & runtime support for GGUF vs MLX.
Automatic (demo repo)
setup.sh resolves the repository from BONSAI_MODEL and BONSAI_FAMILY and downloads into models/. To fetch additional variants later without re-running full setup:
Manual (Hugging Face CLI)
Repositories and sizes
27B
All 27B repos also carry anmmproj file for vision (+0.9 GiB), needed for image input regardless of format.
| Family | Format | Repository | On disk (weights) |
|---|---|---|---|
| Bonsai (1-bit) | GGUF | prism-ml/Bonsai-27B-gguf | 3.53 GiB |
| Bonsai (1-bit) | MLX | prism-ml/Bonsai-27B-mlx-1bit | 3.92 GiB |
| Ternary | GGUF | prism-ml/Ternary-Bonsai-27B-gguf | 6.66 GiB |
| Ternary | MLX | prism-ml/Ternary-Bonsai-27B-mlx-2bit | 7.05 GiB |
8B
| Family | Format | Repository | On disk |
|---|---|---|---|
| Bonsai (1-bit) | GGUF | prism-ml/Bonsai-8B-gguf | 1.16 GB |
| Bonsai (1-bit) | MLX | prism-ml/Bonsai-8B-mlx-1bit | 1.28 GB |
| Ternary | GGUF | prism-ml/Ternary-Bonsai-8B-gguf | 2.18 GB |
| Ternary | MLX | prism-ml/Ternary-Bonsai-8B-mlx-2bit | 2.30 GB |
4B
| Family | Format | Repository | On disk |
|---|---|---|---|
| Bonsai (1-bit) | GGUF | prism-ml/Bonsai-4B-gguf | 0.57 GB |
| Bonsai (1-bit) | MLX | prism-ml/Bonsai-4B-mlx-1bit | 0.63 GB |
| Ternary | GGUF | prism-ml/Ternary-Bonsai-4B-gguf | 1.07 GB |
| Ternary | MLX | prism-ml/Ternary-Bonsai-4B-mlx-2bit | 1.13 GB |
1.7B
| Family | Format | Repository | On disk |
|---|---|---|---|
| Bonsai (1-bit) | GGUF | prism-ml/Bonsai-1.7B-gguf | 0.25 GB |
| Bonsai (1-bit) | MLX | prism-ml/Bonsai-1.7B-mlx-1bit | 0.27 GB |
| Ternary | GGUF | prism-ml/Ternary-Bonsai-1.7B-gguf | 0.46 GB |
| Ternary | MLX | prism-ml/Ternary-Bonsai-1.7B-mlx-2bit | 0.48 GB |
What’s inside a GGUF repo
You usually want exactly one file from each repo:- 1-bit repos:
Bonsai-{SIZE}-Q1_0.ggufis the file to use. - Ternary repos:
Ternary-Bonsai-{SIZE}-Q2_0.ggufis the default, plus the FP16 reference weights (large; only for comparison work). - 27B repos only: also grab the
mmprojfile alongside the quant file — it’s required for image input and isn’t optional the way the FP16 reference is.
mlx-lm model directories (config, tokenizer, safetensors); download the whole repo.
Next steps
Check runtime support
Make sure your runtime has native kernels for the file you downloaded.
Run it
Start the local server and connect your tools.