Model comparison

Phi-4-reasoning vs gemma-4-E4B-it

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

From the file· summed bytes, KV per layer

Side by side

Phi-4-reasoninggemma-4-E4B-it
Parameters14.7B8.0B
Architecturephi3gemma4
Layers4042
Native context32,768131,072
Mixture of expertsnono
Quantizations published4636
Smallest quantization3.33 GiB3.30 GiB
Q4_K_M8.43 GiB4.64 GiB
Licencemitapache-2.0

KV cache by context

the term that decides long-context viability
ContextPhi-4-reasoninggemma-4-E4B-itRatio
4,0960.78 GiB0.12 GiB6.35×
8,1921.56 GiB0.18 GiB8.79×
16,3843.13 GiB0.29 GiB10.88×
32,7686.25 GiB0.51 GiB12.36×
65,53612.50 GiB0.94 GiB13.25×
131,07225.00 GiB1.82 GiB13.75×