Model comparison

LFM2-24B-A2B vs gemma-4-E4B-it

At Q4_K_M, gemma-4-E4B-it is the smaller download — 4,977,171,584 bytes against 14,415,473,952. At long context the gap widens: gemma-4-E4B-it's KV cache at 32K is 1.2× smaller, which usually matters more than the difference in weights.

From the file· summed bytes, KV per layer

Side by side

LFM2-24B-A2Bgemma-4-E4B-it
Parameters23.8B8.0B
Architecturelfm2moegemma4
Layers4042
Native context128,000131,072
Mixture of expertsyes, 64 expertsno
Quantizations published3336
Smallest quantization5.35 GiB3.30 GiB
Q4_K_M13.43 GiB4.64 GiB
Licenceotherapache-2.0

KV cache by context

the term that decides long-context viability
ContextLFM2-24B-A2Bgemma-4-E4B-itRatio
4,0960.08 GiB0.12 GiB1.57×
8,1920.16 GiB0.18 GiB1.14×
16,3840.31 GiB0.29 GiB1.09×
32,7680.63 GiB0.51 GiB1.24×
65,5361.25 GiB0.94 GiB1.33×
131,0722.50 GiB1.82 GiB1.37×