Model comparison

Yi-Coder-9B-Chat vs Qwen3-4B

At Q4_K_M, Qwen3-4B is the smaller download — 2,497,280,256 bytes against 5,328,957,984. At long context the gap widens: Yi-Coder-9B-Chat's KV cache at 32K is 1.5× smaller, which usually matters more than the difference in weights.

From the file· summed bytes, KV per layer

Side by side

Yi-Coder-9B-ChatQwen3-4B
Parameters8.8B4.0B
Architecturellamaqwen3
Layers4836
Native context131,07240,960
Mixture of expertsnono
Quantizations published3629
Smallest quantization1.88 GiB1.01 GiB
Q4_K_M4.96 GiB2.33 GiB
Licence

KV cache by context

the term that decides long-context viability
ContextYi-Coder-9B-ChatQwen3-4BRatio
4,0960.38 GiB0.56 GiB1.50×
8,1920.75 GiB1.13 GiB1.50×
16,3841.50 GiB2.25 GiB1.50×
32,7683.00 GiB4.50 GiB1.50×
65,5366.00 GiB9.00 GiB1.50×
131,07212.00 GiB18.00 GiB1.50×