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
KV cache by context
the term that decides long-context viability
| Context | LFM2-1.2B | Qwen3-4B | Ratio |
|---|---|---|---|
| 4,096 | 0.13 GiB | 0.56 GiB | 4.50× |
| 8,192 | 0.25 GiB | 1.13 GiB | 4.50× |
| 16,384 | 0.50 GiB | 2.25 GiB | 4.50× |
| 32,768 | 1.00 GiB | 4.50 GiB | 4.50× |
| 65,536 | 2.00 GiB | 9.00 GiB | 4.50× |
| 131,072 | 4.00 GiB | 18.00 GiB | 4.50× |