zai-org/GLM-OCR

GLM-OCR: Accurate × Fast × Comprehensive

View on GitHub ↗Jump to charts ↓Open shareable report →

Data as of . Signed-in members get hourly updates — create a free account.

Summary Information

Updated 1 hour ago
Added to GitGenius on September 1st, 2026
Created on February 2nd, 2026
Open Issues & Pull Requests: 66 (+0)
GitHub issues: Enabled
Number of forks: 670
Total Stargazers: 7,493 (+0)
Total Subscribers: 29 (+0)

Repository Insights (GitGenius)

Median issue/PR response: 12.7 hours
Mean response time: 7.2 days
90th percentile: 24.5 days
Tracked items: 132

How this project is maintained

About 13% of issues opened in the past year have never received a reply. 100% of open issues come from outside the core team, so the backlog reflects real-world use rather than internal planning. 67% of tracked open issues have had no activity in three months, so the open count overstates what is actively being worked. 72% of issues opened in the past year have been closed, leaving a working backlog. Three people close 79% of everything that gets resolved.

Charts & Analytics

Fetching additional details & charts...

Issue Activity (beta)

Open issues: 43
New in 7 days: 3
Closed in 7 days: 0
Avg open age: 118 days
Stale 30+ days: 36
Stale 90+ days: 29

Recent activity

Opened in 7 days: 3
Closed in 7 days: 0
Comments in 7 days: 0
Events in 7 days: 0

Top labels

No label distribution available yet.

Most active issues this week

Sign in to see which issues are moving.
Sign in

Detailed Description

GLM-OCR is a multimodal optical character recognition model that performs document understanding and text extraction from complex layouts.

The tool addresses the challenge of accurately extracting text and structured information from diverse document types including tables, formulas, and code-heavy layouts. It builds on the GLM-V encoder-decoder architecture and introduces Multi-Token Prediction loss alongside stable full-task reinforcement learning to improve training efficiency and generalization. The system combines a CogViT visual encoder with a lightweight cross-modal connector and a GLM language decoder, paired with a two-stage pipeline that performs layout analysis followed by parallel recognition.

Developers should choose this tool if they need robust OCR performance across varied real-world document types rather than simple text extraction. It suits production scenarios requiring high accuracy on complex tables, formulas, and challenging layouts. The model's 0.9B parameter count makes it suitable for deployment in high-concurrency services and edge environments where inference latency and compute cost matter. The tool provides multiple deployment options through vLLM, SGLang, and Ollama, and offers an SDK with simple installation and one-line invocation for integration into existing pipelines.

The project maintains active development with recent additions of an agent-friendly Skill mode requiring only API key configuration and no GPU or YAML setup, alongside a fine-tuning guide based on LLaMA-Factory. The codebase is fully open-sourced with comprehensive documentation and a published technical report supporting the implementation. Community engagement occurs through WeChat and Discord channels, indicating ongoing user support and discussion.