Model comparison

Qwen2.5-Coder-0.5B-Instruct vs Llama-3.2-1B-Instruct

At Q4_K_M, Qwen2.5-Coder-0.5B-Instruct is the smaller download — 397,808,000 bytes against 807,690,688. At long context the gap widens: Qwen2.5-Coder-0.5B-Instruct's KV cache at 32K is 2.7× smaller, which usually matters more than the difference in weights.

From the file· summed bytes, KV per layer

Side by side

Qwen2.5-Coder-0.5B-InstructLlama-3.2-1B-Instruct
Parameters494M1.2B
Architectureqwen2llama
Layers2416
Native context32,768131,072
Mixture of expertsnono
Quantizations published2639
Smallest quantization0.32 GiB0.39 GiB
Q4_K_M0.37 GiB0.75 GiB
Licenceapache-2.0

KV cache by context

the term that decides long-context viability
ContextQwen2.5-Coder-0.5B-InstructLlama-3.2-1B-InstructRatio
4,0960.05 GiB0.13 GiB2.67×
8,1920.09 GiB0.25 GiB2.67×
16,3840.19 GiB0.50 GiB2.67×
32,7680.38 GiB1.00 GiB2.67×
65,5360.75 GiB2.00 GiB2.67×
131,0721.50 GiB4.00 GiB2.67×