OCRRouterGet API key

GLM-OCR vs olmOCR

GLM-OCR is faster; only GLM-OCR supports bounding boxes, confidence, multilingual; only olmOCR supports handwriting.

GLM-OCRzai/glm-ocrolmOCRallenai/olmocr
TypeOpen sourceOpen source
Price2 credits / page2 credits / page
Per 1,000 pages$2.00$2.00
Typical speed1.3 s / page1.5 s / page
Best forLow-cost general documentsBulk PDF to text for datasets
InputsPDF, imagesPDF, images
Languages100+ languagesMainly English
Max pages per request5001,000
Tables✓ Yes✓ Yes
HandwritingNo✓ Yes
Math✓ Yes✓ Yes
Bounding boxes✓ YesNo
Confidence✓ YesNo
FormsNoNo
Multilingual✓ YesNo
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

olmOCR

Open-source vision model from Ai2 that turns PDFs into clean, reading-order text.

olmOCR details

Use one, fall back to the other

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

Questions

More comparisons

GLM-OCR alternativesolmOCR alternatives