Model comparison

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

At Q4_K_M, gemma-3n-E2B-it is the smaller download — 2,787,806,304 bytes against 3,106,738,272. At long context the gap widens: gemma-4-E2B-it's KV cache at 32K is 1.7× smaller, which usually matters more than the difference in weights.

From the file· summed bytes, KV per layer

Side by side

gemma-3n-E2B-itgemma-4-E2B-it
Parameters5.4B5.1B
Architecturegemma3ngemma4
Layers3035
Native context32,768131,072
Mixture of expertsnono
Quantizations published4054
Smallest quantization1.76 GiB2.13 GiB
Q4_K_M2.60 GiB2.89 GiB
Licencegemmaapache-2.0

KV cache by context

the term that decides long-context viability
Contextgemma-3n-E2B-itgemma-4-E2B-itRatio
4,0960.09 GiB0.05 GiB1.71×
8,1920.14 GiB0.08 GiB1.71×
16,3840.23 GiB0.14 GiB1.71×
32,7680.42 GiB0.25 GiB1.71×
65,5360.80 GiB0.46 GiB1.71×
131,0721.55 GiB0.90 GiB1.71×