gemma-4-12B-it-Esper4
ValiantLabs/gemma-4-12B-it-Esper4gemma-4-12B-it-Esper4 at Q4_K_M is exactly 7,381,384,128 bytes (6.87 GiB / 7.38 GB) — an effective 4.938 bits per weight, not the nominal 4. Its KV cache at 32K is 2.47 GiB, not the 12.00 GiB a flat formula predicts.
Shipped quantizations
| Quant | Size● | Exact bytes● | Effective bpw● | Tensors● | Publisher |
|---|---|---|---|---|---|
| I1-IQ1_S | 2.78 GiB | 2,983,693,504 | 1.996 | — | mradermacher |
| I1-IQ1_M | 2.98 GiB | 3,202,849,984 | 2.142 | — | mradermacher |
| I1-IQ2_XXS | 3.32 GiB | 3,568,110,784 | 2.387 | — | mradermacher |
| I1-IQ2_XS | 3.62 GiB | 3,887,844,544 | 2.601 | — | mradermacher |
| I1-IQ2_S | 3.80 GiB | 4,079,598,784 | 2.729 | — | mradermacher |
| I1-IQ2_M | 4.07 GiB | 4,371,807,424 | 2.924 | — | mradermacher |
| I1-Q2_K_S | 4.19 GiB | 4,504,149,184 | 3.013 | — | mradermacher |
| IQ2_S | 4.39 GiB | 4,708,743,968 | 3.150 | — | bartowski |
| Q2_K | 4.50 GiB | 4,830,149,568 | 3.231 | — | mradermacher |
| I1-Q2_K | 4.50 GiB | 4,830,149,824 | 3.231 | — | mradermacher |
| I1-IQ3_XXS | 4.52 GiB | 4,849,196,224 | 3.244 | — | mradermacher |
| IQ2_M | 4.60 GiB | 4,940,987,168 | 3.305 | — | bartowski |
| Q2_K | 4.73 GiB | 5,077,875,488 | 3.397 | — | bartowski |
| IQ3_XXS | 4.79 GiB | 5,145,090,848 | 3.442 | — | bartowski |
| I1-IQ3_XS | 4.91 GiB | 5,272,394,944 | 3.527 | — | mradermacher |
| Q2_K_L | 4.96 GiB | 5,321,669,408 | 3.560 | — | bartowski |
| IQ3_XS | 5.15 GiB | 5,525,773,088 | 3.696 | — | bartowski |
| Q3_K_S | 5.15 GiB | 5,528,230,848 | 3.698 | — | mradermacher |
| I1-Q3_K_S | 5.15 GiB | 5,528,231,104 | 3.698 | — | mradermacher |
| I1-IQ3_S | 5.15 GiB | 5,528,231,104 | 3.698 | — | mradermacher |
| Q3_K_S | 5.33 GiB | 5,724,838,688 | 3.829 | — | bartowski |
| I1-IQ3_M | 5.34 GiB | 5,733,993,664 | 3.836 | — | mradermacher |
| IQ3_M | 5.56 GiB | 5,969,922,848 | 3.993 | — | bartowski |
| Q3_K_M | 5.67 GiB | 6,087,089,088 | 4.072 | — | mradermacher |
| I1-Q3_K_M | 5.67 GiB | 6,087,089,344 | 4.072 | — | mradermacher |
| Q3_K_M | 5.87 GiB | 6,301,391,648 | 4.215 | — | bartowski |
| Q3_K_L | 6.12 GiB | 6,566,321,088 | 4.392 | — | mradermacher |
| I1-Q3_K_L | 6.12 GiB | 6,566,321,344 | 4.392 | — | mradermacher |
| I1-IQ4_XS | 6.18 GiB | 6,635,257,024 | 4.438 | — | mradermacher |
| Q3_K_L | 6.20 GiB | 6,652,828,448 | 4.450 | — | bartowski |
| IQ4_XS | 6.23 GiB | 6,690,552,768 | 4.475 | — | mradermacher |
| IQ4_XS | 6.32 GiB | 6,780,746,528 | 4.536 | — | bartowski |
| I1-IQ4_NL | 6.50 GiB | 6,975,880,384 | 4.666 | — | mradermacher |
| I1-Q4_0 | 6.52 GiB | 6,997,998,784 | 4.681 | — | mradermacher |
| Q4_K_S | 6.54 GiB | 7,024,049,088 | 4.699 | — | mradermacher |
| I1-Q4_K_S | 6.54 GiB | 7,024,049,344 | 4.699 | — | mradermacher |
| IQ4_NL | 6.62 GiB | 7,105,641,248 | 4.753 | — | bartowski |
| Q4_0 | 6.64 GiB | 7,127,759,648 | 4.768 | — | bartowski |
| Q4_K_S | 6.68 GiB | 7,169,538,848 | 4.796 | — | bartowski |
| Q4_K_M | 6.87 GiB | 7,381,384,128 | 4.938 | — | mradermacher |
KV cache by context
| Context | KV cache (f16)● | Flat formula | Overstated by | Full / windowed / recurrent |
|---|---|---|---|---|
| 4,096 | 0.72 GiB | 1.50 GiB | 2.09× | 8 / 40 / 0 |
| 8,192 | 0.97 GiB | 3.00 GiB | 3.10× | 8 / 40 / 0 |
| 16,384 | 1.47 GiB | 6.00 GiB | 4.09× | 8 / 40 / 0 |
| 32,768 | 2.47 GiB | 12.00 GiB | 4.86× | 8 / 40 / 0 |
| 65,536 | 4.47 GiB | 24.00 GiB | 5.37× | 8 / 40 / 0 |
| 131,072 | 8.47 GiB | 48.00 GiB | 5.67× | 8 / 40 / 0 |
40 of 48 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 6.27 GiB. The real file is 6.87 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 12.00 GiB at 32K context where the real figure is 2.47 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-12B-it-Esper4 need?
- Q4_K_M is exactly 7,381,384,128 bytes (6.87 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-12B-it-Esper4's KV cache?
- 2.47 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-12B-it-Esper4 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.