OCRRouter

Unlimited OCR vs docTR

Pick Unlimited OCR to turn long PDFs, reports and books into Markdown with bounding boxes in one request, if you have an NVIDIA GPU. Pick docTR for word-level OCR with coordinates on invoices and receipts, or when you need to run on CPU and train your own models. The main split is output: Unlimited OCR parses whole documents to Markdown, while docTR returns only words and lines.

Unlimited OCRbaidu/unlimited-ocrdocTRmindee/doctr
TypeOpen sourceOpen source
Price2 credits / page1 credit / page
Per 1,000 pages$2.00$1.00
Typical speed1.2 s / page0.9 s / page
Best forBooks and very long documentsWord-level OCR with positions
InputsPDF, imagesPDF, images
Languages30+ languagesMainly Latin scripts
Max pages per request1,000500
Tables✓ YesNo
HandwritingNoNo
Math✓ YesNo
Bounding boxes✓ Yes✓ Yes
ConfidenceNo✓ Yes
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 Unlimited OCR if

  • It parses 40+ pages in a single forward pass with roughly constant memory, so a long report or book goes in as one request.
  • It outputs Markdown, plain text and bounding boxes with block types, which suits bulk PDF to text for RAG.
  • It is MIT licensed, and Baidu Cloud also offers a hosted endpoint if you do not want to run a GPU.

Choose docTR if

  • It runs on CPU or NVIDIA GPU, while Unlimited OCR needs an NVIDIA GPU with CUDA 12.9 or 13.0.
  • It exports a nested page, block, line and word structure with coordinates as JSON, and lets you choose detection and recognition architectures with straight or rotated boxes.
  • It is Apache-2.0, ships Docker images, and includes a key information extraction predictor for invoices and receipts feeding custom extraction.

Key differences

Unlimited OCRdocTR
What it is3B Mixture-of-Experts document parser from Baidu, derived from DeepSeek-OCRTwo-stage text detection and recognition library from Mindee, run in Python on PyTorch
LicenceMITApache-2.0
How you run itSelf-host with vLLM, SGLang or transformers, or use the hosted endpoint in Baidu Cloud's OCR productLocal Python library with Docker images; GPU images need CUDA 12.2 or newer on the host
HardwareNVIDIA GPU with CUDA 12.9 or 13.0; Unlimited OCR 2 on SGLang runs out of memory on 12 GB GPUs; not for CPU-only machinesCPU or NVIDIA GPU
Output formatsMarkdown, plain text, bounding boxesJSON, plain text, bounding boxes; no table, formula or Markdown output
BenchmarksParseBench mean 46.17 (independent). Unlimited OCR 2: MPDocBench 84.6 and MarathonDocBench 77.1 (authors)Not published
Known failureText repetition and looping, hallucinated text, and a 32,768 token context cap; multi-page input only works in base modeSplit-crop merging misjoins repeated characters, cropping images gives poorer results, and ONNX export of MASTER truncates decoding steps

Sources

What each one is

Unlimited OCR

Open-source model from Baidu that reads hundreds of pages in one pass with flat memory use.

Unlimited OCR details

docTR

Open-source OCR library from Mindee with separate text detection and recognition models.

docTR 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": "baidu/unlimited-ocr","fallbacks": ["mindee/doctr"],"file_url": "https://example.com/document.pdf"}

Questions

More comparisons

Unlimited OCR alternativesdocTR alternativesBest OCR models in 2026