Model comparison

gemma-2b vs Qwen3-4B

At Q4_K_M, gemma-2b is the smaller download — 1,495,245,728 bytes against 2,497,280,256. At long context the gap widens: gemma-2b's KV cache at 32K is 8.0× smaller, which usually matters more than the difference in weights.

From the file· summed bytes, KV per layer

Side by side

gemma-2bQwen3-4B
Parameters2.5B4.0B
Architecturegemmaqwen3
Layers1836
Native context8,19240,960
Mixture of expertsnono
Quantizations published3829
Smallest quantization0.84 GiB1.01 GiB
Q4_K_M1.39 GiB2.33 GiB
Licencecc-by-nc-4.0

KV cache by context

the term that decides long-context viability
Contextgemma-2bQwen3-4BRatio
4,0960.07 GiB0.56 GiB8.00×
8,1920.14 GiB1.13 GiB8.00×
16,3840.28 GiB2.25 GiB8.00×
32,7680.56 GiB4.50 GiB8.00×
65,5361.13 GiB9.00 GiB8.00×
131,0722.25 GiB18.00 GiB8.00×