medgemma-27b-it
google/medgemma-27b-itmedgemma-27b-it at Q4_K_M is exactly 16,546,689,536 bytes (15.41 GiB / 16.55 GB) — an effective 4.590 bits per weight, not the nominal 4. Its KV cache at 32K is 3.11 GiB, not the 15.50 GiB a flat formula predicts.
Shipped quantizations
| Quant | Size● | Exact bytes● | Effective bpw● | Tensors● | Publisher |
|---|---|---|---|---|---|
| I1-IQ1_S | 5.83 GiB | 6,264,248,608 | 1.738 | — | mradermacher |
| UD-IQ1_S | 6.06 GiB | 6,506,340,288 | 1.805 | — | unsloth |
| I1-IQ1_M | 6.33 GiB | 6,797,246,752 | 1.885 | — | mradermacher |
| UD-IQ1_M | 6.51 GiB | 6,986,739,648 | 1.938 | — | unsloth |
| I1-IQ2_XXS | 7.16 GiB | 7,685,576,992 | 2.132 | — | mradermacher |
| UD-IQ2_XXS | 7.31 GiB | 7,850,254,272 | 2.177 | — | unsloth |
| IQ2_XS | 7.86 GiB | 8,438,904,704 | 2.341 | — | bartowski |
| I1-IQ2_XS | 7.86 GiB | 8,438,905,120 | 2.341 | — | mradermacher |
| IQ2_S | 8.18 GiB | 8,782,409,600 | 2.436 | — | bartowski |
| I1-IQ2_S | 8.18 GiB | 8,782,410,016 | 2.436 | — | mradermacher |
| IQ2_M | 8.84 GiB | 9,493,073,792 | 2.633 | — | bartowski |
| I1-IQ2_M | 8.84 GiB | 9,493,074,208 | 2.633 | — | mradermacher |
| UD-IQ2_M | 8.96 GiB | 9,624,506,304 | 2.670 | — | unsloth |
| I1-Q2_K_S | 9.09 GiB | 9,757,447,072 | 2.707 | — | mradermacher |
| Q2_K | 9.78 GiB | 10,503,721,472 | 2.913 | — | bartowski |
| Q2_K_L | 9.78 GiB | 10,503,721,536 | 2.913 | — | unsloth |
| Q2_K | 9.78 GiB | 10,503,721,536 | 2.913 | — | unsloth |
| I1-Q2_K | 9.78 GiB | 10,503,721,888 | 2.913 | — | mradermacher |
| IQ3_XXS | 9.98 GiB | 10,716,479,360 | 2.973 | — | bartowski |
| I1-IQ3_XXS | 9.98 GiB | 10,716,479,776 | 2.973 | — | mradermacher |
| UD-IQ3_XXS | 10.07 GiB | 10,810,021,824 | 2.998 | — | unsloth |
| Q2_K_L | 10.10 GiB | 10,845,116,288 | 3.008 | — | bartowski |
| IQ3_XS | 10.77 GiB | 11,562,234,368 | 3.207 | — | bartowski |
| I1-IQ3_XS | 10.77 GiB | 11,562,234,784 | 3.207 | — | mradermacher |
| Q3_K_S | 11.33 GiB | 12,167,614,976 | 3.375 | — | bartowski |
| Q3_K_S | 11.33 GiB | 12,167,615,040 | 3.375 | — | unsloth |
| I1-IQ3_S | 11.33 GiB | 12,167,615,392 | 3.375 | — | mradermacher |
| I1-Q3_K_S | 11.33 GiB | 12,167,615,392 | 3.375 | — | mradermacher |
| IQ3_M | 11.69 GiB | 12,547,074,560 | 3.480 | — | bartowski |
| I1-IQ3_M | 11.69 GiB | 12,547,074,976 | 3.480 | — | mradermacher |
| Q3_K_M | 12.51 GiB | 13,437,641,216 | 3.727 | — | bartowski |
| Q3_K_M | 12.51 GiB | 13,437,641,280 | 3.727 | — | unsloth |
| I1-Q3_K_M | 12.51 GiB | 13,437,641,632 | 3.727 | — | mradermacher |
| Q3_K_L | 13.54 GiB | 14,543,462,912 | 4.034 | — | bartowski |
| I1-Q3_K_L | 13.54 GiB | 14,543,463,328 | 4.034 | — | mradermacher |
| IQ4_XS | 13.75 GiB | 14,767,448,576 | 4.096 | — | bartowski |
| IQ4_XS | 13.75 GiB | 14,767,448,640 | 4.096 | — | unsloth |
| I1-IQ4_XS | 13.75 GiB | 14,767,448,992 | 4.096 | — | mradermacher |
| IQ4_NL | 14.50 GiB | 15,567,397,376 | 4.318 | — | bartowski |
| IQ4_NL | 14.50 GiB | 15,567,397,440 | 4.318 | — | unsloth |
KV cache by context
| Context | KV cache (f16)● | Flat formula | Overstated by | Full / windowed / recurrent |
|---|---|---|---|---|
| 4,096 | 0.92 GiB | 1.94 GiB | 2.10× | 10 / 52 / 0 |
| 8,192 | 1.23 GiB | 3.88 GiB | 3.14× | 10 / 52 / 0 |
| 16,384 | 1.86 GiB | 7.75 GiB | 4.17× | 10 / 52 / 0 |
| 32,768 | 3.11 GiB | 15.50 GiB | 4.98× | 10 / 52 / 0 |
| 65,536 | 5.61 GiB | 31.00 GiB | 5.53× | 10 / 52 / 0 |
| 131,072 | 10.61 GiB | 62.00 GiB | 5.84× | 10 / 52 / 0 |
52 of 62 layers cache only a 1,024-token window rather than the full context, on a period of 6. 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 15.11 GiB. The real file is 15.41 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 15.50 GiB at 32K context where the real figure is 3.11 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 medgemma-27b-it need?
- Q4_K_M is exactly 16,546,689,536 bytes (15.41 GiB) in weights. Add the KV cache, which depends on your context length, plus roughly half a gigabyte of runtime overhead.
- How large is medgemma-27b-it's KV cache?
- 3.11 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 medgemma-27b-it 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.