OCRRouter获取 API Key

Amazon Textract vs Google Document AI

Google Document AI is cheaper per page; Amazon Textract is faster; only Google Document AI supports multilingual.

Amazon Textractaws/textractGoogle Document AIgoogle/document-ai
TypeOCR APIOCR API
Price6 credits / page3 credits / page
Per 1,000 pages$6.00$3.00
Typical speed1.2 s / page1.4 s / page
Best forForms and key-value extractionMultilingual scans
InputsPDF, imagesPDF, images
Languages6 languages200+ languages
Max pages per request3,000500
Tables✓ Yes✓ Yes
Handwriting✓ Yes✓ Yes
MathNoNo
Bounding boxes✓ Yes✓ Yes
Confidence✓ Yes✓ Yes
Forms✓ Yes✓ Yes
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

Google Document AI

Google Cloud OCR with layout parsing and specialised processors.

Google Document AI details

Try both on your own file

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

结果

识别出的 Markdown 或 JSON 会显示在这里。

Use one, fall back to the other

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

Questions

More comparisons

Amazon Textract alternativesGoogle Document AI alternatives