Model comparison

gemma-3-27b-it-abliterated-refined-vision 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 1.3× smaller, which usually matters more than the difference in weights.

From the file· summed bytes, KV per layer

Side by side

gemma-3-27b-it-abliterated-refined-visiongemma-4-12B-it-qat-q4_0-unquantized
Parameters27.4B12.0B
Architecturegemma3gemma4
Layers6248
Native context131,072262,144
Mixture of expertsnono
Quantizations published342
Smallest quantization5.83 GiB6.50 GiB
Q4_K_M15.41 GiB
Licencegemmaapache-2.0

KV cache by context

the term that decides long-context viability
Contextgemma-3-27b-it-abliterated-refined-visiongemma-4-12B-it-qat-q4_0-unquantizedRatio
4,0960.92 GiB0.72 GiB1.28×
8,1921.23 GiB0.97 GiB1.27×
16,3841.86 GiB1.47 GiB1.27×
32,7683.11 GiB2.47 GiB1.26×
65,5365.61 GiB4.47 GiB1.26×
131,07210.61 GiB8.47 GiB1.25×