OCRRouter

GLM-OCR vs MiniCPM-V 4.5

Pick GLM-OCR for high-volume PDF to Markdown and schema-based field extraction, where its $0.03 per million token API and 0.9B size keep costs low. Pick MiniCPM-V 4.5 for on-device or single-GPU work where you want a general vision model you fully self-host under Apache-2.0. Do not use GLM-OCR for financial tables where every row and decimal must survive.

GLM-OCRzai/glm-ocrMiniCPM-V 4.5openbmb/minicpm-v
TypeOpen sourceVision model
Price6 credits / page2 credits / page
Per 1,000 pages$6.00$2.00
Typical speed1.3 s / page2.5 s / page
Best forLow-cost general documentsOCR on edge devices
InputsPDF, imagesimages
Languages100+ languages30+ languages
Max pages per request500500
Tables✓ Yes✓ Yes
HandwritingNo✓ Yes
Math✓ YesNo
Bounding boxes✓ YesNo
Confidence✓ YesNo
FormsNoNo
Multilingual✓ Yes✓ Yes
On OCRRouterAvailableAvailable

Prices are what you pay on OCRRouter. Speed is the provider's typical figure, not a benchmark we ran.

Which to choose

Choose GLM-OCR if

  • You want a hosted API at $0.03 per million tokens for input and output, or a free self-hosted 0.9B model.
  • You need to extract fields from forms into a user-defined JSON schema, not just transcribe text.
  • You process academic papers with formulas or large PDF batches, and the authors report 94.62 on OmniDocBench v1.5 and 1.86 pages per second on one replica.

Choose MiniCPM-V 4.5 if

  • You need to run OCR on-device or at the edge, using int4, GGUF or AWQ builds on llama.cpp or vLLM.
  • You want local document Q&A on a single GPU from one general vision language model.
  • You want Apache-2.0 on both weights and code, with no hosted service involved.

Key differences

GLM-OCRMiniCPM-V 4.5
Model size0.9B, layout analysis plus a GLM decoder8.7B, general vision language model on Qwen3-8B and SigLIP2-400M
How you run itZ.ai API, or self-host with vLLM, SGLang, Ollama or transformersSelf-host only, with llama.cpp, vLLM, Ollama or Transformers (Ollama and SGLang were still pending official releases on the model card)
LicenceMIT for weights; SDK repo and bundled PP-DocLayoutV3 are Apache-2.0Apache-2.0 for weights and code
PriceAPI: $0.03 per million tokens for input and output. Self-hosted: free, you pay for computeFree, self-hosted, you pay for compute
Benchmark evidenceOmniDocBench v1.5 overall 94.62 (authors), olmOCR-Bench 75.2 (authors), ParseBench mean 29.6 (independent)Authors claim leading OCRBench and state of the art PDF parsing among general MLLMs on OmniDocBench, but the model card gives scores only as images
Output formatsMarkdown, JSON, plain text; can fill a user-defined JSON schemaPlain text, Markdown, JSON; no bounding box or layout output
Known failure modes and limitsRepeats output unless a stop sequence is set, drops table footer rows, loses comma decimals in cropped tables, does not run on aarch64 Linux; API caps at 100 pages, 50 MB per PDF, 10 MB per imageNo int4 VRAM figure published; no hosted SLA

Sources

What each one is

GLM-OCR

Small open-source OCR model from Z.ai with layout regions. MIT licensed.

GLM-OCR details

MiniCPM-V 4.5

8B vision model from OpenBMB (August 2025) built to run on devices, with strong OCR and document parsing.

MiniCPM-V 4.5 details

Try both on your own file

Run the file once with each model and compare the output.

PDF, PNG, JPG, WebP, HEIC. Up to 20 MB each, 10 files.No file?

Use one, fall back to the other

{"model": "zai/glm-ocr","fallbacks": ["openbmb/minicpm-v"],"file_url": "https://example.com/document.pdf"}

Questions

More comparisons

GLM-OCR alternativesMiniCPM-V 4.5 alternativesBest OCR models in 2026