GLM OCR
GLM-OCR is a multimodal image-to-text OCR model from zai-org built on a GLM-V encoder-decoder architecture. It uses a CogViT visual encoder, a cross-modal connector with token downsampling, and a GLM-0.5B language decoder, with Multi-Token Prediction loss and full-task reinforcement learning. The model card reports support for languages including Chinese, English, French, Spanish, Russian, German, Japanese, and Korean, and describes a two-stage layout analysis and parallel recognition pipeline based on PP-DocLayout-V3. It is released under the MIT license with Safetensors tags and lists Transformers as the library name. The card states it has 0.9B parameters and supports deployment via vLLM, SGLang, and Ollama, and reports a score of 94.62 on OmniDocBench V1.5 plus throughput results under specified conditions.
At a glance
- Parameters
- 1.33B
- Architecture
- glm_ocr
- License
- mit
- Disk space
- 2.5 GB
- Software
- SGLang, vLLM
Will it run on your machine?
Save your machine to see a personalized rating and its reasoning.
Add my hardwareBest for
- Complex document understanding and OCR
- Formula recognition
- Table recognition
- Information extraction
- Routing image and PDF documents to Markdown via the official SDK pipeline
Tradeoffs
- The official SDK is currently designed for document parsing tasks only
- For information extraction, the model card says to run inference directly with the model
- Language coverage is limited to the languages listed on the model card
- Performance and speed figures are from the model card and should not be treated as independently verified
- No compatibility, hardware, or license details beyond the model card are provided
Ways to run it
SGLang · Linux / rented GPU
Publisher-linked deployment recipe; follow the maintained runtime instructions at the source.
Official instructionsvLLM · Linux / rented GPU
Publisher-linked deployment recipe; follow the maintained runtime instructions at the source.
Official instructionsExplore its uses
Keep exploring
Qwen-Image 2.1
Generate and edit images, including transparent images and edits guided by reference images.
FLUX.1 schnell
A 12-billion-parameter image model designed for generation in one to four steps.
FLUX.2 Klein
Explore 2 versions of FLUX.2 Klein. Compare model sizes, packages, hardware requirements, and available setups.