Mistral OCR, developed by Mistral AI, is an advanced Optical Character Recognition (OCR) API designed for superior document understanding. It processes PDFs, images, and scanned documents, extracting text, tables, equations, and images with high accuracy while preserving document structure.
Mistral OCR leverages a transformer-based architecture with specialized attention mechanisms to understand document context and layout. It supports multimodal inputs (PDFs, images) and outputs structured formats like Markdown and JSON, optimized for integration with Retrieval-Augmented Generation (RAG) systems.

Mistral OCR redefines document processing by combining AI-driven text extraction with deep layout understanding, supporting thousands of languages and complex document elements like LaTeX, tables, and images. It outputs structured data for seamless integration into AI workflows.
Achieves 94.89% overall accuracy, outperforming competitors in extracting text from scanned documents, handwritten notes, and multilingual content, ensuring reliable data for downstream applications.
Processes PDFs and images, recognizing interleaved images, tables, charts, and mathematical equations, preserving their context and relationships in structured Markdown or JSON outputs.
Supports thousands of languages with 99.02% fuzzy match accuracy, making it ideal for global organizations processing diverse document sets, from Hindi to Chinese.
Retains document hierarchy (headers, paragraphs, lists, tables) in outputs, enabling AI-ready formats for RAG systems, search indexing, and automation workflows.
Allows users to query specific document content or extract structured data using AI-driven prompts, enhancing precision in information retrieval and analysis.
Handles up to 2000 pages per minute, optimized for large-scale document repositories, reducing processing time for enterprises and research institutions.
Offers on-premises deployment for organizations with strict security needs, ensuring sensitive data remains within private infrastructure.
Mistral OCR excels in document understanding, surpassing traditional and AI-based OCR solutions:
Accessible via AI/ML API. Supports Python, JavaScript, and cURL, with structured outputs in JSON/Markdown. Documentation available here.
Measured on the AI/ML API gateway across live traffic. Figures are medians unless stated. Last updated 2026-10-12.
import requests headers = {"Authorization": "Bearer " + AIMLAPI_KEY} res = requests.post( "https://api.aimlapi.com/v1/ocr", headers=headers, json={ "model": "mistral/mistral-ocr-latest", "document": "https://example.com/invoice.pdf" }, ).json() print(res)
const res = await fetch("https://api.aimlapi.com/v1/ocr", { method: "POST", headers: { Authorization: `Bearer ${AIMLAPI_KEY}`, "Content-Type": "application/json", }, body: JSON.stringify({ model: "mistral/mistral-ocr-latest", document: "https://example.com/invoice.pdf", }), }).then((r) => r.json()); console.log(res);
curl -s https://api.aimlapi.com/v1/ocr \ -H "Authorization: Bearer $AIMLAPI_KEY" \ -H "Content-Type: application/json" \ -d '{ "model": "mistral/mistral-ocr-latest", "document": "https://example.com/invoice.pdf" }'
OpenAI-compatible — swap the base URL and it works with your existing SDK.
| Type | Price |
|---|---|
| Input | |
| Output | |
| Model | Input | Output | Context | Best for |
|---|---|---|---|---|
Mistral OCR Latest This page | Document text extraction | |||
| Document text extraction | ||||
| Document text extraction | ||||
| Document text extraction | ||||
| Document text extraction |
Mistral OCR Latest takes document, image as input and returns text.
Mistral OCR Latest became available on December 16, 2025.
Mistral OCR Latest is priced at $0.001 / page.
Mistral OCR Latest is billed per generation — a fixed charge per output rather than by prompt length.
Mistral OCR Latest was built by Mistral AI.
Send a request to v1/ocr with mistral/mistral-ocr-latest as the model id.
Yes. Mistral OCR Latest is served through AI/ML API, so the same key and endpoint format used for other models applies.
The model id is mistral/mistral-ocr-latest.