Model comparison

Yi-1.5-34B vs gemma-4-12B-it-qat-q4_0-unquantized

These two publish different quantization sets; the table below has the exact sizes. At long context the gap widens: gemma-4-12B-it-qat-q4_0-unquantized's KV cache at 32K is 3.0× smaller, which usually matters more than the difference in weights.

From the file· summed bytes, KV per layer

Side by side

Yi-1.5-34Bgemma-4-12B-it-qat-q4_0-unquantized
Parameters34.4B12.0B
Architecturellamagemma4
Layers6048
Native context4,096262,144
Mixture of expertsnono
Quantizations published372
Smallest quantization6.98 GiB6.50 GiB
Q4_K_M19.24 GiB
Licenceapache-2.0apache-2.0

KV cache by context

the term that decides long-context viability
ContextYi-1.5-34Bgemma-4-12B-it-qat-q4_0-unquantizedRatio
4,0960.94 GiB0.72 GiB1.30×
8,1921.88 GiB0.97 GiB1.94×
16,3843.75 GiB1.47 GiB2.55×
32,7687.50 GiB2.47 GiB3.04×
65,53615.00 GiB4.47 GiB3.36×
131,07230.00 GiB8.47 GiB3.54×