Model comparison

phi-2 vs Qwen3-8B

At Q4_K_M, phi-2 is the smaller download — 1,737,636,384 bytes against 5,027,783,488. At long context the gap widens: Qwen3-8B's KV cache at 32K is 2.2× smaller, which usually matters more than the difference in weights.

From the file· summed bytes, KV per layer

Side by side

phi-2Qwen3-8B
Parameters2.8B8.2B
Architecturephi2qwen3
Layers3236
Native context2,04840,960
Mixture of expertsnono
Quantizations published3451
Smallest quantization1.03 GiB2.12 GiB
Q4_K_M1.62 GiB4.68 GiB
Licenceotherapache-2.0

KV cache by context

the term that decides long-context viability
Contextphi-2Qwen3-8BRatio
4,0961.25 GiB0.56 GiB2.22×
8,1922.50 GiB1.13 GiB2.22×
16,3845.00 GiB2.25 GiB2.22×
32,76810.00 GiB4.50 GiB2.22×
65,53620.00 GiB9.00 GiB2.22×
131,07240.00 GiB18.00 GiB2.22×