Model comparison

Llama-2-7B-32K-Instruct vs Qwen3-4B

At Q4_K_M, Qwen3-4B is the smaller download — 2,497,280,256 bytes against 4,081,004,288. 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

Llama-2-7B-32K-InstructQwen3-4B
Parameters6.7B4.0B
Architecturellamaqwen3
Layers3236
Native context32,76840,960
Mixture of expertsnono
Quantizations published3629
Smallest quantization1.42 GiB1.01 GiB
Q4_K_M3.80 GiB2.33 GiB
Licencellama2

KV cache by context

the term that decides long-context viability
ContextLlama-2-7B-32K-InstructQwen3-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×