Model comparison

internlm2-math-plus-20b vs gemma-4-E4B-it

At Q4_K_M, gemma-4-E4B-it is the smaller download — 4,977,171,584 bytes against 11,984,469,440. At long context the gap widens: gemma-4-E4B-it's KV cache at 32K is 11.9× smaller, which usually matters more than the difference in weights.

From the file· summed bytes, KV per layer

Side by side

internlm2-math-plus-20bgemma-4-E4B-it
Parameters19.9B8.0B
Architectureinternlm2gemma4
Layers4842
Native context8,192131,072
Mixture of expertsnono
Quantizations published6836
Smallest quantization4.23 GiB3.30 GiB
Q4_K_M11.16 GiB4.64 GiB
Licenceotherapache-2.0

KV cache by context

the term that decides long-context viability
Contextinternlm2-math-plus-20bgemma-4-E4B-itRatio
4,0960.75 GiB0.12 GiB6.10×
8,1921.50 GiB0.18 GiB8.44×
16,3843.00 GiB0.29 GiB10.45×
32,7686.00 GiB0.51 GiB11.86×
65,53612.00 GiB0.94 GiB12.72×
131,07224.00 GiB1.82 GiB13.20×