Model comparison

GPT-NeoX-20B-Erebus vs gemma-4-12B-it-qat-q4_0-unquantized

These two publish different quantization sets; the table below has the exact sizes. At long context the gap widens: gemma-4-12B-it-qat-q4_0-unquantized's KV cache at 32K is 13.4× 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-12B-it-qat-q4_0-unquantized
Parameters20.6B12.0B
Architecturegptneoxgemma4
Layers4448
Native context2,048262,144
Mixture of expertsnono
Quantizations published232
Smallest quantization4.12 GiB6.50 GiB
Q4_K_M
Licenceapache-2.0apache-2.0

KV cache by context

the term that decides long-context viability
ContextGPT-NeoX-20B-Erebusgemma-4-12B-it-qat-q4_0-unquantizedRatio
4,0964.13 GiB0.72 GiB5.74×
8,1928.25 GiB0.97 GiB8.52×
16,38416.50 GiB1.47 GiB11.23×
32,76833.00 GiB2.47 GiB13.37×
65,53666.00 GiB4.47 GiB14.77×
131,072132.00 GiB8.47 GiB15.59×