Model comparison

embeddinggemma-300m vs LFM2.5-1.2B-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 2.6× smaller, which usually matters more than the difference in weights.

From the file· summed bytes, KV per layer

Side by side

embeddinggemma-300mLFM2.5-1.2B-Instruct
Parameters303M1.2B
Architecturegemma-embeddinglfm2
Layers2416
Native context2,048128,000
Mixture of expertsnono
Quantizations published1023
Smallest quantization0.26 GiB0.45 GiB
Q4_K_M0.68 GiB
Licenceother

KV cache by context

the term that decides long-context viability
Contextembeddinggemma-300mLFM2.5-1.2B-InstructRatio
4,0960.04 GiB0.05 GiB1.33×
8,1920.05 GiB0.09 GiB1.85×
16,3840.08 GiB0.19 GiB2.29×
32,7680.14 GiB0.38 GiB2.59×
65,5360.27 GiB0.75 GiB2.78×
131,0720.52 GiB1.50 GiB2.89×