OCRRouterGet API key

SmolDocling vs Unstructured

SmolDocling is cheaper per page; SmolDocling is faster; only SmolDocling supports math; only Unstructured supports multilingual.

SmolDoclinghuggingface/smoldoclingUnstructuredunstructured/unstructured
TypeOpen sourceOCR API
Price1 credit / page20 credits / page
Per 1,000 pages$1.00$20.00
Typical speed1.0 s / page3.0 s / page
Best forVery cheap page conversionMixed file types into RAG
InputsPDF, imagesPDF, images, DOCX
LanguagesMainly EnglishMultilingual
Max pages per request5001,000
Tables✓ Yes✓ Yes
HandwritingNoNo
Math✓ YesNo
Bounding boxes✓ Yes✓ Yes
ConfidenceNoNo
FormsNoNo
MultilingualNo✓ Yes
On OCRRouterComing soonComing soon

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

What each one is

SmolDocling

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

SmolDocling details

Unstructured

Document ETL for RAG. Partitions many file types into typed elements; open-source library too.

Unstructured details

Use one, fall back to the other

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

Questions

More comparisons

SmolDocling alternativesUnstructured alternatives