Model comparison
gemma-4-12B-it vs gemma-3-12b-it-qat-int4-unquantized
At Q4_K_M, gemma-4-12B-it is the smaller download — 7,121,861,440 bytes against 7,300,778,848.
From the file· summed bytes, KV per layer
Side by side
| gemma-4-12B-it | gemma-3-12b-it-qat-int4-unquantized | |
|---|---|---|
| Parameters | 12.0B | 12.2B |
| Architecture | gemma4 | gemma3 |
| Layers | 48 | — |
| Native context | 262,144 | — |
| Mixture of experts | no | no |
| Quantizations published | 59 | 15 |
| Smallest quantization | 3.92 GiB | 4.11 GiB |
| Q4_K_M | 6.63 GiB | 6.80 GiB |
| Licence | apache-2.0 | gemma |
KV cache by context
the term that decides long-context viability
| Context | gemma-4-12B-it | gemma-3-12b-it-qat-int4-unquantized | Ratio |
|---|---|---|---|
| 4,096 | 0.72 GiB | — | — |
| 8,192 | 0.97 GiB | — | — |
| 16,384 | 1.47 GiB | — | — |
| 32,768 | 2.47 GiB | — | — |
| 65,536 | 4.47 GiB | — | — |
| 131,072 | 8.47 GiB | — | — |