GLM-OCR: what it needs, and how to run it

GLM-OCR by Z.ai: reading documents (OCR). It sees images, calls tools. One size: 2.7 GB at 4-bit.

Rent a GPU with 8 GB

Every size, and what it needs

SizeDownload sizeContextNeedsRun it here
GLM-OCR2.7 GB128K4 GB of graphics memoryRent a GPU with 8 GB
glm-ocr

Downloads are the 4-bit files most people run, as the Ollama library publishes them. Longer conversations and documents need more memory; a bigger card is always safe.

Graphics cards that hold GLM-OCR

See every graphics card and its price →

Questions about GLM-OCR

What GPU do I need for GLM-OCR?

GLM-OCR needs a graphics card with at least 4 GB of memory: it downloads 2.7 GB at 4-bit, and the rest is room for the conversation.

What is GLM-OCR for?

It reads documents and scans — text, tables, forms — into text you can use. Your code sends it the images.

How do I call GLM-OCR from my code?

Rent a GPU with the Ollama environment: it answers OpenAI-compatible requests for glm-ocr at an address of its own. How →

Can I run GLM-OCR without a graphics card?

On a computer with enough memory, on its processor — more slowly than on a graphics card. GLM-OCR needs about 16 GB of memory: computers with lots of memory.

Is GLM-OCR free to use?

Its weights are free to download under its maker’s licence — read it on the model’s page before you use it in a product.

Open models like GLM-OCR

Every open model, and what each one needs →