Model comparison

gemma-4-E4B-it-QAT-SOMPOA-heresy 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-E4B-it-QAT-SOMPOA-heresy's KV cache at 32K is 4.9× smaller, which usually matters more than the difference in weights.

From the file· summed bytes, KV per layer

Side by side

gemma-4-E4B-it-QAT-SOMPOA-heresygemma-4-12B-it-qat-q4_0-unquantized
Parameters7.9B12.0B
Architecturegemma4gemma4
Layers4248
Native context131,072262,144
Mixture of expertsnono
Quantizations published362
Smallest quantization3.06 GiB6.50 GiB
Q4_K_M4.94 GiB
Licenceapache-2.0apache-2.0

KV cache by context

the term that decides long-context viability
Contextgemma-4-E4B-it-QAT-SOMPOA-heresygemma-4-12B-it-qat-q4_0-unquantizedRatio
4,0960.12 GiB0.72 GiB5.84×
8,1920.18 GiB0.97 GiB5.45×
16,3840.29 GiB1.47 GiB5.12×
32,7680.51 GiB2.47 GiB4.88×
65,5360.94 GiB4.47 GiB4.74×
131,0721.82 GiB8.47 GiB4.66×
gemma-4-E4B-it-QAT-SOMPOA-heresy vs gemma-4-12B-it-qat-q4_0-unquantized — size, memory and hardware fit — ossmodeldb