Model comparison

gemma-4-31B-it-qat-q4_0-unquantized-assistant 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 3.9× smaller, which usually matters more than the difference in weights.

From the file· summed bytes, KV per layer

Side by side

gemma-4-31B-it-qat-q4_0-unquantized-assistantembeddinggemma-300m
Parameters470M303M
Architecturegemma4-assistantgemma-embedding
Layers424
Native context262,1442,048
Mixture of expertsnono
Quantizations published1310
Smallest quantization0.29 GiB0.26 GiB
Q4_K_M0.33 GiB
Licenceapache-2.0

KV cache by context

the term that decides long-context viability
Contextgemma-4-31B-it-qat-q4_0-unquantized-assistantembeddinggemma-300mRatio
4,0960.13 GiB0.04 GiB3.78×
8,1920.20 GiB0.05 GiB3.85×
16,3840.32 GiB0.08 GiB3.90×
32,7680.57 GiB0.14 GiB3.95×
65,5361.07 GiB0.27 GiB3.97×
131,0722.07 GiB0.52 GiB3.98×