OCRRouterGet API key

docTR vs Unstructured

DocTR is cheaper per page; docTR is faster; only docTR supports confidence; only Unstructured supports tables, multilingual.

docTRmindee/doctrUnstructuredunstructured/unstructured
TypeOpen sourceOCR API
Price1 credits / page20 credits / page
Per 1,000 pages$1.00$20.00
Typical speed0.9 s / page3.0 s / page
Best forWord-level OCR with positionsMixed file types into RAG
InputsPDF, imagesPDF, images, DOCX
LanguagesMainly Latin scriptsMultilingual
Max pages per request5001,000
TablesNo✓ Yes
HandwritingNoNo
MathNoNo
Bounding boxes✓ Yes✓ Yes
Confidence✓ YesNo
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

docTR

Open-source OCR library from Mindee with separate text detection and recognition models.

docTR 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": "mindee/doctr",
  "fallbacks": ["unstructured/unstructured"],
  "file_url": "https://example.com/document.pdf"
}

Questions

More comparisons

docTR alternativesUnstructured alternatives