OCRRouterGet API key

Google Document AI vs Nanonets-OCR

Nanonets-OCR is cheaper per page; Google Document AI is faster; only Google Document AI supports handwriting, bounding boxes, confidence; only Nanonets-OCR supports math.

Google Document AIgoogle/document-aiNanonets-OCRnanonets/nanonets-ocr
TypeOCR APIOpen source
Price3 credits / page2 credits / page
Per 1,000 pages$3.00$2.00
Typical speed1.4 s / page1.8 s / page
Best forMultilingual scansMarkdown with semantic tags
InputsPDF, imagesPDF, images
Languages200+ languagesMultilingual
Max pages per request500500
Tables✓ Yes✓ Yes
Handwriting✓ YesNo
MathNo✓ Yes
Bounding boxes✓ YesNo
Confidence✓ YesNo
Forms✓ Yes✓ Yes
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

Google Document AI

Google Cloud OCR with layout parsing and specialised processors.

Google Document AI details

Nanonets-OCR

Open image-to-Markdown model that tags tables, equations, signatures, watermarks and checkboxes.

Nanonets-OCR details

Use one, fall back to the other

Request body
{
  "model": "google/document-ai",
  "fallbacks": ["nanonets/nanonets-ocr"],
  "file_url": "https://example.com/document.pdf"
}

Questions

More comparisons

Google Document AI alternativesNanonets-OCR alternatives