Model comparison

gemma-4-12B-it vs gemma-4-E2B-it-qat-q4_0-unquantized-heretic

At Q4_K_M, gemma-4-E2B-it-qat-q4_0-unquantized-heretic is the smaller download — 3,416,119,296 bytes against 7,121,861,440. At long context the gap widens: gemma-4-E2B-it-qat-q4_0-unquantized-heretic's KV cache at 32K is 10.0× smaller, which usually matters more than the difference in weights.

From the file· summed bytes, KV per layer

Side by side

gemma-4-12B-itgemma-4-E2B-it-qat-q4_0-unquantized-heretic
Parameters12.0B5.1B
Architecturegemma4gemma4
Layers4835
Native context262,144131,072
Mixture of expertsnono
Quantizations published5928
Smallest quantization3.92 GiB2.16 GiB
Q4_K_M6.63 GiB3.18 GiB
Licenceapache-2.0gemma

KV cache by context

the term that decides long-context viability
Contextgemma-4-12B-itgemma-4-E2B-it-qat-q4_0-unquantized-hereticRatio
4,0960.72 GiB0.05 GiB13.14×
8,1920.97 GiB0.08 GiB11.81×
16,3841.47 GiB0.14 GiB10.74×
32,7682.47 GiB0.25 GiB10.03×
65,5364.47 GiB0.46 GiB9.61×
131,0728.47 GiB0.90 GiB9.39×