Model comparison

deepseek-coder-6.7b-base vs Qwen3-4B

At Q4_K_M, Qwen3-4B is the smaller download — 2,497,280,256 bytes against 4,082,886,848. At long context the gap widens: Qwen3-4B's KV cache at 32K is 3.6× smaller, which usually matters more than the difference in weights.

From the file· summed bytes, KV per layer

Side by side

deepseek-coder-6.7b-baseQwen3-4B
Parameters6.7B4.0B
Architecturellamaqwen3
Layers3236
Native context16,38440,960
Mixture of expertsnono
Quantizations published5629
Smallest quantization1.42 GiB1.01 GiB
Q4_K_M3.80 GiB2.33 GiB
Licenceother

KV cache by context

the term that decides long-context viability
Contextdeepseek-coder-6.7b-baseQwen3-4BRatio
4,0962.00 GiB0.56 GiB3.56×
8,1924.00 GiB1.13 GiB3.56×
16,3848.00 GiB2.25 GiB3.56×
32,76816.00 GiB4.50 GiB3.56×
65,53632.00 GiB9.00 GiB3.56×
131,07264.00 GiB18.00 GiB3.56×