Model comparison

gemma-4-31B-it vs gemma-4-26B-A4B-it

At Q4_K_M, gemma-4-26B-A4B-it is the smaller download — 16,796,017,248 bytes against 18,323,733,440. At long context the gap widens: gemma-4-26B-A4B-it's KV cache at 32K is 4.0× smaller, which usually matters more than the difference in weights.

From the file· summed bytes, KV per layer

Side by side

gemma-4-31B-itgemma-4-26B-A4B-it
Parameters31.3B26.5B
Architecturegemma4gemma4
Layers6030
Native context262,144262,144
Mixture of expertsnoyes, 128 experts
Quantizations published5546
Smallest quantization7.95 GiB8.99 GiB
Q4_K_M17.07 GiB15.64 GiB
Licenceapache-2.0apache-2.0

KV cache by context

the term that decides long-context viability
Contextgemma-4-31B-itgemma-4-26B-A4B-itRatio
4,0961.80 GiB0.45 GiB4.00×
8,1922.42 GiB0.61 GiB4.00×
16,3843.67 GiB0.92 GiB4.00×
32,7686.17 GiB1.54 GiB4.00×
65,53611.17 GiB2.79 GiB4.00×
131,07221.17 GiB5.29 GiB4.00×