Model comparison

gemma-3-12b-it vs gemma-4-E2B-it

At Q4_K_M, gemma-4-E2B-it is the smaller download — 3,106,738,272 bytes against 7,300,574,976. At long context the gap widens: gemma-4-E2B-it'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-3-12b-itgemma-4-E2B-it
Parameters12.2B5.1B
Architecturegemma3gemma4
Layers4835
Native context131,072131,072
Mixture of expertsnono
Quantizations published2554
Smallest quantization2.85 GiB2.13 GiB
Q4_K_M6.80 GiB2.89 GiB
Licencegemmaapache-2.0

KV cache by context

the term that decides long-context viability
Contextgemma-3-12b-itgemma-4-E2B-itRatio
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×