Model comparison

GLM-OCR vs Llama-3.2-1B-Instruct

At Q4_K_M, GLM-OCR is the smaller download — 548,515,136 bytes against 807,690,688. At long context the gap widens: Llama-3.2-1B-Instruct's KV cache at 32K is 2.0× smaller, which usually matters more than the difference in weights.

From the file· summed bytes, KV per layer

Side by side

GLM-OCRLlama-3.2-1B-Instruct
Parameters1.3B1.2B
Architectureglm4llama
Layers1616
Native context131,072131,072
Mixture of expertsnono
Quantizations published3039
Smallest quantization0.34 GiB0.39 GiB
Q4_K_M0.51 GiB0.75 GiB
Licence

KV cache by context

the term that decides long-context viability
ContextGLM-OCRLlama-3.2-1B-InstructRatio
4,0960.25 GiB0.13 GiB2.00×
8,1920.50 GiB0.25 GiB2.00×
16,3841.00 GiB0.50 GiB2.00×
32,7682.00 GiB1.00 GiB2.00×
65,5364.00 GiB2.00 GiB2.00×
131,0728.00 GiB4.00 GiB2.00×