zai-org

    zai-org/GLM-OCR

    GLM-OCR: Accurate × Fast × Comprehensive

    computer-vision
    glm
    image2text
    ocr
    Python
    Apache-2.0
    7.5K stars
    675 forks
    7.5K GitHub watchers
    Updated Oct 27, 2026
    View on GitHub

    Build with Backblaze B2

    SDKs, agent skills, IDE extensions, and reference pipelines from Backblaze Labs. All open source.

    Explore Backblaze Labs

    Loading star history...

    Where it stands

    Rank, growth pace and release cadence relative to everything GStars tracks.

    No releases in the last 90 days; the most recent was 202 days ago, with 15 contributors on GitHub.

    Gained 71% fewer stars in the last 90 days than in the 90 days before.

    Use Cases & Benefits

    • Provides a multimodal OCR system for accurate and fast document text extraction and layout understanding using GLM-V architecture.
    • Delivers state-of-the-art accuracy with efficient inference optimized for complex layouts and real-world business scenarios.
    • Use for extracting structured data from complex documents including tables, formulas, and code-heavy pages.
    • Use for deploying scalable OCR services with low latency on cloud or edge devices using vLLM, SGLang, or Ollama.
    • Use for integrating OCR into production pipelines with easy SDK usage, CLI tools, and flexible configuration options.

    Should you depend on it?

    License terms, project hygiene and risks, from GitHub metadata and GStars' snapshots.

    License

    Apache 2.0

    Permissive: commercial use, modification and redistribution are allowed with attribution; includes an explicit patent grant from contributors.

    Community files

    • README: present

    Watch-outs

    No watch-outs from GStars' checks.

    General guidance from repository metadata, not legal advice. How we score

    From the README

    GLM-OCR is a multimodal OCR model for complex document understanding, built on the GLM-V encoder–decoder architecture. It introduces Multi-Token Prediction (MTP) loss and stable full-task reinforcement learning to improve training efficiency, recognition accuracy, and generalization. The model integrates the CogViT visual encoder pre-trained on large-scale image–text data, a lightweight cross-modal connector with efficient token downsampling, and a GLM-0.5B language decoder. Combined with a two-stage pipeline of layout analysis and parallel recognition based on PP-DocLayout-V3, GLM-OCR delivers robust and high-quality OCR performance across diverse document layouts.

    Excerpt from the zai-org/GLM-OCR README on GitHub (Apache-2.0 license). © its authors.Read the full README on GitHub

    Daily snapshots

    Stars gained per day, and how forks and open issues moved, from GStars' daily snapshots

    Forks

    675+22

    Open issues

    67+19

    Compared with peers in Computer Vision

    Fastest-growing repositories GStars tracks in this cohort for the week of Nov 1, by 7-day star growth

    zai-org/GLM-OCR compared with Computer Vision repositories by stars, 7-day star growth, health score and last release
    RepositoryStars+7dHealthLast release
    mudler/LocalAI50.2K+1765912 days ago
    PaddlePaddle/PaddleOCR92.3K—47147 days ago
    d2l-ai/d2l-en30.0K—45—
    lukas-blecher/LaTeX-OCR16.6K—18—
    zai-org/GLM-OCR7.5K—23202 days ago
    SharpAI/DeepCamera3.1K—31227 days ago
    Category median30.0K—45—

    Also by zai-org

    Other repositories from this maintainer that GStars tracks

    Discover Repositories

    Search across tracked repositories by name or description