OCRRouter获取 API Key

Gemini Flash vs Amazon Textract

Gemini Flash is cheaper per page; Amazon Textract is faster; only Gemini Flash supports math, multilingual; only Amazon Textract supports forms, bounding boxes, confidence.

Gemini Flashgoogle/gemini-flashAmazon Textractaws/textract
TypeVision modelOCR API
Price3 credits / page6 credits / page
Per 1,000 pages$3.00$6.00
Typical speed1.6 s / page1.2 s / page
Best forHandwriting and mixed layoutsForms and key-value extraction
InputsPDF, imagesPDF, images
Languages100+ languages6 languages
Max pages per request1,0003,000
Tables✓ Yes✓ Yes
Handwriting✓ Yes✓ Yes
Math✓ YesNo
Bounding boxesNo✓ Yes
ConfidenceNo✓ Yes
FormsNo✓ Yes
Multilingual✓ YesNo
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

Gemini Flash

General vision model with strong handwriting and layout understanding at a low price.

Gemini Flash details

Amazon Textract

AWS OCR with form key-value pairs, tables and per-word confidence scores.

Amazon Textract 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": "google/gemini-flash",
  "fallbacks": ["aws/textract"],
  "file_url": "https://example.com/document.pdf"
}

Questions

More comparisons

Gemini Flash alternativesAmazon Textract alternatives