Model comparison

glm-4-9b-chat vs gemma-4-E4B-it

At Q4_K_M, gemma-4-E4B-it is the smaller download — 4,977,171,584 bytes against 6,250,926,848. At long context the gap widens: gemma-4-E4B-it's KV cache at 32K is 39.5× smaller, which usually matters more than the difference in weights.

From the file· summed bytes, KV per layer

Side by side

glm-4-9b-chatgemma-4-E4B-it
Parameters9.4B8.0B
Architecturechatglmgemma4
Layers4042
Native context131,072
Mixture of expertsnono
Quantizations published5836
Smallest quantization2.89 GiB3.30 GiB
Q4_K_M5.82 GiB4.64 GiB
Licenceotherapache-2.0

KV cache by context

the term that decides long-context viability
Contextglm-4-9b-chatgemma-4-E4B-itRatio
4,0962.50 GiB0.12 GiB20.32×
8,1925.00 GiB0.18 GiB28.13×
16,38410.00 GiB0.29 GiB34.83×
32,76820.00 GiB0.51 GiB39.54×
65,53640.00 GiB0.94 GiB42.40×
131,07280.00 GiB1.82 GiB44.00×