Model comparison

gemma-4-12B-it-qat-q4_0-unquantized vs gemma-2-9b-it-abliterated

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 2.4× smaller, which usually matters more than the difference in weights.

From the file· summed bytes, KV per layer

Side by side

gemma-4-12B-it-qat-q4_0-unquantizedgemma-2-9b-it-abliterated
Parameters12.0B9.2B
Architecturegemma4gemma2
Layers4842
Native context262,1448,192
Mixture of expertsnono
Quantizations published220
Smallest quantization6.50 GiB3.20 GiB
Q4_K_M5.37 GiB
Licenceapache-2.0gemma

KV cache by context

the term that decides long-context viability
Contextgemma-4-12B-it-qat-q4_0-unquantizedgemma-2-9b-it-abliteratedRatio
4,0960.72 GiB1.31 GiB1.83×
8,1920.97 GiB2.05 GiB2.12×
16,3841.47 GiB3.36 GiB2.29×
32,7682.47 GiB5.99 GiB2.43×
65,5364.47 GiB11.24 GiB2.51×
131,0728.47 GiB21.74 GiB2.57×