Model comparison

deepseek-math-7b-instruct vs gemma-4-E4B-it

At Q4_K_M, deepseek-math-7b-instruct is the smaller download — 4,221,964,704 bytes against 4,977,171,584. At long context the gap widens: gemma-4-E4B-it's KV cache at 32K is 29.7× smaller, which usually matters more than the difference in weights.

From the file· summed bytes, KV per layer

Side by side

deepseek-math-7b-instructgemma-4-E4B-it
Parameters6.9B8.0B
Architecturellamagemma4
Layers3042
Native context4,096131,072
Mixture of expertsnono
Quantizations published3836
Smallest quantization2.53 GiB3.30 GiB
Q4_K_M3.93 GiB4.64 GiB
Licenceotherapache-2.0

KV cache by context

the term that decides long-context viability
Contextdeepseek-math-7b-instructgemma-4-E4B-itRatio
4,0961.88 GiB0.12 GiB15.24×
8,1923.75 GiB0.18 GiB21.10×
16,3847.50 GiB0.29 GiB26.12×
32,76815.00 GiB0.51 GiB29.65×
65,53630.00 GiB0.94 GiB31.80×
131,07260.00 GiB1.82 GiB33.00×