Model comparison

gemma-4-12B-it-qat-q4_0-unquantized vs granite-4.0-h-small

These two publish different quantization sets; the table below has the exact sizes. At long context the gap widens: granite-4.0-h-small's KV cache at 32K is 4.9× 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-unquantizedgranite-4.0-h-small
Parameters12.0B32.2B
Architecturegemma4granitehybrid
Layers4840
Native context262,144131,072
Mixture of expertsnoyes, 72 experts
Quantizations published241
Smallest quantization6.50 GiB7.59 GiB
Q4_K_M18.14 GiB
Licenceapache-2.0

KV cache by context

the term that decides long-context viability
Contextgemma-4-12B-it-qat-q4_0-unquantizedgranite-4.0-h-smallRatio
4,0960.72 GiB0.06 GiB11.47×
8,1920.97 GiB0.13 GiB7.74×
16,3841.47 GiB0.25 GiB5.87×
32,7682.47 GiB0.50 GiB4.94×
65,5364.47 GiB1.00 GiB4.47×
131,0728.47 GiB2.00 GiB4.23×