Model comparison

glm-4-9b-chat-1m vs Qwen3-Coder-30B-A3B-Instruct

At Q4_K_M, glm-4-9b-chat-1m is the smaller download — 6,308,679,680 bytes against 18,556,689,568. At long context the gap widens: Qwen3-Coder-30B-A3B-Instruct's KV cache at 32K is 6.7× smaller, which usually matters more than the difference in weights.

From the file· summed bytes, KV per layer

Side by side

glm-4-9b-chat-1mQwen3-Coder-30B-A3B-Instruct
Parameters9.5B30.5B
Architecturechatglmqwen3moe
Layers4048
Native context262,144
Mixture of expertsnoyes, 128 experts
Quantizations published4946
Smallest quantization3.69 GiB7.46 GiB
Q4_K_M5.88 GiB17.28 GiB
Licenceotherapache-2.0

KV cache by context

the term that decides long-context viability
Contextglm-4-9b-chat-1mQwen3-Coder-30B-A3B-InstructRatio
4,0962.50 GiB0.38 GiB6.67×
8,1925.00 GiB0.75 GiB6.67×
16,38410.00 GiB1.50 GiB6.67×
32,76820.00 GiB3.00 GiB6.67×
65,53640.00 GiB6.00 GiB6.67×
131,07280.00 GiB12.00 GiB6.67×