OCRRouterGet API key

GPT vs MinerU

MinerU is cheaper per page; MinerU is faster; only GPT supports handwriting; only MinerU supports bounding boxes.

GPTopenai/gptMinerUopendatalab/mineru
TypeVision modelOpen source
Price11 credits / page2 credits / page
Per 1,000 pages$11.00$2.00
Typical speed2.4 s / page2.0 s / page
Best forMessy scans, custom instructionsAcademic PDFs
InputsPDF, imagesPDF, images
Languages50+ languages80+ languages
Max pages per request100500
Tables✓ Yes✓ Yes
Handwriting✓ YesNo
Math✓ Yes✓ Yes
Bounding boxesNo✓ Yes
ConfidenceNoNo
FormsNoNo
Multilingual✓ Yes✓ Yes
On OCRRouterAvailableComing soon

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

What each one is

GPT

General vision model. Good at messy scans and following extraction instructions.

GPT details

MinerU

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

MinerU details

Use one, fall back to the other

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

Questions

More comparisons