OCRRouter

Amazon Textract vs Hunyuan OCR

Pick Amazon Textract for English forms and invoices on AWS, and for large scanned PDF batches. It is a managed API with async PDF support up to 3,000 pages and per-page pricing from $0.0015. Pick Hunyuan OCR if you need Chinese, Japanese, low-resource or historical scripts, photo text, image translation, or Markdown/HTML/LaTeX output, and you can run a ~1B model yourself outside the EU, UK and South Korea.

Amazon Textractaws/textractHunyuan OCRtencent/hunyuan-ocr
TypeOCR APIOpen source
Price25 credits / page2 credits / page
Per 1,000 pages$25.00$2.00
Typical speed1.2 s / page1.5 s / page
Best forForms and key-value extractionChinese documents and photos
InputsPDF, imagesPDF, images
Languages6 languages100+ 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 work on English forms and invoices and want managed Forms, Tables and Queries extraction on AWS.
  • You process large scanned PDF batches: the async API takes PDFs up to 500 MB and 3,000 pages.
  • You want word and line geometry with confidence scores, and plain text detection at $1.50 per 1,000 pages.

Choose Hunyuan OCR if

  • You need OCR beyond Textract's six Latin-script languages, including low-resource and ancient scripts, or photo and scene text spotting.
  • You want Markdown, HTML, LaTeX or JSON output from one ~1B model that also handles extraction and image translation, with no per-page fee.
  • You want to run it on your own hardware: vLLM on an NVIDIA GPU with CUDA 13, or llama.cpp GGUF on a CPU, consumer GPU or laptop.

Key differences

Amazon TextractHunyuan OCR
How you run itHosted AWS APISelf-hosted via vLLM, Transformers or llama.cpp
LicenceProprietaryTencent Hunyuan Community License; excludes EU, UK and South Korea; separate license needed above 100M monthly active users
PriceUS West (Oregon), first 1M pages/month: text $0.0015/page, Tables $0.015, Forms $0.05, Queries $0.015Free; you pay for compute
Output formatsJSON, plain text, bounding boxesMarkdown, HTML, LaTeX, JSON, plain text, bounding boxes
LanguagesText detection: English, French, German, Italian, Portuguese, Spanish. Handwriting and Queries: English only. No vertical Japanese or Chinese.Covers low-resource and ancient-script OCR; full language list Not published
BenchmarkRD-TableBench table accuracy 80.9%ParseBench-2 overall 67.11; ParseBench mean 63.86 (v1.5)
Limits and known issuesSync API takes one page; async handles up to 500 MB and 3,000 pagesNeeds CUDA 13 and vLLM 0.25.1+ for the unified environment; archived 1.0 note said Transformers and vLLM outputs differed in accuracy

Sources

What each one is

Amazon Textract

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

Amazon Textract details

Hunyuan OCR

Small end-to-end OCR model from Tencent covering parsing, extraction and photo translation.

Hunyuan OCR 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": ["tencent/hunyuan-ocr"],"file_url": "https://example.com/document.pdf"}

Questions

More comparisons

Amazon Textract alternativesHunyuan OCR alternativesBest OCR models in 2026