OCRRouter

Amazon Textract vs MinerU

Pick Amazon Textract for English forms, invoices and large scanned PDF batches when you already run on AWS and want a managed API with per-page pricing. Pick MinerU for Chinese and English academic papers or mixed Office and PDF corpora where you need Markdown out and can host it yourself. The main split is a hosted, proprietary API limited to six Latin-script languages versus a self-hosted toolkit with a custom licence.

Amazon Textractaws/textractMinerUopendatalab/mineru
TypeOCR APIOpen source
Price25 credits / page2 credits / page
Per 1,000 pages$25.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 OCRRouterAvailableAvailable

Prices are what you pay on OCRRouter. Speed is the provider's typical figure, not a benchmark we ran.

Which to choose

Choose Amazon Textract if

  • You need English forms, invoices, handwriting or Queries, and you want them from a managed AWS API.
  • You process big scanned PDF batches: the async API takes files up to 500 MB and 3,000 pages.
  • You want predictable per-page pricing, from $0.0015 per page for text detection up to $0.05 per page for Forms, with word and line geometry and confidence scores in the output.

Choose MinerU if

  • You work with Chinese and English academic papers, or a mixed corpus of PDF, DOCX, PPTX, XLSX, EPUB, OFD and HTML files for RAG.
  • You need Markdown, HTML, LaTeX, DOCX, EPUB or JSON output without post-processing.
  • You want to run on your own hardware, including a CPU-only basic tier with about 2 GB RAM, and pay only for compute.

Key differences

Amazon TextractMinerU
How you run itHosted AWS APISelf-hosted as a CLI, API or WebUI
LicenceProprietaryMinerU Open Source License (Apache-2.0 based with extra conditions); MinerU2.5 VLM weights are tagged AGPL-3.0
PriceUS West (Oregon), first 1M pages/month: text detection $0.0015/page, Tables $0.015/page, Forms $0.05/page, Queries $0.015/pageFree; you pay for compute
Output formatsJSON, plain text, bounding boxes; no Markdown without post-processingMarkdown, HTML, LaTeX, DOCX, EPUB, JSON
LanguagesText detection supports English, French, German, Italian, Portuguese and Spanish; handwriting and Queries are English only; vertical Japanese and Chinese not supportedListed as good for Chinese and English academic papers; full-width Chinese punctuation is converted to half-width with no switch
BenchmarkRD-TableBench table accuracy: 80.9%olmOCR-Bench overall: 75.2 (MinerU 2.5.4); ParseBench mean: 45.9 (MinerU2.5). Different benchmarks, so not directly comparable
Known failureSync API takes one page onlyVLM tiers drop merged header rows in tables such as bank statement account lines; the VLM pipeline can produce repeated content, such as 300 KB figure blocks

Sources

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

Try both on your own file

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

PDF, PNG, JPG, WebP, HEIC. Up to 20 MB each, 10 files.No file?

Use one, fall back to the other

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

Questions

More comparisons

Amazon Textract alternativesMinerU alternativesBest OCR models in 2026