Model comparison

LFM2-350M vs gemma-3-270m-it

At Q4_K_M, LFM2-350M is the smaller download — 229,309,152 bytes against 253,115,168. At long context the gap widens: gemma-3-270m-it's KV cache at 32K is 9.2× smaller, which usually matters more than the difference in weights.

From the file· summed bytes, KV per layer

Side by side

LFM2-350Mgemma-3-270m-it
Parameters354M268M
Architecturelfm2gemma3
Layers1618
Native context128,00032,768
Mixture of expertsnono
Quantizations published1939
Smallest quantization0.15 GiB0.17 GiB
Q4_K_M0.21 GiB0.24 GiB
Licenceothergemma

KV cache by context

the term that decides long-context viability
ContextLFM2-350Mgemma-3-270m-itRatio
4,0960.13 GiB0.03 GiB4.74×
8,1920.25 GiB0.04 GiB6.56×
16,3840.50 GiB0.06 GiB8.13×
32,7681.00 GiB0.11 GiB9.23×
65,5362.00 GiB0.20 GiB9.89×
131,0724.00 GiB0.39 GiB10.27×