Z.aiGLM OCR

GLM-OCR

A compact OCR model with a separate document-layout stage.

Practical use

Practical guidance. Check page order and region boundaries as well as character accuracy. A correct transcription of the wrong table region still produces an incorrect document result. Keep layout coordinates with extracted fields.

Specifications & access

GLM-OCR specifications
DetailValue and conditions
AccessAPI, Downloadable
Model identifiersglm-ocrzai-org/GLM-OCR
Size0.9 billion parameters, including a GLM-0.5B language decoder.GLM-OCR official documentation
ArchitectureCogViT image encoder, connector with token downsampling, and layout analysis using PP-DocLayout-V3.GLM-OCR official documentation
LicenceMIT.GLM-OCR official documentation
APICurrent catalogue includes layout parsing.Current Z.ai API catalogue