Model comparison

Phi-4-mini-instruct-abliterated vs gemma-4-E4B-it

At Q4_K_M, Phi-4-mini-instruct-abliterated is the smaller download — 2,491,875,264 bytes against 4,977,171,584. At long context the gap widens: gemma-4-E4B-it's KV cache at 32K is 7.9× smaller, which usually matters more than the difference in weights.

From the file· summed bytes, KV per layer

Side by side

Phi-4-mini-instruct-abliteratedgemma-4-E4B-it
Parameters3.8B8.0B
Architecturephi3gemma4
Layers3242
Native context131,072131,072
Mixture of expertsnono
Quantizations published1136
Smallest quantization1.48 GiB3.30 GiB
Q4_K_M2.32 GiB4.64 GiB
Licencemitapache-2.0

KV cache by context

the term that decides long-context viability
ContextPhi-4-mini-instruct-abliteratedgemma-4-E4B-itRatio
4,0960.50 GiB0.12 GiB4.06×
8,1921.00 GiB0.18 GiB5.63×
16,3842.00 GiB0.29 GiB6.97×
32,7684.00 GiB0.51 GiB7.91×
65,5368.00 GiB0.94 GiB8.48×
131,07216.00 GiB1.82 GiB8.80×