Amazon Textract vs SmolDocling
Pick Amazon Textract for English forms, invoices and large scanned PDF batches on AWS, where you want a managed API and pay per page. Pick SmolDocling only for experiments or low-budget English page conversion that you self-host, because it is a preview release and the authors point users to Granite-Docling.
Amazon Textractaws/textract | SmolDoclinghuggingface/smoldocling | |
|---|---|---|
| Type | OCR API | Open source |
| Price | 25 credits / page | 1 credit / page |
| Per 1,000 pages | $25.00 | $1.00 |
| Typical speed | 1.2 s / page | 1.0 s / page |
| Best for | Forms and key-value extraction | Very cheap page conversion |
| Inputs | PDF, images | PDF, images |
| Languages | 6 languages | Mainly English |
| Max pages per request | 3,000 | 500 |
| Tables | ✓ Yes | ✓ Yes |
| Handwriting | ✓ Yes | No |
| Math | No | ✓ Yes |
| Bounding boxes | ✓ Yes | ✓ Yes |
| Confidence | ✓ Yes | No |
| Forms | ✓ Yes | No |
| Multilingual | No | No |
| On OCRRouter | Available | Available |
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 is a hosted API with an async mode that takes PDFs up to 500 MB and 3,000 pages, so you run no infrastructure.
- It extracts forms, tables and queries, and returns word and line geometry with confidence scores.
- Basic text detection costs $1.50 per 1,000 pages, and it supports six Latin-script languages instead of English only.
Choose SmolDocling if
- It is free to license and run, and you pay only for your own compute.
- At 256M parameters it runs on modest hardware, and it takes about 0.35 seconds per page on an A100 with vLLM.
- It outputs Markdown, HTML, JSON, LaTeX and DocTags from one model, so you do not need to post-process into Markdown for RAG.
Key differences
| Amazon Textract | SmolDocling | |
|---|---|---|
| How you run it | Hosted AWS API | Self-hosted 256M-parameter model |
| Licence | Proprietary | Apache-2.0 per the model summary (metadata tag says CDLA-Permissive-2.0) |
| Price | Detect Document Text $0.0015/page, Tables $0.015/page, Forms $0.05/page, Queries $0.015/page (US West, first 1M pages/month) | Free, you pay for compute |
| Output formats | JSON, plain text, bounding boxes | DocTags, Markdown, HTML, JSON, LaTeX, bounding boxes |
| Languages | Text detection in English, French, German, Italian, Portuguese and Spanish. Handwriting and Queries are English only. | English only |
| Table benchmark | 80.9% on RD-TableBench (independent) | TEDS structure 0.82 on FinTabNet at 150dpi (reported by the authors, a different test) |
| Known failure | No vertical Japanese or Chinese text. The sync API takes one page. | Output can loop on some images and become very slow. Endless token repetition and missing closing tags are listed as typical defects. |
Sources
- Textract pricing
- Textract quotas
- Textract hard limits
- Reducto RD-TableBench
- SmolDocling model card
- Docling issue #1515
What each one is
Amazon Textract
AWS OCR with form key-value pairs, tables and per-word confidence scores.
Amazon Textract detailsSmolDocling
Tiny 256M vision model from Hugging Face and IBM that outputs DocTags. Predecessor of Granite Docling.
SmolDocling detailsTry 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": ["huggingface/smoldocling"],"file_url": "https://example.com/document.pdf"}Questions
More comparisons
Amazon Textract vs MonkeyOCRAmazon Textract vs Granite DoclingAzure Document Intelligence vs SmolDoclingMarker vs SmolDoclingAmazon Textract vs TesseractMathpix Convert vs Amazon TextractAmazon Textract vs Unlimited OCRReducto Parse vs Amazon Textract
Amazon Textract alternativesSmolDocling alternativesBest OCR models in 2026