Model comparison

granite-4.0-h-small 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: 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

granite-4.0-h-smallgemma-4-12B-it-qat-q4_0-unquantized
Parameters32.2B12.0B
Architecturegranitehybridgemma4
Layers4048
Native context131,072262,144
Mixture of expertsyes, 72 expertsno
Quantizations published412
Smallest quantization7.59 GiB6.50 GiB
Q4_K_M18.14 GiB
Licenceapache-2.0

KV cache by context

the term that decides long-context viability
Contextgranite-4.0-h-smallgemma-4-12B-it-qat-q4_0-unquantizedRatio
4,0960.06 GiB0.72 GiB11.47×
8,1920.13 GiB0.97 GiB7.74×
16,3840.25 GiB1.47 GiB5.87×
32,7680.50 GiB2.47 GiB4.94×
65,5361.00 GiB4.47 GiB4.47×
131,0722.00 GiB8.47 GiB4.23×
granite-4.0-h-small vs gemma-4-12B-it-qat-q4_0-unquantized — size, memory and hardware fit — ossmodeldb