MinerU vs TrOCR
TrOCR is cheaper per page; TrOCR is faster; only MinerU supports tables, math, bounding boxes, multilingual; only TrOCR supports handwriting.
MinerUopendatalab/mineru | TrOCRmicrosoft/trocr | |
|---|---|---|
| Type | Open source | Open source |
| Price | 2 credits / page | 1 credit / page |
| Per 1,000 pages | $2.00 | $1.00 |
| Typical speed | 2.0 s / page | 1.2 s / page |
| Best for | Academic PDFs | Handwritten text lines |
| Inputs | PDF, images | images |
| Languages | 80+ languages | English |
| Max pages per request | 500 | 100 |
| Tables | ✓ Yes | No |
| Handwriting | No | ✓ Yes |
| Math | ✓ Yes | No |
| Bounding boxes | ✓ Yes | No |
| Confidence | No | No |
| Forms | No | No |
| Multilingual | ✓ Yes | No |
| On OCRRouter | Coming soon | Coming 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 detailsTrOCR
Transformer text recognition model. Reads single text lines, including handwriting.
TrOCR detailsUse one, fall back to the other
Request body
{
"model": "opendatalab/mineru",
"fallbacks": ["microsoft/trocr"],
"file_url": "https://example.com/document.pdf"
}