OCRRouterGet API key

GLM-OCR vs Granite Docling

Granite Docling is cheaper per page; GLM-OCR is faster; only GLM-OCR supports confidence, multilingual.

GLM-OCRzai/glm-ocrGranite Doclingibm/granite-docling
TypeOpen sourceOpen source
Price2 credits / page1 credit / page
Per 1,000 pages$2.00$1.00
Typical speed1.3 s / page1.5 s / page
Best forLow-cost general documentsSmall-model document conversion
InputsPDF, imagesPDF, images
Languages100+ languagesEnglish, experimental CJK and Arabic
Max pages per request500500
Tables✓ Yes✓ Yes
HandwritingNoNo
Math✓ Yes✓ Yes
Bounding boxes✓ Yes✓ Yes
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

Granite Docling

Compact IBM vision model that converts pages to DocTags for the Docling pipeline.

Granite Docling details

Use one, fall back to the other

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

Questions

More comparisons

GLM-OCR alternativesGranite Docling alternatives