Model comparison

GPT-NeoX-20B-Erebus vs gemma-4-E4B-it

These two publish different quantization sets; the table below has the exact sizes. At long context the gap widens: gemma-4-E4B-it's KV cache at 32K is 65.2× smaller, which usually matters more than the difference in weights.

From the file· summed bytes, KV per layer

Side by side

GPT-NeoX-20B-Erebusgemma-4-E4B-it
Parameters20.6B8.0B
Architecturegptneoxgemma4
Layers4442
Native context2,048131,072
Mixture of expertsnono
Quantizations published2336
Smallest quantization4.12 GiB3.30 GiB
Q4_K_M4.64 GiB
Licenceapache-2.0apache-2.0

KV cache by context

the term that decides long-context viability
ContextGPT-NeoX-20B-Erebusgemma-4-E4B-itRatio
4,0964.13 GiB0.12 GiB33.52×
8,1928.25 GiB0.18 GiB46.42×
16,38416.50 GiB0.29 GiB57.47×
32,76833.00 GiB0.51 GiB65.24×
65,53666.00 GiB0.94 GiB69.96×
131,072132.00 GiB1.82 GiB72.59×
GPT-NeoX-20B-Erebus vs gemma-4-E4B-it — size, memory and hardware fit — ossmodeldb