Model comparison

GLM-4-32B-0414 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: GLM-4-32B-0414's KV cache at 32K is 1.3× smaller, which usually matters more than the difference in weights.

From the file· summed bytes, KV per layer

Side by side

GLM-4-32B-0414gemma-4-12B-it-qat-q4_0-unquantized
Parameters32.6B12.0B
Architectureglm4gemma4
Layers6148
Native context32,768262,144
Mixture of expertsnono
Quantizations published492
Smallest quantization7.17 GiB6.50 GiB
Q4_K_M18.33 GiB
Licencemitapache-2.0

KV cache by context

the term that decides long-context viability
ContextGLM-4-32B-0414gemma-4-12B-it-qat-q4_0-unquantizedRatio
4,0960.24 GiB0.72 GiB3.02×
8,1920.48 GiB0.97 GiB2.03×
16,3840.95 GiB1.47 GiB1.54×
32,7681.91 GiB2.47 GiB1.30×
65,5363.81 GiB4.47 GiB1.17×
131,0727.63 GiB8.47 GiB1.11×