Model comparison

Phi-3-mini-4k-instruct vs Qwen3.8-27B

At Q4_K_M, Phi-3-mini-4k-instruct is the smaller download — 8,404,011,936 bytes against 16,810,714,336.

From the file· summed bytes, KV per layer

Side by side

Phi-3-mini-4k-instructQwen3.8-27B
Parameters3.8B27.8B
Architecturellamaqwen35
Layers3264
Native context4,096262,144
Mixture of expertsnono
Quantizations published3622
Smallest quantization3.91 GiB8.39 GiB
Q4_K_M7.83 GiB15.66 GiB
Licencemitapache-2.0

KV cache by context

the term that decides long-context viability
ContextPhi-3-mini-4k-instructQwen3.8-27BRatio
4,0960.25 GiB
8,1920.50 GiB
16,3841.00 GiB
32,7682.00 GiB
65,5364.00 GiB
131,0728.00 GiB