What GPU do I need to run zai-org/GLM-OCR?
1.3B parameters, published in BF16. View on Hugging Face
GLM-OCR is published by zai-org on Hugging Face, with 2,104,188 downloads and 2,009 likes to date. It's a GlmOcrForConditionalGeneration model built for image-text-to-text, published natively in BF16.
VRAM required & cheapest live GPU fit
Required VRAM = weight size at each precision, plus a fixed overhead for KV-cache, activations, and fragmentation. Full formula and assumptions: methodology.
| Precision | Weight size | Required VRAM | Cheapest live fit | GPUs needed | Est. $/hr (full fit) |
|---|---|---|---|---|---|
| BF16 | 2.5 GB | 3.0 GB | RTX 5060 Ti | 1 | $0.110/hr |
| FP8 (quantized) | 1.2 GB | 1.5 GB | RTX 5060 Ti | 1 | $0.110/hr |
| INT4 (quantized) | 0.6 GB | 0.7 GB | RTX 5060 Ti | 1 | $0.110/hr |
A GPU is only matched to a row if its hardware supports that precision, and the primary recommendation is always a single-GPU fit when one exists.
INT4 requires a quantized checkpoint actually published for this model, check its Hugging Face page before relying on this row.
Cheapest way to run GLM-OCR at its published (BF16) precision: 1× RTX 5060 Ti, at $0.110/hr per GPU ($0.110/hr total). Quantizing to FP8 or INT4 (rows above) can cost less, but requires a compatible quantized checkpoint to exist for this model.
GLM-OCR: common questions
How much VRAM does GLM-OCR need?
3.0 GB at BF16, 1.5 GB at FP8 (quantized), 0.7 GB at INT4 (quantized). All of those sit under 6 GB, the smallest capacity this page reasons about, so VRAM is not what limits where this model runs. The 2.5 GB of weights plus inference overhead is the whole requirement.
How many copies of GLM-OCR fit on one RTX 5060 Ti?
5, by VRAM alone. That card carries 16.0 GB and one copy needs 3.0 GB at BF16, on a live rate of $0.110/hr for the whole card. Throughput is not modelled here, so 5 copies is not 5 times the requests served.
Weight-to-VRAM math, the fit rules, and how live prices are normalized: full methodology.
More zai-org models
- GLM-ASR-Nano-2512 (2.3B, BF16)
Related reading: H100 pricing and specs, The best GPUs for AI, ranked, and Best GPU for LLM inference.