OCRRouter

Amazon Textract vs Florence-2

Pick Amazon Textract for English forms, invoices and large scanned PDF batches on AWS, where you need tables, forms and word-level confidence scores. Pick Florence-2 for short labels and scene text in English, where you want a small MIT-licensed model you host yourself and get boxes per text line. Neither suits Chinese or Japanese text.

Amazon Textractaws/textractFlorence-2microsoft/florence-2
TypeOCR APIOpen source
Price25 credits / page1 credit / page
Per 1,000 pages$25.00$1.00
Typical speed1.2 s / page0.8 s / page
Best forForms and key-value extractionLightweight OCR with boxes
InputsPDF, imagesimages
Languages6 languagesEnglish
Max pages per request3,000500
Tables✓ YesNo
Handwriting✓ YesNo
MathNoNo
Bounding boxes✓ Yes✓ Yes
Confidence✓ YesNo
Forms✓ YesNo
MultilingualNoNo
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

  • It extracts tables, forms, queries and layout, and Florence-2 returns only text and boxes.
  • The async API takes PDFs up to 500 MB and 3,000 pages, which fits large scanned batches.
  • It returns word and line geometry with confidence scores, and scored 80.9% on RD-TableBench in an independent test.

Choose Florence-2 if

  • It is MIT licensed and free to self-host, and you pay only for compute.
  • It is small, at 0.23B (base) and 0.77B (large) parameters, so it suits lightweight edge OCR in English.
  • OCR_WITH_REGION returns quadrilateral boxes per text line, and the same model also does captioning, detection and grounding.

Key differences

Amazon TextractFlorence-2
How you run itHosted AWS APISelf-hosted via Transformers
LicenceProprietaryMIT
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
OutputJSON, plain text, bounding boxesPlain text, bounding boxes. No Markdown, tables or LaTeX
Document structureTables, forms, queries and layoutNone. Text and boxes only
LanguagesText detection: English, French, German, Italian, Portuguese, Spanish. Handwriting and Queries: English only. Vertical Japanese and Chinese not supportedChinese output is mostly wrong because the vocabulary lacks CJK characters. Spelling errors and missing spaces seen on French text
HandwritingSupported, English onlyErrors and missing spaces on cursive handwriting in one blog test

Sources

What each one is

Amazon Textract

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

Amazon Textract details

Florence-2

Small Microsoft vision model (0.23B and 0.77B) with OCR and OCR-with-regions tasks that return text with boxes.

Florence-2 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": ["microsoft/florence-2"],"file_url": "https://example.com/document.pdf"}

Questions

More comparisons

Amazon Textract alternativesFlorence-2 alternativesBest OCR models in 2026