OCRRouterGet API key

Chandra vs Unstructured

Chandra is cheaper per page; Chandra is faster; only Chandra supports math, handwriting, forms.

Chandradatalab/chandraUnstructuredunstructured/unstructured
TypeOpen sourceOCR API
Price2 credits / page20 credits / page
Per 1,000 pages$2.00$20.00
Typical speed2.0 s / page3.0 s / page
Best forComplex layouts and handwritingMixed file types into RAG
InputsPDF, imagesPDF, images, DOCX
Languages40+ languagesMultilingual
Max pages per request5001,000
Tables✓ Yes✓ Yes
Handwriting✓ YesNo
Math✓ YesNo
Bounding boxes✓ Yes✓ Yes
ConfidenceNoNo
Forms✓ YesNo
Multilingual✓ Yes✓ 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

Chandra

Datalab's OCR model that keeps layout and handles forms, tables and handwriting.

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

Questions

More comparisons

Chandra alternativesUnstructured alternatives