Model comparison

GLM-OCR vs Qwen3-1.7B

At Q4_K_M, GLM-OCR is the smaller download — 548,515,136 bytes against 1,107,409,472. At long context the gap widens: GLM-OCR's KV cache at 32K is 1.8× smaller, which usually matters more than the difference in weights.

From the file· summed bytes, KV per layer

Side by side

GLM-OCRQwen3-1.7B
Parameters1.3B2.0B
Architectureglm4qwen3
Layers1628
Native context131,07240,960
Mixture of expertsnono
Quantizations published3048
Smallest quantization0.34 GiB0.50 GiB
Q4_K_M0.51 GiB1.03 GiB
Licence

KV cache by context

the term that decides long-context viability
ContextGLM-OCRQwen3-1.7BRatio
4,0960.25 GiB0.44 GiB1.75×
8,1920.50 GiB0.88 GiB1.75×
16,3841.00 GiB1.75 GiB1.75×
32,7682.00 GiB3.50 GiB1.75×
65,5364.00 GiB7.00 GiB1.75×
131,0728.00 GiB14.00 GiB1.75×