LIFEHUBBER
Choose theme

AI Resources

GLM-OCR

GitHub stars: 7.5K GitHub forks: 670 Declared license: Apache-2.0: Apache-2.0 Last pushed October 14, 2026: Pushed today
Stats from GitHub

GLM-OCR is a 0.9B document-recognition model from Z.ai, with an SDK for turning document images into Markdown or JSON.

Its pipeline detects document regions before recognizing their content. Developers can use a hosted endpoint or run the recognition stack on their own hardware. Use this as a first read, not a recommendation. Open the original project before trusting details like terms, limits, privacy, cost, setup, or safety.

What it is

A model and document pipeline

GLM-OCR supplies recognition weights and an SDK around them. It is a component for document-processing applications rather than a finished document-management app.

Why it stands out

Layout first, recognition next

The SDK combines PP-DocLayout-V3 region detection with parallel recognition and output formatting. That separates finding page regions from reading their content.

Availability

Hosted or self-hosted

The repository links SDK instructions, model downloads and a technical report. A hosted API avoids running the model on your client; self-hosting requires a serving stack and suitable hardware.

Why it matters

What makes it useful

For pages containing tables, formulas or several text regions, the layout stage identifies regions for the recognition stage. The official materials also describe code-heavy documents and seals among the intended uses. This gives you a document-processing pipeline rather than just a prompt sent to a general chat model. Check the extracted content against the original page before relying on it; region detection does not guarantee correct transcription.

Notable points

What stands out

The SDK’s MaaS setting is not enough to tell you where documents go. It can address Zhipu’s hosted service or your own SDK server through the configured api_url. Check the actual endpoint before sending a file: a locally installed client can still forward that file to a hosted service.

Before using

What to review

The hosted SDK route can run without a GPU on the client. Running the layout and recognition stack yourself has separate dependencies and hardware needs.

The repository documents vLLM, SGLang and Ollama serving paths. Follow the instructions for the path you choose; the 0.9B parameter count alone does not specify its memory requirement.

An SDK server is a separate access boundary. The documented sample server does not validate its API key, so a key field alone does not establish authenticated access.

Reader fit

Who may find it relevant

Developers adding document extraction to an application that already has a next step for the resulting text or structured data.

Teams deciding whether recognition will run at a hosted endpoint or on their own serving infrastructure.

Readers who need a ready-made document filing or correction interface will need another application around this model and SDK.

Editorial note

Why LifeHubber lists it

GLM-OCR also provides an official agent Skill for a workflow that starts with a document image or PDF and needs text plus layout details before the agent can work with it. The guide accepts local-file or URL inputs and returns Markdown text alongside layout information, so a builder can inspect a concrete document-to-agent handoff rather than design that connection from scratch. This Skill uses a hosted parsing API and requires an API key; it is a different data path from serving the model yourself.

Source links

Source materials

Reader note

Before relying on this entry

LifeHubber lists entries to help readers inspect AI projects, not to endorse them or prove they are safe, suitable, accurate, maintained, or right for a specific use. We do not verify every entry in depth. Before relying on anything listed, review the original materials, terms, privacy practices, limits, and risks that matter for your situation.

What to explore next

Test GLM-OCR against the files that actually break OCR.

Try a compact Ollama document workflow, compare how another toolkit preserves PDF structure, and test whether a long-output OCR model handles multipage material differently.

Advertisements

Advertisements

For project maintainers

Listed here? You can use the badge.

If you maintain a project with a current LifeHubber listing, you may add the optional “Listed on LifeHubber AI Resources” badge to its README, docs, or website. No introduction or permission request is needed.

See what’s moving