OCRRouterGet API key

Amazon Textract vs SmolDocling

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

Amazon Textractaws/textractSmolDoclinghuggingface/smoldocling
TypeOCR APIOpen source
Price6 credits / page1 credit / page
Per 1,000 pages$6.00$1.00
Typical speed1.2 s / page1.0 s / page
Best forForms and key-value extractionVery cheap page conversion
InputsPDF, imagesPDF, images
Languages6 languagesMainly English
Max pages per request3,000500
Tables✓ Yes✓ Yes
Handwriting✓ YesNo
MathNo✓ Yes
Bounding boxes✓ Yes✓ Yes
Confidence✓ YesNo
Forms✓ YesNo
MultilingualNoNo
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

SmolDocling

Tiny 256M vision model from Hugging Face and IBM that outputs DocTags. Predecessor of Granite Docling.

SmolDocling details

Use one, fall back to the other

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

Questions

More comparisons

Amazon Textract alternativesSmolDocling alternatives