OCRRouterGet API key

MinerU vs Google Cloud Vision OCR

Google Cloud Vision OCR is faster; only MinerU supports tables, math; only Google Cloud Vision OCR supports handwriting, confidence.

MinerUopendatalab/mineruGoogle Cloud Vision OCRgoogle/cloud-vision
TypeOpen sourceOCR API
Price2 credits / page2 credits / page
Per 1,000 pages$2.00$2.00
Typical speed2.0 s / page1.0 s / page
Best forAcademic PDFsPhotos and simple scans
InputsPDF, imagesPDF, images
Languages80+ languages100+ languages
Max pages per request5002,000
Tables✓ YesNo
HandwritingNo✓ Yes
Math✓ YesNo
Bounding boxes✓ Yes✓ Yes
ConfidenceNo✓ Yes
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

Google Cloud Vision OCR

Google Cloud's image OCR with text and document text detection, word boxes and confidence.

Google Cloud Vision OCR details

Use one, fall back to the other

Request body
{
  "model": "opendatalab/mineru",
  "fallbacks": ["google/cloud-vision"],
  "file_url": "https://example.com/document.pdf"
}

Questions

More comparisons

MinerU alternativesGoogle Cloud Vision OCR alternatives