Ternary-Bonsai-27B requirements — can you run it?
~26.9B parameters · 6 quantizations measured · updated 2026-08-31 · source: prism-ml/Ternary-Bonsai-27B-gguf
Ternary-Bonsai-27B is a dense transformer (~26.9B parameters) (501k downloads on Hugging Face), published as GGUF by the community. At the recommended Q4_1 quant it needs 3.8 GB of VRAM or system RAM at 8K context. Builds measured on this page range from 2.3 GB (smallest quant) to 66.1 GB (lossless). Every number below comes from the actual GGUF files - not a params x bits formula.
# llama.cpp (auto-downloads the GGUF) llama-cli -hf prism-ml/Ternary-Bonsai-27B-gguf:Q4_1 # Ollama (pulls straight from Hugging Face) ollama run hf.co/prism-ml/Ternary-Bonsai-27B-gguf:Q4_1 # LM Studio: search "prism-ml/Ternary-Bonsai-27B-gguf" in the model browser
Commands load the exact quant measured on this page.
Every quantization: real file size vs what you actually need
| Quant | File (measured) | VRAM/RAM needed (8K ctx) | Runs on (first fit) |
|---|---|---|---|
| Q8_0 | 0.6 GB | 2.3 GB | RTX 3060 12GB |
| BF16 | 0.9 GB | 2.6 GB | RTX 3060 12GB |
| Q4_1 | 1.9 GB | 3.8 GB | RTX 3060 12GB |
| Q2_g64 | 7.6 GB | 10.6 GB | RTX 3060 12GB |
| Q2_0 | 14.3 GB | 18.7 GB | RTX 3090 24GB |
| F16 | 53.8 GB | 66.1 GB | RTX PRO 6000 96GB |
KV cache uses a flat +20% context/overhead rule because this repo does not publish its config; exact numbers may differ for long contexts. MoE models keep all experts in memory — total size counts, not just active params. Longer context grows the KV cache — use the selector above.
Can I run Ternary-Bonsai-27B on my GPU? (Q4_1 recommended quant)
| Hardware | Memory | Verdict | Est. speed |
|---|---|---|---|
| RTX 3060 12GB | 12 GB | RUNS | ~139 tok/s |
| RTX 4060 Ti 16GB | 16 GB | RUNS | ~111 tok/s |
| RTX 3090 24GB | 24 GB | RUNS | ~361 tok/s |
| RTX 4090 24GB | 24 GB | RUNS | ~388 tok/s |
| RTX 5090 32GB | 32 GB | RUNS | ~691 tok/s |
| RTX PRO 6000 96GB | 96 GB | RUNS | ~691 tok/s |
| Mac 16GB unified | 16 GB | RUNS | ~39 tok/s |
| Mac 32GB unified | 32 GB | RUNS | ~58 tok/s |
| Mac 64GB unified | 64 GB | RUNS | ~105 tok/s |
| Mac 128GB unified | 128 GB | RUNS | ~154 tok/s |
| Mac 256GB unified | 256 GB | RUNS | ~210 tok/s |
| Mac 512GB unified | 512 GB | RUNS | ~316 tok/s |
| 32GB system RAM (CPU) | 32 GB | RUNS | ~19 tok/s |
| 64GB system RAM (CPU) | 64 GB | RUNS | ~19 tok/s |
| 128GB system RAM (CPU) | 128 GB | RUNS | ~31 tok/s |
| 256GB system RAM (CPU) | 256 GB | RUNS | ~31 tok/s |
| 1TB server RAM (CPU) | 1024 GB | RUNS | ~77 tok/s |
| 2TB server RAM (CPU) | 2048 GB | RUNS | ~77 tok/s |
Speed = decode tok/s estimated from memory bandwidth ÷ measured file size (× MoE active share). Real numbers vary ±30% by runtime and settings.
How much VRAM does Ternary-Bonsai-27B need?
The honest answer: 3.8 GB at the Q4_1 quant with 8K context — that is the measured
file size (1.9 GB) plus KV cache and runtime overhead. The smallest published build needs
2.3 GB; the lossless one needs 66.1 GB.
Cheapest hardware that runs it: Used RTX 3070 8GB (~$220, used market) — see which GPU to buy.
Can I run it with CPU offload?
Yes, if combined RAM+VRAM ≥ file size — but generation speed is limited by memory bandwidth. Expect roughly: DDR5 dual channel ~10-30 tok/s for small MoE actives, single digits for big ones, 0.1-1 tok/s when experts page from disk. CPU-only is fine for batch jobs, painful for chat.
Why do other sites show different numbers?
Most pages compute weights from a formula (params × bits/8). We use the actual file sizes published in GGUF repos, which include the embedding table, unquantized tensors, and container overhead — that is why our numbers can differ from a naive calculation.
FAQ
How much VRAM does Ternary-Bonsai-27B need?
The measured answer: 3.8 GB at the Q4_1 quant with 8K context. The smallest published build needs 2.3 GB; the lossless (F16/BF16) build needs 66.1 GB. These are real GGUF file sizes from Hugging Face, not formula estimates.
Can I run Ternary-Bonsai-27B on a 24GB GPU (RTX 3090/4090)?
Yes — at Q4_1 (3.8 GB). Quants that fit 24GB: Q8_0, BF16, Q4_1, Q2_g64, Q2_0.
How fast will Ternary-Bonsai-27B run?
Decode speed is memory-bandwidth-bound. At Q4_1: roughly 388 tok/s on an RTX 4090, 361 tok/s on an RTX 3090, 154 tok/s on an M-series Mac with 128GB, and 19.3 tok/s on CPU with dual-channel DDR4 — estimates from measured file size, MoE active-parameter share and memory bandwidth.
Can I run Ternary-Bonsai-27B on CPU with system RAM?
Yes, if your usable RAM is at least the file size. At Q4_1 you need ~3.8 GB of RAM. CPU generation is memory-bandwidth-bound: expect single-digit tok/s for large MoE models, 10-30 tok/s for small active params, and below 1 tok/s when experts page from disk.
Why do VRAM numbers for Ternary-Bonsai-27B differ between sites?
Most sites compute weights from a formula (params x bits/8). ModelFit uses the actual GGUF file sizes published on Hugging Face, which include the embedding table, unquantized tensors, and container overhead — so our numbers reflect what you really download and load.