OCRRouterGet API key

Amazon Textract vs MinerU

MinerU is cheaper per page; Amazon Textract is faster; only Amazon Textract supports forms, handwriting, confidence; only MinerU supports math, multilingual.

Amazon Textractaws/textractMinerUopendatalab/mineru
TypeOCR APIOpen source
Price6 credits / page2 credits / page
Per 1,000 pages$6.00$2.00
Typical speed1.2 s / page2.0 s / page
Best forForms and key-value extractionAcademic PDFs
InputsPDF, imagesPDF, images
Languages6 languages80+ languages
Max pages per request3,000500
Tables✓ Yes✓ Yes
Handwriting✓ YesNo
MathNo✓ Yes
Bounding boxes✓ Yes✓ Yes
Confidence✓ YesNo
Forms✓ YesNo
MultilingualNo✓ 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

Amazon Textract

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

Amazon Textract details

MinerU

Open-source PDF to Markdown pipeline popular for academic and Chinese documents.

MinerU details

Use one, fall back to the other

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

Questions

More comparisons

Amazon Textract alternativesMinerU alternatives