Model comparison

GLM-4.1V-9B-Thinking vs gemma-4-E2B-it

At Q4_K_M, gemma-4-E2B-it is the smaller download — 3,106,738,272 bytes against 6,166,574,432. At long context the gap widens: gemma-4-E2B-it's KV cache at 32K is 5.1× smaller, which usually matters more than the difference in weights.

From the file· summed bytes, KV per layer

Side by side

GLM-4.1V-9B-Thinkinggemma-4-E2B-it
Parameters10.3B5.1B
Architectureglm4gemma4
Layers4035
Native context65,536131,072
Mixture of expertsnono
Quantizations published4354
Smallest quantization2.98 GiB2.13 GiB
Q4_K_M5.74 GiB2.89 GiB
Licencemitapache-2.0

KV cache by context

the term that decides long-context viability
ContextGLM-4.1V-9B-Thinkinggemma-4-E2B-itRatio
4,0960.16 GiB0.05 GiB2.86×
8,1920.31 GiB0.08 GiB3.81×
16,3840.63 GiB0.14 GiB4.57×
32,7681.25 GiB0.25 GiB5.08×
65,5362.50 GiB0.46 GiB5.38×
131,0725.00 GiB0.90 GiB5.54×