OCRRouterGet API key

GLM-OCR vs Donut

Donut is cheaper per page; Donut is faster; only GLM-OCR supports tables, math, bounding boxes, confidence, multilingual; only Donut supports forms.

GLM-OCRzai/glm-ocrDonutnaver/donut
TypeOpen sourceOpen source
Price2 credits / page1 credit / page
Per 1,000 pages$2.00$1.00
Typical speed1.3 s / page1.0 s / page
Best forLow-cost general documentsReceipt and form fields after fine-tuning
InputsPDF, imagesimages
Languages100+ languagesEnglish, Chinese, Japanese, Korean
Max pages per request500100
Tables✓ YesNo
HandwritingNoNo
Math✓ YesNo
Bounding boxes✓ YesNo
Confidence✓ YesNo
FormsNo✓ Yes
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

Donut

OCR-free document understanding model. Fine-tuned for receipts, forms and document Q&A.

Donut details

Use one, fall back to the other

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

Questions

More comparisons

GLM-OCR alternativesDonut alternatives