Model comparison

embeddinggemma-300m vs Qwen2.5-1.5B-Instruct

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 6.1× smaller, which usually matters more than the difference in weights.

From the file· summed bytes, KV per layer

Side by side

embeddinggemma-300mQwen2.5-1.5B-Instruct
Parameters303M1.5B
Architecturegemma-embeddingqwen2
Layers2428
Native context2,04832,768
Mixture of expertsnono
Quantizations published1032
Smallest quantization0.26 GiB0.56 GiB
Q4_K_M0.92 GiB
Licenceapache-2.0

KV cache by context

the term that decides long-context viability
Contextembeddinggemma-300mQwen2.5-1.5B-InstructRatio
4,0960.04 GiB0.11 GiB3.11×
8,1920.05 GiB0.22 GiB4.31×
16,3840.08 GiB0.44 GiB5.33×
32,7680.14 GiB0.88 GiB6.05×
65,5360.27 GiB1.75 GiB6.49×
131,0720.52 GiB3.50 GiB6.74×