OCRRouterGet API key

Amazon Textract vs GLM-OCR

GLM-OCR is cheaper per page; Amazon Textract is faster; only Amazon Textract supports forms, handwriting; only GLM-OCR supports math, multilingual.

Amazon Textractaws/textractGLM-OCRzai/glm-ocr
TypeOCR APIOpen source
Price6 credits / page2 credits / page
Per 1,000 pages$6.00$2.00
Typical speed1.2 s / page1.3 s / page
Best forForms and key-value extractionLow-cost general documents
InputsPDF, imagesPDF, images
Languages6 languages100+ languages
Max pages per request3,000500
Tables✓ Yes✓ Yes
Handwriting✓ YesNo
MathNo✓ Yes
Bounding boxes✓ Yes✓ Yes
Confidence✓ Yes✓ Yes
Forms✓ YesNo
MultilingualNo✓ Yes
On OCRRouterAvailableAvailable

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

What each one is

Amazon Textract

AWS OCR with form key-value pairs, tables and per-word confidence scores.

Amazon Textract details

GLM-OCR

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

GLM-OCR details

Try both on your own file

Run the file once with each model and compare the output.

Result

Your Markdown or JSON shows up here.

Use one, fall back to the other

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

Questions

More comparisons