Tables + blocks
OCR extracts page text and layout regions. Block/word confidence assists review without guaranteeing error-free documents.
MODEL REFERENCE / MISTRAL AI
Mistral OCR 4.1 PDF and image extraction: $4 per 1,000 pages, tables, bounding boxes, block confidence, Python and API integration.
PRIMARY-SOURCE VERIFIED
Mistral AI does not publish a token context window for this service. Input modalities: document + image. Output: text. Pricing status: Official paid API.
CAPABILITY CONTRACT
OCR extracts page text and layout regions. Block/word confidence assists review without guaranteeing error-free documents.
Input modalities come from the cited official model documentation.
Output modality and output-limit claims remain separate so an undocumented token cap is not guessed.
PRICING STATUS
$0.004 per page.
OCR 4.1 is charged per processed document page, not per input/output token. SXF keeps the original $0.004 Standard rate in the catalog, with annotated-page and human-review scenarios explained below.
MISTRAL OCR 4.1 / DIRECT ANSWER
Mistral OCR 4.1 is Mistral AI's generally available, hosted Document AI optical character recognition API for turning PDFs and images into searchable text and structured document content. Its pinned model ID is mistral-ocr-4-1, available through POST /v1/ocr or client.ocr.process(). It handles tables, headings, formulas, images, layout regions and multilingual documents rather than acting as a general conversational model.
The defining OCR 4.1 features are paragraph-level bounding boxes, document block-type labels and page-, block- or word-level confidence scores. Standard OCR processing is published at $4 per 1,000 pages ($0.004/page); the OCR 4.1 model card separately lists $5 per 1,000 annotated pages ($0.005/page). Those are distinct published processing categories, not a flat fee per chat token.
OFFICIAL FEATURE CONTRACT
OCR accepts PDF and supported office/image files using the appropriate document_url or image_url input type. Source access and format limits still apply.
Each returned page can contain markdown, extracted tables, images, links, dimensions and optional structural blocks.
table_format="markdown" or "html" returns separate tables; the default inline behavior differs. Inspect the placeholder references.
Set include_blocks=True to receive page region labels and coordinates for paragraphs, headings, tables, equations and more.
confidence_scores_granularity selects scoring detail. Scores can prioritize human review but do not prove factual correctness.
Mistral describes OCR support across more than 40 languages. Evaluate scripts, fonts, handwriting and scan quality on your own corpus.
Mistral's official OCR processor guide documents the available request fields and response. No directly comparable LLM token context window, output-token limit or knowledge cutoff is published for this OCR service. The original SXF model catalog correctly leaves those values unspecified.
SXF ORIGINAL COST ANALYSIS
Mistral lists $4 per 1,000 standard OCR pages on its public price card and $5 per 1,000 annotated pages on the OCR 4.1 model card. For cost planning below, each line treats the selected page-processing category as a separate scenario—not as an automatic $4 + $5 charge. Confirm which tasks count as annotated pages and the effective invoice before combining request features. Check the current model card and pricing reference.
| Processed pages | Standard OCR, $0.004/page | Annotated page, $0.005/page | Illustrative difference |
|---|---|---|---|
| 25 | $0.10 | $0.125 | $0.025 |
| 250 | $1.00 | $1.25 | $0.25 |
| 1,000 | $4.00 | $5.00 | $1.00 |
| 10,000 | $40.00 | $50.00 | $10.00 |
| 100,000 | $400.00 | $500.00 | $100.00 |
SXF cost equation: (processed_pages × rate_per_page × (1 + reprocessing_fraction)) + (pages_reviewed × reviewer_minutes_per_page / 60 × hourly_review_rate). It distinguishes OCR processing spend from quality-control labor. Actual billed page units, optional Batch pricing, quotas, special enterprise terms, image uploads, cloud storage and other services may change the invoice. The page's existing verified Standard rate remains $0.004 per page; the separate annotated rate is editorial context and does not overwrite the catalog.
Estimate a real document pipeline rather than comparing only API list prices. No input values are uploaded or tracked; calculations run entirely in your browser.
1,000 pages, 5% reprocessing, 100 review pages at 2 min each and $30/hour.
SXF hypothetical scenario. Labor can dominate OCR cost, but the review fraction and time are input assumptions, not independently measured Mistral error rates. A lower-confidence page is not necessarily an incorrect page.
At the default 1,000-page scenario, Mistral's list rate would give $4.20 in illustrative OCR reprocessing charges but $100 in assumed verification labor. That is why purchasing decisions should compare cost per accepted document, not just per-page OCR fees. See SXF's verified pricing directory and the AI agent cost and operations guide for adjacent operating-cost frameworks.
VERSION-PINNED API QUICKSTART
Install the official mistralai Python SDK and configure MISTRAL_API_KEY on your server. For reproducibility, pin mistral-ocr-4-1 rather than relying on the mutable mistral-ocr-latest alias. The documented method is client.ocr.process() through the /v1/ocr service.
import os
from mistralai.client import Mistral
client = Mistral(api_key=os.environ["MISTRAL_API_KEY"])
response = client.ocr.process(
model="mistral-ocr-4-1",
document={
"type": "document_url",
"document_url": "https://arxiv.org/pdf/2201.04234"
},
table_format="html",
include_blocks=True,
confidence_scores_granularity="block"
)
for page in response.pages:
print(f"PAGE {page.index}")
print(page.markdown)
for block in (page.blocks or []):
print(block.type, block.content)
print(response.usage_info)
This example uses a public test PDF URL; it is not a benchmark run. For private files use Mistral's upload or permitted Base64 request paths instead of publishing a private PDF at a public URL. Never embed an API secret in client-side JavaScript. Verify MIME types, document permission and the actual response schema before automating downstream actions.
curl -X POST "https://api.mistral.ai/v1/ocr" \
-H "Authorization: Bearer $MISTRAL_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "mistral-ocr-4-1",
"document": {
"type": "document_url",
"document_url": "https://arxiv.org/pdf/2201.04234"
},
"include_blocks": true,
"confidence_scores_granularity": "block",
"table_format": "html"
}'
For complete request and upload details, consult Mistral's OCR quickstart and the OCR endpoint reference. In production, inspect each page's markdown, tables, images, blocks and usage_info independently—do not assume an OCR call creates a validated business record.
DOCUMENT STRUCTURE
OCR 4.1 can return a blocks array when include_blocks=True. Mistral documents coordinates top_left_x, top_left_y, bottom_right_x and bottom_right_y, the type label, and content. Available labels include text, title, list, table, image, equation, caption, code, references, aside_text, header, footer and signature.
| Requirement | Request setting | What the response actually proves |
|---|---|---|
| Paragraph and title coordinates | include_blocks=True | Predicted region locations; not guaranteed reading-order correctness |
| Tables as separate objects | table_format="html" or "markdown" | Structured table content; check row spans, columns and numerical values |
| Document header/footer | extract_header=True, extract_footer=True | Fields returned separately; confirm nothing meaningful was omitted |
| Page-level uncertainty | confidence_scores_granularity="page" | Aggregate scores only; no cell-by-cell factual guarantee |
| Block confidence | "block" with include_blocks=True | Block average/minimum content and block-type scores where defined |
| Word confidence | "word" | Word-level scores on pages/tables; different from block-score mode |
Confidence is not accuracy: a high score can still accompany an incorrect invoice amount, omitted negative sign or merged table cell. Conversely, some non-text regions can have null content confidence. Use human-reviewed thresholds calibrated on your own scanned documents, not a universal “above 90% = correct” rule.
Mistral's Markdown output may include placeholders such as  or [tbl-3.html](tbl-3.html). Resolve the accompanying images and tables arrays before indexing; otherwise retrieval may silently lose charts or tables. For document-search architecture, keep page ID, bounding box, original file ID and parsed content tied together. Related: SXF vector databases for RAG and RAG vs fine-tuning vs long-context design.
DOCUMENT AI VS BASIC OCR
Basic OCR transcribes a page and extracts document structure. Document annotations add schema-guided information extraction, for example returning an invoice number, due date, currency and supplier as validated application fields. Mistral's annotations guide distinguishes document annotations from box annotations (region-level interpretation such as charts).
Do not assume include_blocks=True automatically means the annotated-page price. The model card lists a separate annotated-page amount, but the actual billing basis for combinations of OCR and annotation requests must be checked against the API and account invoice. In a production workflow, validate all schema fields and currency/number formats; document OCR and document understanding are stages, not equivalent guarantees.
| Document task | Start with | Human validation focus |
|---|---|---|
| Search and archive PDFs | Basic Markdown plus page IDs | Missing text and broken paragraphs |
| Retrieve financial tables | OCR + separate table formatting | Totals, decimal points, row/column alignment |
| Map documents to a typed record | OCR + structured annotations | Required fields, false assumptions, missing values |
| Grounding and citations | OCR with blocks, boxes and provenance | Source location, reading order, page mapping |
VERSION CONTROL / 2026
Mistral released OCR 4.1 on July 16, 2026 and marked it generally available on August 31, 2026. The provider's September 29 changelog lists OCR 4.0 (mistral-ocr-4-0) as deprecated with a September 30 retirement date and recommends OCR 4.1. The alias mistral-ocr-latest points to OCR 4.1 as of this verification date, but aliases may change; pin mistral-ocr-4-1 for reproducible pipelines. Official version timeline.
| Question | OCR 4.0 | OCR 4.1 |
|---|---|---|
| Versioned model string | mistral-ocr-4-0 | mistral-ocr-4-1 |
| Provider lifecycle | Deprecated; retirement listed September 30 | GA Premier; current Document AI OCR service |
| Structural block extraction | Introduced with OCR 4.0 | Available, with block confidence scores |
| Confidence-granularity update | Page/word scoring already documented | Added block scoring granularity |
| Standard list price | $4/1,000 pages | $4/1,000 pages |
Upgrade checklist: change the pinned model ID, enable block extraction only if needed, request block confidence with confidence_scores_granularity="block", update parsers to tolerate missing or null scores, and regression-test reading order and table fidelity. Compare the same source documents; changing model version alone does not prove an improvement on your corpus.
PRACTICAL DOCUMENT PIPELINES
mistral-ocr-4-1, preserving page indices and handling failed or skipped pages explicitly.OCR extraction is a preprocessing step, not a substitute for provenance-aware retrieval. If OCR output is later sent to an AI agent, treat text recovered from third-party documents as untrusted content, not as system instructions. Apply authentication, authorization and the controls in the SXF prompt injection guide and AI agent security guide.
SXF ORIGINAL REPRODUCIBLE RESEARCH DESIGN
This is an original SXF proposed research method—not a completed Mistral OCR 4.1 benchmark. Build a consented or synthetic corpus of 24 documents, with six examples each of invoices/receipts, research papers with tables/equations, multilingual forms, and low-quality scanned pages. Use manually reviewed ground truth for exact text, critical field values, block types and, where possible, page-region coordinates.
| Group (6 documents) | Measure | Failure mode to log |
|---|---|---|
| Invoices and receipts | Critical-field exact match and number-value integrity | Wrong currency, subtotal, decimal separator or invoice ID |
| Research tables and formulas | Normalized character error rate and table-cell match | Swapped cells, merged columns and missing mathematical symbols |
| Multilingual forms | WER/CER by language, script and scan quality | Diacritic loss, name corruption or language mixing |
| Degraded scans | Missing regions, page/block confidence calibration | False high confidence or skipped text blocks |
Hold image resolution and preprocessing constant, include raw/clean/noisy conditions, pin model IDs and request flags, and keep reviewers blind to provider identity. Compare OCR 4.1 with a documented alternative using the same materials. Define acceptable error rates before testing, and track confidence versus actual errors instead of treating confidence as proof.
Reproduce SXF's scoring method: download the offline OCR/CER/critical-field scorer and the 12 synthetic JSONL examples. The examples are invented, contain no real client data, and are not Mistral API outputs or independent performance measurements. Replace the ground-truth/prediction strings with your own measured records to calculate meaningful scores.
For broader experiment design, see SXF model benchmarking standards and independent evaluation evidence.
DEVELOPER SEARCH QUESTIONS
Use mistral-ocr-4-1 via client.ocr.process() or POST /v1/ocr. The alias mistral-ocr-latest currently resolves to OCR 4.1, but it may change over time.
Mistral publishes $4 per 1,000 Standard OCR pages ($0.004/page) and separately lists $5 per 1,000 annotated pages ($0.005/page). Confirm your actual annotation and Batch billing eligibility.
Yes. Set table_format="markdown" or "html" to return separate table structures. Check row, column and value accuracy against the source.
Yes. With include_blocks=True, page blocks include structural labels, bounding box coordinates and extracted content in reading order.
Use confidence_scores_granularity with "page", "block" or "word". Block scores require include_blocks=True; scores guide review but are not accuracy guarantees.
No. Mistral presents OCR 4.1 as a generally available Premier hosted service. Do not conflate its Document AI API with Mistral's separately licensed open-weight language models.
OCR 4.1 adds block-granularity confidence scores. Mistral's changelog lists OCR 4.0 as deprecated, recommends OCR 4.1, and states the same Standard page price.
Yes, as the text-and-structure extraction stage. A reliable RAG system must additionally preserve provenance, validate tables, control user permissions and evaluate retrieval quality.
SOURCE RECORD AND LIMITATIONS
Verified against Mistral's official documentation on November 7, 2026. The existing SXF model catalog's October 6 baseline, Standard price and append-only history are preserved. This editorial layer adds provider-attributed features, derived per-page arithmetic, an interactive scenario estimator and a reproducible test protocol. SXF has not fabricated OCR 4.1 accuracy, throughput, measured page confidence, dataset results or paid invoices.
CAVEATS
Mistral documents OCR 4.1 as GA Premier and the latest OCR service in its Document AI stack.
The OCR processor accepts document and image inputs and returns extracted text plus document-structure metadata.
Standard OCR processing is normalized from $4 per 1,000 pages to $0.004 per page. Annotated-page pricing and batch pricing are outside this base Standard rate.
No token context window, max-output token cap, or knowledge cutoff is published for this OCR service, so those fields remain unknown.
EXPLORE
OFFICIAL SOURCES
WHAT CHANGED
No post-baseline factual changes recorded for OCR 4.1 since 2026-10-06.
VERIFIED CHANGE HISTORY
Baseline verified: context not published · Not published max output · $0.004 per page
Official evidence ↗Append-only SXF ledger · 1 verified event · chain head 5cb61a0bb057…