Gemma-4-19B
0xSero/Gemma-4-19BGemma-4-19B at Q4_K_M is exactly 12,291,399,040 bytes (11.45 GiB / 12.29 GB) — an effective 5.169 bits per weight, not the nominal 4. Its KV cache at 32K is 1.54 GiB, not the 7.50 GiB a flat formula predicts.
Shipped quantizations
| Quant | Size● | Exact bytes● | Effective bpw● | Tensors● | Publisher |
|---|---|---|---|---|---|
| I1-IQ1_S | 5.70 GiB | 6,123,351,200 | 2.575 | — | mradermacher |
| I1-IQ1_M | 5.96 GiB | 6,395,799,200 | 2.690 | — | mradermacher |
| I1-IQ2_XXS | 6.38 GiB | 6,849,879,200 | 2.881 | — | mradermacher |
| I1-IQ2_XS | 6.73 GiB | 7,225,758,880 | 3.039 | — | mradermacher |
| I1-IQ2_S | 6.78 GiB | 7,282,529,440 | 3.063 | — | mradermacher |
| I1-IQ2_M | 7.12 GiB | 7,645,793,440 | 3.215 | — | mradermacher |
| Q2_K | 7.28 GiB | 7,815,502,208 | 3.287 | — | mradermacher |
| I1-Q2_K | 7.28 GiB | 7,815,502,496 | 3.287 | — | mradermacher |
| I1-Q2_K_S | 7.29 GiB | 7,828,996,768 | 3.292 | — | mradermacher |
| I1-IQ3_XXS | 7.74 GiB | 8,311,270,560 | 3.495 | — | mradermacher |
| I1-IQ3_XS | 7.98 GiB | 8,572,206,752 | 3.605 | — | mradermacher |
| Q3_K_S | 8.38 GiB | 8,996,110,208 | 3.783 | — | mradermacher |
| I1-Q3_K_S | 8.38 GiB | 8,996,110,496 | 3.783 | — | mradermacher |
| I1-IQ3_S | 8.38 GiB | 8,996,110,496 | 3.783 | — | mradermacher |
| I1-IQ3_M | 8.51 GiB | 9,138,014,368 | 3.843 | — | mradermacher |
| Q3_K_M | 9.10 GiB | 9,773,224,832 | 4.110 | — | mradermacher |
| I1-Q3_K_M | 9.10 GiB | 9,773,225,120 | 4.110 | — | mradermacher |
| Q3_K_L | 9.48 GiB | 10,174,437,248 | 4.279 | — | mradermacher |
| I1-Q3_K_L | 9.48 GiB | 10,174,437,536 | 4.279 | — | mradermacher |
| I1-IQ4_XS | 9.53 GiB | 10,232,362,656 | 4.303 | — | mradermacher |
| IQ4_XS | 9.63 GiB | 10,336,070,016 | 4.347 | — | mradermacher |
| I1-IQ4_NL | 9.88 GiB | 10,612,747,936 | 4.463 | — | mradermacher |
| I1-Q4_0 | 9.92 GiB | 10,647,317,152 | 4.478 | — | mradermacher |
| Q4_K_S | 10.56 GiB | 11,341,584,768 | 4.770 | — | mradermacher |
| I1-Q4_K_S | 10.56 GiB | 11,341,585,056 | 4.770 | — | mradermacher |
| I1-Q4_1 | 10.91 GiB | 11,719,210,656 | 4.928 | — | mradermacher |
| Q4_K_M | 11.45 GiB | 12,291,399,040 | 5.169 | — | mradermacher |
| I1-Q4_K_M | 11.45 GiB | 12,291,399,328 | 5.169 | — | mradermacher |
| Q5_K_S | 12.27 GiB | 13,171,365,248 | 5.539 | — | mradermacher |
| I1-Q5_K_S | 12.27 GiB | 13,171,365,536 | 5.539 | — | mradermacher |
| Q5_K_M | 13.03 GiB | 13,987,937,664 | 5.883 | — | mradermacher |
| I1-Q5_K_M | 13.03 GiB | 13,987,937,952 | 5.883 | — | mradermacher |
| Q6_K | 15.38 GiB | 16,516,463,488 | 6.946 | — | mradermacher |
| I1-Q6_K | 15.38 GiB | 16,516,463,776 | 6.946 | — | mradermacher |
| Q8_0 | 18.29 GiB | 19,643,231,616 | 8.261 | — | mradermacher |
KV cache by context
| Context | KV cache (f16)● | Flat formula | Overstated by | Full / windowed / recurrent |
|---|---|---|---|---|
| 4,096 | 0.45 GiB | 0.94 GiB | 2.09× | 5 / 25 / 0 |
| 8,192 | 0.61 GiB | 1.88 GiB | 3.10× | 5 / 25 / 0 |
| 16,384 | 0.92 GiB | 3.75 GiB | 4.09× | 5 / 25 / 0 |
| 32,768 | 1.54 GiB | 7.50 GiB | 4.86× | 5 / 25 / 0 |
| 65,536 | 2.79 GiB | 15.00 GiB | 5.37× | 5 / 25 / 0 |
| 131,072 | 5.29 GiB | 30.00 GiB | 5.67× | 5 / 25 / 0 |
25 of 30 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 9.97 GiB. The real file is 11.45 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 7.50 GiB at 32K context where the real figure is 1.54 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-19B need?
- Q4_K_M is exactly 12,291,399,040 bytes (11.45 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-19B's KV cache?
- 1.54 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.
- Is Gemma-4-19B a mixture-of-experts model?
- Yes — 90 experts, null routed per token. Every expert must be resident, but only the routed ones are read per token, which is why its memory requirement and its speed behave very differently.
- Which quantization of Gemma-4-19B 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.