Model comparison

gemma-4-31B-it-assistant vs gemma-3-1b-it

At Q4_K_M, gemma-4-31B-it-assistant is the smaller download — 353,468,640 bytes against 806,058,240. At long context the gap widens: gemma-3-1b-it's KV cache at 32K is 3.9× smaller, which usually matters more than the difference in weights.

From the file· summed bytes, KV per layer

Side by side

gemma-4-31B-it-assistantgemma-3-1b-it
Parameters470M1000M
Architecturegemma4-assistantgemma3
Layers426
Native context262,14432,768
Mixture of expertsnono
Quantizations published2128
Smallest quantization0.29 GiB0.52 GiB
Q4_K_M0.33 GiB0.75 GiB
Licencegemma

KV cache by context

the term that decides long-context viability
Contextgemma-4-31B-it-assistantgemma-3-1b-itRatio
4,0960.13 GiB0.04 GiB3.58×
8,1920.20 GiB0.05 GiB3.70×
16,3840.32 GiB0.08 GiB3.81×
32,7680.57 GiB0.15 GiB3.89×
65,5361.07 GiB0.27 GiB3.94×
131,0722.07 GiB0.52 GiB3.97×