Model comparison

Phi-3-mini-4k-instruct vs Qwen3-Coder-30B-A3B-Instruct

At Q4_K_M, Phi-3-mini-4k-instruct is the smaller download — 8,404,011,936 bytes against 18,556,689,568.

From the file· summed bytes, KV per layer

Side by side

Phi-3-mini-4k-instructQwen3-Coder-30B-A3B-Instruct
Parameters3.8B30.5B
Architecturellamaqwen3moe
Layers3248
Native context4,096262,144
Mixture of expertsnoyes, 128 experts
Quantizations published3646
Smallest quantization3.91 GiB7.46 GiB
Q4_K_M7.83 GiB17.28 GiB
Licencemitapache-2.0

KV cache by context

the term that decides long-context viability
ContextPhi-3-mini-4k-instructQwen3-Coder-30B-A3B-InstructRatio
4,0960.38 GiB
8,1920.75 GiB
16,3841.50 GiB
32,7683.00 GiB
65,5366.00 GiB
131,07212.00 GiB