Model comparison

gemma-3-12b-it-qat vs gemma-4-E4B-it

These two publish different quantization sets; the table below has the exact sizes. At long context the gap widens: gemma-4-E4B-it's KV cache at 32K is 4.9× smaller, which usually matters more than the difference in weights.

From the file· summed bytes, KV per layer

Side by side

gemma-3-12b-it-qatgemma-4-E4B-it
Parameters11.8B8.0B
Architecturegemma3gemma4
Layers4842
Native context131,072131,072
Mixture of expertsnono
Quantizations published136
Smallest quantization6.64 GiB3.30 GiB
Q4_K_M4.64 GiB
Licenceapache-2.0

KV cache by context

the term that decides long-context viability
Contextgemma-3-12b-it-qatgemma-4-E4B-itRatio
4,0960.72 GiB0.12 GiB5.84×
8,1920.97 GiB0.18 GiB5.45×
16,3841.47 GiB0.29 GiB5.12×
32,7682.47 GiB0.51 GiB4.88×
65,5364.47 GiB0.94 GiB4.74×
131,0728.47 GiB1.82 GiB4.66×