OCRRouter

Mistral OCR vs OCRmyPDF

Pick Mistral OCR when you need Markdown, HTML tables or JSON out of scanned business documents in bulk, and you accept a hosted API at $2 per 1,000 pages. Pick OCRmyPDF when you need to keep the original PDF and add a searchable text layer as PDF/A, on your own CPUs, for free. The main split is output: structured Markdown from a model versus a searchable PDF from Tesseract.

Mistral OCRmistral/mistral-ocrOCRmyPDFocrmypdf/ocrmypdf
TypeOCR APIOpen source
Price25 credits / page1 credit / page
Per 1,000 pages$25.00$1.00
Typical speed0.9 s / page1.0 s / page
Best forHigh-volume PDF to MarkdownSearchable PDFs from scans
InputsPDF, imagesPDF, images
Languages100+ languages100+ languages (via Tesseract)
Max pages per request1,0001,000
Tables✓ YesNo
HandwritingNoNo
Math✓ YesNo
Bounding boxes✓ YesNo
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 Mistral OCR if

  • You want PDF to Markdown for RAG, with tables rebuilt as HTML with rowspan and colspan.
  • You process large batches and want the low price: $2 per 1,000 pages, or $1 per 1,000 through the Batch API.
  • You need JSON or extracted images as well as text, and can use structured annotations at $3 per 1,000 pages.

Choose OCRmyPDF if

  • You need validated searchable PDF/A for archives or compliance, with the OCR layer inserted losslessly where possible.
  • You want to run locally on CPU only, spread across all cores, with no per-page fees and an MPL-2.0 licence.
  • You scan in languages beyond the common ones, since Tesseract language packs cover 100+ languages.

Key differences

Mistral OCROCRmyPDF
How you run itHosted API (mistral-ocr-2512, OCR 3)Local command-line tool and library
LicenceProprietaryMPL-2.0, open source
Price$2 per 1,000 pages; $3 with structured annotations; $1 via Batch APIFree, self-hosted (you pay for compute)
Output formatsMarkdown, HTML, JSON, imagesSearchable PDF (PDF/A) and plain text
Tables and layoutTables returned as HTML with rowspan and colspanNo layout, table or Markdown output
BenchmarkOmniDocBench v1.6 overall: 85.66; v1.5 for the first version: 78.83Not published
Known failureHallucinated text on unreadable handwriting; changed checkbox states and misread characters on a dense financial table page--skip-text with default PDF/A output removes form fields; hangs on PDFs whose forms share one Resources dictionary; --deskew --clean-final can double or quadruple file size

Sources

What each one is

Mistral OCR

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

Mistral OCR details

OCRmyPDF

Command-line tool that adds a searchable text layer to scanned PDFs, using Tesseract.

OCRmyPDF 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": ["ocrmypdf/ocrmypdf"],"file_url": "https://example.com/document.pdf"}

Questions

More comparisons

Mistral OCR alternativesOCRmyPDF alternativesBest OCR models in 2026