OCRRouterAPI key حاصل کریں

GLM-OCR vs MinerU

GLM-OCR is faster; only GLM-OCR supports confidence.

GLM-OCRzai/glm-ocrMinerUopendatalab/mineru
TypeOpen sourceOpen source
Price2 credits / page2 credits / page
Per 1,000 pages$2.00$2.00
Typical speed1.3 s / page2.0 s / page
Best forLow-cost general documentsAcademic PDFs
InputsPDF, imagesPDF, images
Languages100+ languages80+ languages
Max pages per request500500
Tables✓ Yes✓ Yes
HandwritingNoNo
Math✓ Yes✓ Yes
Bounding boxes✓ Yes✓ Yes
Confidence✓ YesNo
FormsNoNo
Multilingual✓ Yes✓ Yes
On OCRRouterAvailableComing soon

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

What each one is

GLM-OCR

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

GLM-OCR details

MinerU

Open-source PDF to Markdown pipeline popular for academic and Chinese documents.

MinerU details

Use one, fall back to the other

Request body
{
  "model": "zai/glm-ocr",
  "fallbacks": ["opendatalab/mineru"],
  "file_url": "https://example.com/document.pdf"
}

Questions

More comparisons

GLM-OCR alternativesMinerU alternatives