OCRRouterGet API key

GLM-OCR vs OCR.space

OCR.space is cheaper per page; GLM-OCR is faster; only GLM-OCR supports math, confidence.

GLM-OCRzai/glm-ocrOCR.spaceocrspace/ocr-space
TypeOpen sourceOCR API
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 documentsCheap simple OCR
InputsPDF, imagesPDF, images
Languages100+ languages20+ languages
Max pages per request500100
Tables✓ Yes✓ Yes
HandwritingNoNo
Math✓ YesNo
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

OCR.space

Low-cost OCR API with a large free tier. Returns text, word boxes and searchable PDFs.

OCR.space details

Use one, fall back to the other

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

Questions

More comparisons

GLM-OCR alternativesOCR.space alternatives