Model comparison

deepseek-coder-1.3b-base vs Llama-3.2-1B-Instruct

At Q4_K_M, Llama-3.2-1B-Instruct is the smaller download — 807,690,688 bytes against 873,453,568. At long context the gap widens: Llama-3.2-1B-Instruct's KV cache at 32K is 6.0× smaller, which usually matters more than the difference in weights.

From the file· summed bytes, KV per layer

Side by side

deepseek-coder-1.3b-baseLlama-3.2-1B-Instruct
Parameters1.3B1.2B
Architecturellamallama
Layers2416
Native context16,384131,072
Mixture of expertsnono
Quantizations published4939
Smallest quantization0.40 GiB0.39 GiB
Q4_K_M0.81 GiB0.75 GiB
Licenceother

KV cache by context

the term that decides long-context viability
Contextdeepseek-coder-1.3b-baseLlama-3.2-1B-InstructRatio
4,0960.75 GiB0.13 GiB6.00×
8,1921.50 GiB0.25 GiB6.00×
16,3843.00 GiB0.50 GiB6.00×
32,7686.00 GiB1.00 GiB6.00×
65,53612.00 GiB2.00 GiB6.00×
131,07224.00 GiB4.00 GiB6.00×