OCRRouterGet API key

Google Document AI vs Nougat

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

Google Document AIgoogle/document-aiNougatmeta/nougat
TypeOCR APIOpen source
Price3 credits / page2 credits / page
Per 1,000 pages$3.00$2.00
Typical speed1.4 s / page3.0 s / page
Best forMultilingual scansarXiv-style papers
InputsPDF, imagesPDF, images
Languages200+ languagesMainly English
Max pages per request500200
Tables✓ Yes✓ Yes
Handwriting✓ YesNo
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

Nougat

Meta's model that converts academic PDFs to Markdown with LaTeX math.

Nougat details

Use one, fall back to the other

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

Questions

More comparisons

Google Document AI alternativesNougat alternatives