OCRRouterGet API key

MinerU vs docTR

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

MinerUopendatalab/minerudocTRmindee/doctr
TypeOpen sourceOpen source
Price2 credits / page1 credit / page
Per 1,000 pages$2.00$1.00
Typical speed2.0 s / page0.9 s / page
Best forAcademic PDFsWord-level OCR with positions
InputsPDF, imagesPDF, images
Languages80+ languagesMainly Latin scripts
Max pages per request500500
Tables✓ YesNo
HandwritingNoNo
Math✓ YesNo
Bounding boxes✓ Yes✓ Yes
ConfidenceNo✓ Yes
FormsNoNo
Multilingual✓ YesNo
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

docTR

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

docTR details

Use one, fall back to the other

Request body
{
  "model": "opendatalab/mineru",
  "fallbacks": ["mindee/doctr"],
  "file_url": "https://example.com/document.pdf"
}

Questions

More comparisons

MinerU alternativesdocTR alternatives