Model comparison

gemma-4-31B-it-DFlash vs Qwen3-4B

At Q4_K_M, gemma-4-31B-it-DFlash is the smaller download — 911,587,296 bytes against 2,497,280,256. At long context the gap widens: gemma-4-31B-it-DFlash's KV cache at 32K is 27.4× 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-DFlashQwen3-4B
Parameters1.5B4.0B
Architecturedflashqwen3
Layers536
Native context262,14440,960
Mixture of expertsnono
Quantizations published1229
Smallest quantization0.54 GiB1.01 GiB
Q4_K_M0.85 GiB2.33 GiB
Licenceapache-2.0

KV cache by context

the term that decides long-context viability
Contextgemma-4-31B-it-DFlashQwen3-4BRatio
4,0960.05 GiB0.56 GiB10.29×
8,1920.07 GiB1.13 GiB16.00×
16,3840.10 GiB2.25 GiB22.15×
32,7680.16 GiB4.50 GiB27.43×
65,5360.29 GiB9.00 GiB31.14×
131,0720.54 GiB18.00 GiB33.39×