Model comparison

LFM2-1.2B-RAG vs Qwen3-4B

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

From the file· summed bytes, KV per layer

Side by side

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

KV cache by context

the term that decides long-context viability
ContextLFM2-1.2B-RAGQwen3-4BRatio
4,0960.05 GiB0.56 GiB12.00×
8,1920.09 GiB1.13 GiB12.00×
16,3840.19 GiB2.25 GiB12.00×
32,7680.38 GiB4.50 GiB12.00×
65,5360.75 GiB9.00 GiB12.00×
131,0721.50 GiB18.00 GiB12.00×