Model comparison

Phi-3-mini-4k-instruct vs Qwen3-1.7B

At Q4_K_M, Qwen3-1.7B is the smaller download — 1,107,409,472 bytes against 2,393,231,456. At long context the gap widens: Qwen3-1.7B's KV cache at 32K is 3.4× smaller, which usually matters more than the difference in weights.

From the file· summed bytes, KV per layer

Side by side

Phi-3-mini-4k-instructQwen3-1.7B
Parameters3.8B2.0B
Architecturephi3qwen3
Layers3228
Native context4,09640,960
Mixture of expertsnono
Quantizations published6848
Smallest quantization0.78 GiB0.50 GiB
Q4_K_M2.23 GiB1.03 GiB
Licencemit

KV cache by context

the term that decides long-context viability
ContextPhi-3-mini-4k-instructQwen3-1.7BRatio
4,0961.50 GiB0.44 GiB3.43×
8,1923.00 GiB0.88 GiB3.43×
16,3846.00 GiB1.75 GiB3.43×
32,76812.00 GiB3.50 GiB3.43×
65,53624.00 GiB7.00 GiB3.43×
131,07248.00 GiB14.00 GiB3.43×