OCRRouter

MinerU vs Florence-2

Pick MinerU to convert full PDFs and Office files into Markdown, HTML, LaTeX or JSON, especially Chinese and English academic papers. Pick Florence-2 when you only need plain text with line boxes from scene text or short English labels, or when you want a very small MIT-licensed model that also does captioning and detection. Florence-2 gives no document structure and handles Chinese badly, so it is not a page converter.

MinerUopendatalab/mineruFlorence-2microsoft/florence-2
TypeOpen sourceOpen source
Price2 credits / page1 credit / page
Per 1,000 pages$2.00$1.00
Typical speed2.0 s / page0.8 s / page
Best forAcademic PDFsLightweight OCR with boxes
InputsPDF, imagesimages
Languages80+ languagesEnglish
Max pages per request500500
Tables✓ YesNo
HandwritingNoNo
Math✓ YesNo
Bounding boxes✓ Yes✓ Yes
ConfidenceNoNo
FormsNoNo
Multilingual✓ YesNo
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 MinerU if

  • It takes PDF, images, DOCX, PPTX, XLSX, EPUB, OFD and HTML and renders Markdown, HTML, LaTeX, DOCX, EPUB or JSON.
  • It has a CPU-only basic tier that runs on about 2 GB RAM, and a VLM tier that reaches 2.12 pages per second on one A100 with vLLM.
  • It is listed as good for Chinese and English academic papers and mixed Office and PDF corpora for RAG, and scores 75.2 on olmOCR-Bench (2.5.4).

Choose Florence-2 if

  • It is MIT licensed, while MinerU uses a custom licence and its VLM weights are tagged AGPL-3.0.
  • At 0.23B (base) or 0.77B (large) parameters it is far smaller than the 1.2B MinerU2.5 VLM, which suits lightweight edge OCR in English.
  • OCR_WITH_REGION returns a quadrilateral box for each text line, and the same model also handles captioning, detection and grounding.

Key differences

MinerUFlorence-2
LicenceMinerU Open Source License (Apache-2.0 based with extra conditions); MinerU2.5 VLM weights tagged AGPL-3.0MIT
Model sizeMinerU2.5 VLM: 1.2B0.23B (base), 0.77B (large)
OutputMarkdown, HTML, LaTeX, DOCX, EPUB, JSONPlain text and bounding boxes only; no Markdown, tables or LaTeX
HardwareBasic tier: CPU with 2 GB RAM. VLM tiers: 16 GB RAM and a GPU with 8 GB+ VRAMNot published
Chinese textListed as good for Chinese and English academic papers; converts full-width Chinese punctuation to half-width with no switchChinese output mostly wrong; the vocabulary lacks CJK characters
HandwritingNot publishedSpelling errors and missing spaces on cursive handwriting and French text in a Hugging Face blog test
Known failureVLM tiers drop merged header rows in tables such as bank statement account lines; VLM pipeline can generate repeated content, including 300 KB figure blocksModel card notes the continued-pretrained checkpoint used only 0.1B samples and might not be well trained

Sources

What each one is

MinerU

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

MinerU details

Florence-2

Small Microsoft vision model (0.23B and 0.77B) with OCR and OCR-with-regions tasks that return text with boxes.

Florence-2 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 10 files at onceNo file?

Use one, fall back to the other

{"model": "opendatalab/mineru","fallbacks": ["microsoft/florence-2"],"file_url": "https://example.com/document.pdf"}

Questions

More comparisons

MinerU alternativesFlorence-2 alternativesBest OCR models in 2026