Model comparison

gemma-4-12B-it vs gemma-3n-E2B-it

At Q4_K_M, gemma-3n-E2B-it is the smaller download — 2,787,806,304 bytes against 7,121,861,440. At long context the gap widens: gemma-3n-E2B-it's KV cache at 32K is 5.9× 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-3n-E2B-it
Parameters12.0B5.4B
Architecturegemma4gemma3n
Layers4830
Native context262,14432,768
Mixture of expertsnono
Quantizations published5940
Smallest quantization3.92 GiB1.76 GiB
Q4_K_M6.63 GiB2.60 GiB
Licenceapache-2.0gemma

KV cache by context

the term that decides long-context viability
Contextgemma-4-12B-itgemma-3n-E2B-itRatio
4,0960.72 GiB0.09 GiB7.67×
8,1920.97 GiB0.14 GiB6.89×
16,3841.47 GiB0.23 GiB6.27×
32,7682.47 GiB0.42 GiB5.85×
65,5364.47 GiB0.80 GiB5.61×
131,0728.47 GiB1.55 GiB5.47×