GLM OCR is a vision model by Z.ai that takes in images and outputs text. It is an open-source model designed for optical character recognition and document understanding tasks, including layout analysis, formula recognition, and table recognition.
Input
Output
Context
131K
Max Output
8K
Parameters
1.3B
Input Modalities
Output Modalities
Some values come from web research and may be incorrect. Report incorrect data
None the catalog can show from stated facts or measured scores.
No comparable model in the catalog yet.
Download 2.65 GB · Runs on vLLM v0.32.0 · 20 GGUF builds
| Precision | Weights | One request at 33K tokens | Smallest GPU that fits |
|---|---|---|---|
| FP16 / BF16 | 2.47 GB | 6.71 GB | 1x NVIDIA T4 (16 GB) |
| INT8 | 1.23 GB | 5.41 GB | 1x NVIDIA T4 (16 GB) |
| INT4 | 0.62 GB | 4.76 GB | 1x NVIDIA T4 (16 GB) |
Computed by Inferbase from the 1,325,258,240 parameters in the creator's Hugging Face repository; one request adds its KV cache, activations and framework overhead, with the layer layout estimated from the parameter count.
Public resources
Specification sources
As of Nov 13, 2026.
Answered from the facts on this page, with their sources.
GLM OCR has a context window of 131,072 tokens and a maximum output of 8,192 tokens (source: Creator or provider API). A provider may serve less; Inferbase routes on what each provider serves.
Yes. GLM OCR is an open-weight model under the MIT license. You can download and self-host it within the license terms.
GLM OCR has 1,325,258,240 parameters (1.3B), as stated in the creator's Hugging Face repository.
Strengths: Open weights under a permissive license (mit); 131K token context window. Each is computed from the model's stated facts and benchmark results.
GLM OCR accepts Image and produces Text. The Capabilities card lists the API features it supports, such as function calling and structured output.
No benchmark source has published a result for GLM OCR yet, so it is shown as unmeasured, not estimated.
Not on Inferbase Managed today. Add your own provider key or endpoint that serves GLM OCR, and Inferbase runs it on your account with the same routing and logs.
The weights take 2.5 GB at FP16 / BF16, 1.2 GB at INT8, 0.6 GB at INT4, computed from the 1,325,258,240 parameters its creator publishes. Each request adds its KV cache and the framework's overhead. The hardware section shows one request and the smallest GPU that fits; the GPU planner sizes it for your context length and traffic.
The model card of GLM OCR lists 8 languages: Chinese, English, French, Spanish, Russian, German, Japanese and Korean. That is what Z.ai states; the catalog does not test language quality.
Start on the free plan with 5,000 requests a month, no card required.