Can I run granite 4.2 30b locally?
granite 4.2 30b has 29.28 billion parameters (Hugging Face). At the popular Q4_K_M quantization it needs roughly 20.3 GB of GPU memory ESTIMATE. It has been on Hugging Face since 2026-08-07.
Memory needed by quantization
| Quant | Weights | Total needed (est.) |
|---|---|---|
| IQ1_S | 5.7 GB | 7.7 GB |
| IQ2_XXS | 7.5 GB | 9.6 GB |
| IQ2_M | 9.9 GB | 12.0 GB |
| Q2_K | 11.6 GB | 13.9 GB |
| IQ3_XXS | 11.2 GB | 13.4 GB |
| Q3_K_S | 13.4 GB | 15.7 GB |
| IQ3_M | 13.4 GB | 15.7 GB |
| Q3_K_M | 14.6 GB | 17.0 GB |
| IQ4_XS | 15.6 GB | 18.0 GB |
| Q4_0 | 16.5 GB | 19.0 GB |
| Q4_K_M | 17.7 GB | 20.3 GB |
| MXFP4 | 16.9 GB | 19.5 GB |
| Q5_K_M | 20.8 GB | 23.5 GB |
| Q6_K | 24.0 GB | 26.9 GB |
| Q8_0 | 31.1 GB | 34.3 GB |
| F16 | 58.6 GB | 63.2 GB |
KV cache by context length ESTIMATE
| Context | f16 | q8_0 | q4_0 |
|---|---|---|---|
| 4k | 1.07 GB | 0.57 GB | 0.30 GB |
| 8k | 2.15 GB | 1.14 GB | 0.60 GB |
| 16k | 4.29 GB | 2.28 GB | 1.21 GB |
| 32k | 8.59 GB | 4.56 GB | 2.42 GB |
| 64k | 17.18 GB | 9.13 GB | 4.83 GB |
| 128k | 34.36 GB | 18.25 GB | 9.66 GB |
From config.json: 64 KV-caching attention layers, 8 KV heads × 128 head dim. Max context 128k. The tables above assume 4k context.
Which GPUs and Macs can run it?
✅ fits · ⚠️ fits with little headroom · ❌ doesn't fit on this one device (multiple GPUs or RAM offload may work; check your setup). Apple Silicon assumes macOS lets the GPU use ~67–75% of unified memory. All fit verdicts are estimates.
Get the weekly "new models & what it takes to run them" email
Free. One email a week. Unsubscribe anytime.