Model comparison

gemma-4-12B-it-qat-q4_0-unquantized vs gpt-oss-20b-BF16

These two publish different quantization sets; the table below has the exact sizes. At long context the gap widens: gpt-oss-20b-BF16's KV cache at 32K is 3.2× smaller, which usually matters more than the difference in weights.

From the file· summed bytes, KV per layer

Side by side

gemma-4-12B-it-qat-q4_0-unquantizedgpt-oss-20b-BF16
Parameters12.0B20.9B
Architecturegemma4gpt-oss
Layers4824
Native context262,144131,072
Mixture of expertsnoyes, 32 experts
Quantizations published28
Smallest quantization6.50 GiB12.03 GiB
Q4_K_M14.72 GiB
Licenceapache-2.0apache-2.0

KV cache by context

the term that decides long-context viability
Contextgemma-4-12B-it-qat-q4_0-unquantizedgpt-oss-20b-BF16Ratio
4,0960.72 GiB0.11 GiB6.46×
8,1920.97 GiB0.21 GiB4.72×
16,3841.47 GiB0.39 GiB3.74×
32,7682.47 GiB0.77 GiB3.22×
65,5364.47 GiB1.52 GiB2.94×
131,0728.47 GiB3.02 GiB2.81×