Document · Mistral AI

Mistral OCR

Purpose-built document AI — tables, equations, handwriting and PDFs, at a fraction of the cost of running a general LLM per page.

Illustration of a chalkboard covered in equations and document notes
ParamsContextLicenseReleasedPrice / 1K pagesModality
Undisclosedup to 100 pages/requestProprietary, commercial APIMar 2025~$3 per 1,000 pagesOCR, document understanding (tables, math, handwriting)

What it is and who makes it

Mistral OCR is Mistral AI’s dedicated document-AI product, released March 2025. It’s not a general-purpose chat model and not a vision-language wrapper — it’s a purpose-built optical character recognition and document-understanding API that converts PDFs and images into structured markdown, with tables, LaTeX-style math and handwriting handled natively. It’s the model behind Mistral’s push into enterprise document pipelines, and it’s one of the sharpest tools in that category right now.

Architecture and what’s under the hood

Parameter counts are undisclosed and the architecture is proprietary. Publicly, Mistral describes Mistral OCR as a dedicated model (not a general VLM with OCR prompting) trained specifically on documents — layout analysis, table structure recognition, math rendering and handwriting. It processes up to 100 pages per API request and emits interleaved markdown with extracted images and bounding boxes. There is no self-hosted tier; DeepSeek-OCR and dots.ocr are the open-weights answers if you need that. Exact model size, training data and encoder design remain black-box — treat any confident spec you read elsewhere as fiction.

Strengths

  • Document fidelity. 95%+ accuracy on printed text, with genuinely strong table and equation extraction — the two failure modes that kill general-purpose OCR.
  • Cost per page. Roughly $3 per 1,000 pages is dramatically cheaper than piping pages through a frontier VLM at $1.25+ per million tokens of densely packed image input.
  • Tables and math. Internal evals, corroborated by third parties, show it leading GPT-4o and Claude on table/math-heavy documents. Approximate, as of Nov 2026.
  • Structured output. Clean markdown with headers, reading order and image regions preserved — straight into RAG pipelines without heroics.

Weaknesses and failure modes

  • Handwriting is 90%, not 99%. Legible cursive comes through well; doctor’s notes and cramped annotations still defeat it.
  • Not a reasoning engine. It extracts; it doesn’t analyze. “Summarize this contract’s risks” is a different API call.
  • Per-page pricing at volume. A million-page backlog is a three-to-five-figure bill. For bulk archive digitization, open-weights DeepSeek-OCR may be cheaper enough to justify the plumbing.
  • Proprietary and EU-only nuance. No self-hosting; you’re trusting Mistral with the document content.

Best for / avoid for

Best for: PDFs with tables, invoices, financial statements, research papers with equations, handwritten forms, and RAG ingestion pipelines needing clean markdown.

Avoid for: free-form image understanding (charts, photos, UI), content moderation, or any task needing semantic reasoning over the extracted text.

Variants and family

The API model id is mistral-ocr-latest (pinned versions are available). It’s the only member of its family; Mistral bundles it into Le Chat for document uploads and into enterprise deals. Adjacent products: Codestral for code tasks, Mistral Medium 3.1 as the general-purpose sibling for reasoning over the extracted text.

Pricing, access and how to run it

Roughly $3 per 1,000 pages (details vary by plan). Available via La Plateforme and OpenRouter as mistralai/mistral-ocr-latest:

from mistralai import Mistral

client = Mistral(api_key="MISTRAL_API_KEY")
resp = client.ocr.process(
    model="mistral-ocr-latest",
    document={"type": "document_url", "document_url": "https://example.com/10k-filing.pdf"},
    include_image_base64=True,
)
for page in resp.pages:
    print(page.markdown)

Output comes back as per-page markdown with optional base64-embedded images — ideal for feeding straight into a vector store.

Integration pattern that works well in practice: OCR first, chunk second, embed third. Don’t try to feed raw pages to your embedding model — the markdown preserves reading order and table structure, which dramatically improves retrieval. For tables specifically, consider also storing the HTML-ish table representation when present; it round-trips into downstream SQL or pandas far more cleanly than pipe-delimited markdown. And cache API responses keyed by file hash — re-running OCR on unchanged PDFs is the classic self-inflicted bill.

Benchmarks snapshot

From models-data.js, as of Nov 2026: roughly “leads doc-benchmarks vs GPT-4o/Claude on tables+math (internal evals; third-party confirms).” Commonly reported public figures (approximate): ~95%+ weighted accuracy on printed-text datasets and strong table-extraction scores on internal and third-party document benchmarks. Treat the exact percentages as approximate — document benchmarks are notoriously sensitive to preprocessing.

How it stacks up

vs DeepSeek-OCR: DeepSeek-OCR is open weights (MIT), free to self-host, and competitive on leaderboards — but it’s a raw component, not a managed API, and its Chinese-first evals and integration roughness show. Mistral OCR is the managed, supported, SLA-able option.

vs Azure Document Intelligence: Azure wins on prebuilt form/invoice schemas, SLA-backed enterprise contracts and custom-model training; Mistral wins on raw text/math fidelity, price, and EU data handling. Azure for governed enterprise forms, Mistral for messy real documents.

PeaBox fit

Mistral OCR is the ingestion engine, not the brain. Point it at your PDFs and hand the markdown to PeaBox AI Workbench for analysis; use the extracted text to populate Prompt Library’s research corpus. For CodeProof-AI-adjacent doc workflows (scanning academic papers, specs and RFC PDFs), it’s the cheapest way to turn a filing cabinet into tokens before any reasoning model sees it.

The practitioner’s take

If your pipeline currently sends PDF pages to a general VLM and begs for usable text, stop. Mistral OCR does that job for pennies and does it better. The honest caveats: handwriting is hit-or-miss, and the per-page math only works until you’re processing archives of millions of pages, at which point open weights start to pencil out. For everything else — research papers, invoices, filings, textbooks — this is the default I’d build on today.

More from the atlas