gemma-4-A4B-98e-v6-coder-it
ManniX-ITA/gemma-4-A4B-98e-v6-coder-itgemma-4-A4B-98e-v6-coder-it at Q4_K_M is exactly 23,887,604,320 bytes (22.25 GiB / 23.89 GB) — an effective 9.344 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 |
|---|---|---|---|---|---|
| IQ2_XS | 7.24 GiB | 7,771,168,960 | 3.040 | — | ManniX-ITA |
| IQ2_S | 7.29 GiB | 7,827,939,520 | 3.062 | — | ManniX-ITA |
| IQ2_M | 7.66 GiB | 8,220,940,480 | 3.216 | — | ManniX-ITA |
| IQ3_XXS | 8.33 GiB | 8,945,891,520 | 3.499 | — | ManniX-ITA |
| IQ3_XS | 8.58 GiB | 9,217,235,648 | 3.606 | — | ManniX-ITA |
| Q3_K_S | 9.01 GiB | 9,675,336,896 | 3.785 | — | ManniX-ITA |
| IQ3_M | 9.15 GiB | 9,823,188,160 | 3.843 | — | ManniX-ITA |
| Q3_K_M | 9.79 GiB | 10,512,916,672 | 4.112 | — | ManniX-ITA |
| Q3_K_L | 10.19 GiB | 10,942,874,816 | 4.281 | — | ManniX-ITA |
| IQ4_XS | 10.25 GiB | 11,008,234,176 | 4.306 | — | ManniX-ITA |
| Q4_0 | 10.63 GiB | 11,418,356,128 | 4.467 | — | ManniX-ITA |
| IQ4_NL | 10.63 GiB | 11,418,356,416 | 4.467 | — | ManniX-ITA |
| Q4_K_S | 11.37 GiB | 12,209,641,152 | 4.776 | — | ManniX-ITA |
| Q4_1 | 11.75 GiB | 12,614,029,728 | 4.934 | — | ManniX-ITA |
| Q4_K_L | 12.50 GiB | 13,418,527,136 | 5.249 | — | ManniX-ITA |
| Q5_K_S | 13.21 GiB | 14,185,132,736 | 5.549 | — | ManniX-ITA |
| Q5_K_L | 14.20 GiB | 15,249,873,600 | 5.965 | — | ManniX-ITA |
| Q6_K_L | 16.75 GiB | 17,984,080,064 | 7.035 | — | ManniX-ITA |
| Q8_0 | 19.71 GiB | 21,162,527,136 | 8.278 | — | ManniX-ITA |
| Q4_K_M2 shards | 22.25 GiB | 23,887,604,320 | 9.344 | — | ManniX-ITA |
| Q5_K_M2 shards | 26.21 GiB | 28,139,609,440 | 11.008 | — | ManniX-ITA |
| Q6_K2 shards | 31.05 GiB | 33,335,895,392 | 13.040 | — | ManniX-ITA |
| F16 | 37.06 GiB | 39,789,691,296 | 15.565 | — | ManniX-ITA |
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 10.71 GiB. The real file is 22.25 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-A4B-98e-v6-coder-it need?
- Q4_K_M is exactly 23,887,604,320 bytes (22.25 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-A4B-98e-v6-coder-it'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-A4B-98e-v6-coder-it a mixture-of-experts model?
- Yes — 98 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-A4B-98e-v6-coder-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.