OCRRouterGet API key

Google Document AI vs olmOCR

OlmOCR is cheaper per page; Google Document AI is faster; only Google Document AI supports forms, bounding boxes, confidence, multilingual; only olmOCR supports math.

Google Document AIgoogle/document-aiolmOCRallenai/olmocr
TypeOCR APIOpen source
Price3 credits / page2 credits / page
Per 1,000 pages$3.00$2.00
Typical speed1.4 s / page1.5 s / page
Best forMultilingual scansBulk PDF to text for datasets
InputsPDF, imagesPDF, images
Languages200+ languagesMainly English
Max pages per request5001,000
Tables✓ Yes✓ Yes
Handwriting✓ Yes✓ Yes
MathNo✓ Yes
Bounding boxes✓ YesNo
Confidence✓ YesNo
Forms✓ YesNo
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

Google Document AI

Google Cloud OCR with layout parsing and specialised processors.

Google Document AI 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": "google/document-ai",
  "fallbacks": ["allenai/olmocr"],
  "file_url": "https://example.com/document.pdf"
}

Questions

More comparisons

Google Document AI alternativesolmOCR alternatives