Model comparison

Phi-3.5-mini-instruct vs Llama-3.2-1B-Instruct

At Q4_K_M, Llama-3.2-1B-Instruct is the smaller download — 807,690,688 bytes against 2,393,232,384. At long context the gap widens: Llama-3.2-1B-Instruct's KV cache at 32K is 12.0× smaller, which usually matters more than the difference in weights.

From the file· summed bytes, KV per layer

Side by side

Phi-3.5-mini-instructLlama-3.2-1B-Instruct
Parameters3.8B1.2B
Architecturephi3llama
Layers3216
Native context131,072131,072
Mixture of expertsnono
Quantizations published3639
Smallest quantization0.78 GiB0.39 GiB
Q4_K_M2.23 GiB0.75 GiB
Licencemit

KV cache by context

the term that decides long-context viability
ContextPhi-3.5-mini-instructLlama-3.2-1B-InstructRatio
4,0961.50 GiB0.13 GiB12.00×
8,1923.00 GiB0.25 GiB12.00×
16,3846.00 GiB0.50 GiB12.00×
32,76812.00 GiB1.00 GiB12.00×
65,53624.00 GiB2.00 GiB12.00×
131,07248.00 GiB4.00 GiB12.00×