Model comparison

GLM-5.1 vs DeepSeek-V4-Flash-0731

These two publish different quantization sets; the table below has the exact sizes. At long context the gap widens: DeepSeek-V4-Flash-0731's KV cache at 32K is 43.5× smaller, which usually matters more than the difference in weights.

From the file· summed bytes, KV per layer

Side by side

GLM-5.1DeepSeek-V4-Flash-0731
Parameters754B304B
Architectureglm-dsadeepseek4
Layers7843
Native context202,7521,048,576
Mixture of expertsyes, 256 expertsyes, 256 experts
Quantizations published4111
Smallest quantization147.30 GiB76.87 GiB
Q4_K_M428.11 GiB
Licencemitmit

KV cache by context

the term that decides long-context viability
ContextGLM-5.1DeepSeek-V4-Flash-0731Ratio
4,0960.34 GiB0.06 GiB5.44×
8,1920.69 GiB0.06 GiB10.88×
16,3841.37 GiB0.06 GiB21.77×
32,7682.74 GiB0.06 GiB43.53×
65,5365.48 GiB0.06 GiB87.07×
131,07210.97 GiB0.06 GiB174.14×