Model comparison

GLM-Z1-9B-0414 vs llama-3-youko-8b

These two publish different quantization sets; the table below has the exact sizes. At long context the gap widens: GLM-Z1-9B-0414'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

GLM-Z1-9B-0414llama-3-youko-8b
Parameters9.4B8.0B
Architectureglm4llama
Layers4032
Native context32,7688,192
Mixture of expertsnono
Quantizations published472
Smallest quantization2.98 GiB5.34 GiB
Q4_K_M5.74 GiB
Licencemitllama3

KV cache by context

the term that decides long-context viability
ContextGLM-Z1-9B-0414llama-3-youko-8bRatio
4,0960.16 GiB0.50 GiB3.20×
8,1920.31 GiB1.00 GiB3.20×
16,3840.63 GiB2.00 GiB3.20×
32,7681.25 GiB4.00 GiB3.20×
65,5362.50 GiB8.00 GiB3.20×
131,0725.00 GiB16.00 GiB3.20×