Gemma-4-31B-Fable-5-Agent-Distill
TeichAI/Gemma-4-31B-Fable-5-Agent-DistillGemma-4-31B-Fable-5-Agent-Distill at Q4_K_M is exactly 18,687,062,720 bytes (17.40 GiB / 18.69 GB) — an effective 4.574 bits per weight, not the nominal 4. Its KV cache at 32K is 6.17 GiB, not the 30.00 GiB a flat formula predicts.
Shipped quantizations
| Quant | Size● | Exact bytes● | Effective bpw● | Tensors● | Publisher |
|---|---|---|---|---|---|
| Q3_K_S | 12.82 GiB | 13,761,356,480 | 3.369 | — | DrBujok |
| Q3_K_S | 12.82 GiB | 13,761,356,480 | 3.369 | — | TeichAI |
| Q3_K_M | 14.24 GiB | 15,287,108,288 | 3.742 | — | DrBujok |
| Q3_K_M | 14.24 GiB | 15,287,108,288 | 3.742 | — | TeichAI |
| IQ4_NL | 16.53 GiB | 17,752,154,816 | 4.345 | — | DrBujok |
| IQ4_NL | 16.53 GiB | 17,752,154,816 | 4.345 | — | TeichAI |
| Q4_K_M | 17.40 GiB | 18,687,062,720 | 4.574 | — | DrBujok |
| Q4_K_M | 17.40 GiB | 18,687,062,720 | 4.574 | — | TeichAI |
| Q5_K_M | 20.35 GiB | 21,845,570,240 | 5.347 | — | TeichAI |
| Q5_K_M | 20.35 GiB | 21,845,570,240 | 5.347 | — | DrBujok |
| Q6_K | 23.47 GiB | 25,201,484,480 | 6.169 | — | TeichAI |
| Q6_K | 23.47 GiB | 25,201,484,480 | 6.169 | — | DrBujok |
| Q8_0 | 30.39 GiB | 32,635,675,328 | 7.989 | — | DrBujok |
| Q8_0 | 30.39 GiB | 32,635,675,328 | 7.989 | — | TeichAI |
| BF16 | 57.20 GiB | 61,413,188,288 | 15.033 | — | TeichAI |
| BF16 | 57.20 GiB | 61,413,188,288 | 15.033 | — | DrBujok |
KV cache by context
| Context | KV cache (f16)● | Flat formula | Overstated by | Full / windowed / recurrent |
|---|---|---|---|---|
| 4,096 | 1.80 GiB | 3.75 GiB | 2.09× | 10 / 50 / 0 |
| 8,192 | 2.42 GiB | 7.50 GiB | 3.10× | 10 / 50 / 0 |
| 16,384 | 3.67 GiB | 15.00 GiB | 4.09× | 10 / 50 / 0 |
| 32,768 | 6.17 GiB | 30.00 GiB | 4.86× | 10 / 50 / 0 |
| 65,536 | 11.17 GiB | 60.00 GiB | 5.37× | 10 / 50 / 0 |
| 131,072 | 21.17 GiB | 120.00 GiB | 5.67× | 10 / 50 / 0 |
50 of 60 layers cache only a 1,024-token window rather than the full context, on a period of . Figures assume the default configuration; --swa-full disables the saving entirely.
Compare with
Will it run on your card?
Why other calculators give a different number
A parameters × bits ÷ 8 estimate puts Q4_K_M at roughly 17.12 GiB. The real file is 17.40 GiB, because a quantization is a mixture and some tensors are always kept at higher precision. The larger discrepancy is the cache: a flat formula gives 30.00 GiB at 32K context where the real figure is 6.17 GiB, because most of this model's layers cache a fixed window rather than the whole context.
Architecture
Questions people ask
- How much VRAM does Gemma-4-31B-Fable-5-Agent-Distill need?
- Q4_K_M is exactly 18,687,062,720 bytes (17.40 GiB) in weights. Add the KV cache, which depends on your context length, plus roughly half a gigabyte of runtime overhead.
- How large is Gemma-4-31B-Fable-5-Agent-Distill's KV cache?
- 6.17 GiB at 32K context with an f16 cache, computed per layer. Quantizing the cache to q8_0 roughly halves it, which is often the difference between a context length fitting and not.
- Which quantization of Gemma-4-31B-Fable-5-Agent-Distill should I use?
- Q4_K_M is the usual default. Pick the largest quantization that fits your card at the context you actually need — the table above gives exact sizes for every one published.