Model comparison

Yi-Coder-1.5B vs Llama-3.2-1B-Instruct

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

From the file· summed bytes, KV per layer

Side by side

Yi-Coder-1.5BLlama-3.2-1B-Instruct
Parameters1.5B1.2B
Architecturellamallama
Layers2416
Native context131,072131,072
Mixture of expertsnono
Quantizations published4139
Smallest quantization0.46 GiB0.39 GiB
Q4_K_M0.90 GiB0.75 GiB
Licenceapache-2.0

KV cache by context

the term that decides long-context viability
ContextYi-Coder-1.5BLlama-3.2-1B-InstructRatio
4,0960.75 GiB0.13 GiB6.00×
8,1921.50 GiB0.25 GiB6.00×
16,3843.00 GiB0.50 GiB6.00×
32,7686.00 GiB1.00 GiB6.00×
65,53612.00 GiB2.00 GiB6.00×
131,07224.00 GiB4.00 GiB6.00×