OCRRouterGet API key

MinerU vs Unstructured

MinerU is cheaper per page; MinerU is faster; only MinerU supports math.

MinerUopendatalab/mineruUnstructuredunstructured/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 forAcademic PDFsMixed file types into RAG
InputsPDF, imagesPDF, images, DOCX
Languages80+ languagesMultilingual
Max pages per request5001,000
Tables✓ Yes✓ Yes
HandwritingNoNo
Math✓ YesNo
Bounding boxes✓ Yes✓ Yes
ConfidenceNoNo
FormsNoNo
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

MinerU

Open-source PDF to Markdown pipeline popular for academic and Chinese documents.

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

Questions

More comparisons

MinerU alternativesUnstructured alternatives