OCRRouter

Marker vs MinerU

Pick Marker for self-hosted PDF to Markdown on books and papers with equations, or when you want RAG chunks, as long as the weight licence fits your company. Pick MinerU for mixed PDF and Office corpora, Chinese and English papers, or CPU-only batch jobs. Marker has the higher olmOCR-bench score (83.7, reported by its authors) against 75.2 for MinerU 2.5.4 (independent).

Markerdatalab/markerMinerUopendatalab/mineru
TypeOCR APIOpen source
Price14 credits / page2 credits / page
Per 1,000 pages$14.00$2.00
Typical speed2.5 s / page2.0 s / page
Best forBooks and research papersAcademic PDFs
InputsPDF, images, DOCXPDF, images
Languages90+ languages80+ languages
Max pages per request1,000500
Tables✓ Yes✓ Yes
HandwritingNoNo
Math✓ Yes✓ Yes
Bounding boxes✓ Yes✓ Yes
ConfidenceNoNo
FormsNoNo
Multilingual✓ Yes✓ Yes
On OCRRouterAvailableAvailable

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

Which to choose

Choose Marker if

  • Its vllm mode scores 83.7 on olmOCR-bench, though that number comes from Datalab itself.
  • You can use a hosted API from Datalab with about 5,000 free pages per month instead of running your own servers.
  • It outputs RAG chunks and JSON block trees, and it suits books and papers with equations.

Choose MinerU if

  • It accepts PDF, images, DOCX, PPTX, XLSX, EPUB, OFD and HTML in one tool, which suits mixed corpora.
  • Its basic ONNX tier runs on CPU with about 2 GB RAM, so you can start without a GPU.
  • It can render to Markdown, HTML, LaTeX, DOCX and EPUB, and it targets Chinese and English academic papers.

Key differences

MarkerMinerU
LicenceCode Apache-2.0; weights under a modified AI Pubs Open Rail-M licence, free for research, personal use and startups under $5MMinerU Open Source License (Apache-2.0 based with extra conditions); MinerU2.5 VLM weights tagged AGPL-3.0
How you run itLocal on GPU, CPU or Apple Silicon, or Datalab's hosted APISelf-host only, as CLI, API or WebUI
PriceFree self-hosted within the weight licence; hosted API has about 5,000 free pages per month, then paid plansFree, self-hosted; you pay for compute
Hardwarevllm mode needs an NVIDIA GPU; fast mode runs on CPU with about 18 MB of ONNX weightsBasic tier runs on CPU with 2 GB RAM; VLM tiers need 16 GB RAM and a GPU with 8 GB+ VRAM
Input formatsNot publishedPDF, images, DOCX, PPTX, XLSX, EPUB, OFD and HTML
olmOCR-bench overall83.7 in vllm mode (authors' own number); 66.6 in CPU fast mode75.2 for MinerU 2.5.4 (independent)
Known failureNot publishedVLM tiers drop merged header rows in tables such as bank statement account lines; the VLM pipeline can repeat content and produce 300 KB figure blocks

Sources

What each one is

Marker

Hosted version of the open-source Marker and Surya models. Strong on books and papers.

Marker details

MinerU

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

MinerU details

Try both on your own file

Run the file once with each model and compare the output.

PDF, PNG, JPG, WebP, HEIC. Up to 20 MB each, 10 files.No file?

Use one, fall back to the other

{"model": "datalab/marker","fallbacks": ["opendatalab/mineru"],"file_url": "https://example.com/document.pdf"}

Questions

More comparisons

Marker alternativesMinerU alternativesBest OCR models in 2026