Model comparison

LFM2-1.2B vs Qwen3-4B

At Q4_K_M, LFM2-1.2B is the smaller download — 730,893,024 bytes against 2,497,280,256. At long context the gap widens: LFM2-1.2B's KV cache at 32K is 4.5× smaller, which usually matters more than the difference in weights.

From the file· summed bytes, KV per layer

Side by side

LFM2-1.2BQwen3-4B
Parameters1.2B4.0B
Architecturelfm2qwen3
Layers1636
Native context128,00040,960
Mixture of expertsnono
Quantizations published4029
Smallest quantization0.45 GiB1.01 GiB
Q4_K_M0.68 GiB2.33 GiB
Licenceother

KV cache by context

the term that decides long-context viability
ContextLFM2-1.2BQwen3-4BRatio
4,0960.13 GiB0.56 GiB4.50×
8,1920.25 GiB1.13 GiB4.50×
16,3840.50 GiB2.25 GiB4.50×
32,7681.00 GiB4.50 GiB4.50×
65,5362.00 GiB9.00 GiB4.50×
131,0724.00 GiB18.00 GiB4.50×