Model comparison

Yi-1.5-9B-Chat vs gemma-4-E4B-it

At Q4_K_M, gemma-4-E4B-it is the smaller download — 4,977,171,584 bytes against 5,328,957,728. At long context the gap widens: gemma-4-E4B-it's KV cache at 32K is 5.9× smaller, which usually matters more than the difference in weights.

From the file· summed bytes, KV per layer

Side by side

Yi-1.5-9B-Chatgemma-4-E4B-it
Parameters8.8B8.0B
Architecturellamagemma4
Layers4842
Native context4,096131,072
Mixture of expertsnono
Quantizations published3036
Smallest quantization3.12 GiB3.30 GiB
Q4_K_M4.96 GiB4.64 GiB
Licenceapache-2.0apache-2.0

KV cache by context

the term that decides long-context viability
ContextYi-1.5-9B-Chatgemma-4-E4B-itRatio
4,0960.38 GiB0.12 GiB3.05×
8,1920.75 GiB0.18 GiB4.22×
16,3841.50 GiB0.29 GiB5.22×
32,7683.00 GiB0.51 GiB5.93×
65,5366.00 GiB0.94 GiB6.36×
131,07212.00 GiB1.82 GiB6.60×