Model comparison

gemma-4-12B-it-qat-q4_0-unquantized vs glm4.1v-9b-base-sft

These two publish different quantization sets; the table below has the exact sizes. At long context the gap widens: glm4.1v-9b-base-sft's KV cache at 32K is 2.0× 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-unquantizedglm4.1v-9b-base-sft
Parameters12.0B10.3B
Architecturegemma4glm4
Layers4840
Native context262,14465,536
Mixture of expertsnono
Quantizations published224
Smallest quantization6.50 GiB2.90 GiB
Q4_K_M
Licenceapache-2.0apache-2.0

KV cache by context

the term that decides long-context viability
Contextgemma-4-12B-it-qat-q4_0-unquantizedglm4.1v-9b-base-sftRatio
4,0960.72 GiB0.16 GiB4.60×
8,1920.97 GiB0.31 GiB3.10×
16,3841.47 GiB0.63 GiB2.35×
32,7682.47 GiB1.25 GiB1.98×
65,5364.47 GiB2.50 GiB1.79×
131,0728.47 GiB5.00 GiB1.69×
gemma-4-12B-it-qat-q4_0-unquantized vs glm4.1v-9b-base-sft — size, memory and hardware fit — ossmodeldb