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.