OCRRouterاحصل على مفتاح API

GLM-OCR vs Unlimited OCR

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

GLM-OCRzai/glm-ocrUnlimited OCRbaidu/unlimited-ocr
TypeOpen sourceOpen source
Price2 credits / page2 credits / page
Per 1,000 pages$2.00$2.00
Typical speed1.3 s / page1.2 s / page
Best forLow-cost general documentsBooks and very long documents
InputsPDF, imagesPDF, images
Languages100+ languages30+ languages
Max pages per request5001,000
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

Unlimited OCR

Open-source model from Baidu that reads hundreds of pages in one pass with flat memory use.

Unlimited OCR details

Use one, fall back to the other

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

Questions

More comparisons

GLM-OCR alternativesUnlimited OCR alternatives