OCRRouter

Mistral OCR vs docTR

Pick Mistral OCR when you need scanned PDFs turned into Markdown with tables for RAG, and you are happy to call a hosted API at $2 per 1,000 pages. Pick docTR when you need word-level text with coordinates, want to run it yourself under Apache-2.0, or want to train your own models. docTR returns only words and lines, so it cannot give you Markdown or table structure.

Mistral OCRmistral/mistral-ocrdocTRmindee/doctr
TypeOCR APIOpen source
Price25 credits / page1 credit / page
Per 1,000 pages$25.00$1.00
Typical speed0.9 s / page0.9 s / page
Best forHigh-volume PDF to MarkdownWord-level OCR with positions
InputsPDF, imagesPDF, images
Languages100+ 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 Mistral OCR if

  • You need PDF to Markdown output, and OCR 3 rebuilds tables as HTML with rowspan and colspan.
  • You process pages in bulk: $2 per 1,000 pages, or $1 per 1,000 through the Batch API.
  • You do not want to run GPUs, since it is a hosted API that returns Markdown, HTML, JSON and images.

Choose docTR if

  • You need word, line and block structure with coordinates as JSON, with straight or rotated boxes.
  • You must self-host: it is Apache-2.0, runs on CPU or NVIDIA GPU, and costs only your compute.
  • You feed invoices or receipts into your own extraction, or your Python ML team wants to train its own models and pick detection and recognition architectures.

Key differences

Mistral OCRdocTR
How you run itHosted API (current version mistral-ocr-2512, OCR 3)Python library on PyTorch, with Docker images; GPU images need CUDA 12.2 or newer on the host
LicenceProprietaryApache-2.0
Price$2 per 1,000 pages; $3 with structured annotations; $1 per 1,000 with Batch APIFree, self-hosted (you pay for compute)
Output formatsMarkdown, HTML, JSON, imagesJSON, plain text, bounding boxes
TablesOCR 3 reconstructs tables as HTML with rowspan and colspanNo table, formula or Markdown output; words and lines only
BenchmarkOmniDocBench v1.6 overall: 85.66; the first version scored 78.83 on v1.5Not published
Known failureHallucinated text on unreadable handwriting; changed checkbox states and misread characters on a dense financial table page; colored-background pages returned as images in the 2025 releaseCropping images gives poorer results (issue #2007); split-crop merging misjoins repeated characters (issue #2229); ONNX export of MASTER truncates decoding steps (issue #2224)

Sources

What each one is

Mistral OCR

Fast document OCR that returns clean Markdown with tables and embedded images.

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

Questions

More comparisons

Mistral OCR alternativesdocTR alternativesBest OCR models in 2026