Model comparison

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

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-E2B-it-qat-q4_0-unquantized-hereticgemma-4-12B-it
Parameters5.1B12.0B
Architecturegemma4gemma4
Layers3548
Native context131,072262,144
Mixture of expertsnono
Quantizations published2859
Smallest quantization2.16 GiB3.92 GiB
Q4_K_M3.18 GiB6.63 GiB
Licencegemmaapache-2.0

KV cache by context

the term that decides long-context viability
Contextgemma-4-E2B-it-qat-q4_0-unquantized-hereticgemma-4-12B-itRatio
4,0960.05 GiB0.72 GiB13.14×
8,1920.08 GiB0.97 GiB11.81×
16,3840.14 GiB1.47 GiB10.74×
32,7680.25 GiB2.47 GiB10.03×
65,5360.46 GiB4.47 GiB9.61×
131,0720.90 GiB8.47 GiB9.39×