Model comparison

granite-4.0-h-1b vs embeddinggemma-300m

These two publish different quantization sets; the table below has the exact sizes. At long context the gap widens: embeddinggemma-300m's KV cache at 32K is 1.7× 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-1bembeddinggemma-300m
Parameters1.5B303M
Architecturegranitehybridgemma-embedding
Layers4024
Native context131,0722,048
Mixture of expertsnono
Quantizations published3510
Smallest quantization0.36 GiB0.26 GiB
Q4_K_M0.84 GiB
Licenceapache-2.0

KV cache by context

the term that decides long-context viability
Contextgranite-4.0-h-1bembeddinggemma-300mRatio
4,0960.03 GiB0.04 GiB1.12×
8,1920.06 GiB0.05 GiB1.23×
16,3840.13 GiB0.08 GiB1.52×
32,7680.25 GiB0.14 GiB1.73×
65,5360.50 GiB0.27 GiB1.86×
131,0721.00 GiB0.52 GiB1.92×