Spiral gives your agent every tool with one account. Browse the tools →

Instinct · DataReleased 2025-12-18

How to Use Mistral document OCR in Instinct

Mistral document OCR extracts text, tables, and embedded images from PDFs and images, with optional structured JSON annotations. Use it to turn reports and scanned documents into content an agent can search, compare, or analyze.

Prompts to try with Mistral document OCR in Instinct

Copy an example into Instinct, or ask in your own words.

Each quarter, check for a new Apple earnings report PDF and use Mistral document OCR to extract its financial tables for comparison with the previous report.

Mistral document OCRInstinct
Try asking
  • Each month, check for a new NASA Inspector General semiannual report PDF and use Mistral document OCR to extract its text for a digest of newly reported findings.

  • Each year, check for a new Microsoft annual report PDF and use Mistral document OCR to extract its text and identify changes in the risk factors section.

  • Each month, check for new Wikimedia Foundation financial report PDFs and use Mistral document OCR to extract their tables into a running financial comparison.

  • Each week, check for a revised PDF of Mistral 7B at https://arxiv.org/pdf/2310.06825 and use Mistral document OCR to extract changed text and tables when a revision appears.

How to set up Mistral document OCR in Instinct

Pick the way that suits you. Each takes about two minutes.

Use the Spiral skill

  1. Send Instinct this message

    Your agent reads Spiral's skill and sets itself up.

    set up https://spiral.ai/SKILL.md
  2. Sign in or paste a key

    Approve Spiral in the browser, or give the agent a key from the console.

Use Spiral's MCP server

  1. Create an API key

    In the console, open API keys and create a key for Instinct. Copy it.

  2. Send Instinct this message

    Instinct reads Spiral's skill and asks for your API key.

    set up https://spiral.ai/SKILL.md
  3. Give Instinct the key

    When Instinct asks for the key, add it where Instinct keeps secrets, never in the chat itself.

Use the Spiral CLI

  1. Install and sign in

    Installs the Spiral CLI, signs you in and adds its skill to your coding agents.

    npx -y spiral-cli@latest init

Call the Spiral API

  1. Create an API key

    In the console, under API keys.

  2. Run Mistral document OCR

    One request; the result comes back by polling or a webhook.

    curl https://api.spiral.ai/v1/runs \
      -H "Authorization: Bearer $SPIRAL_API_KEY" \
      -H "Content-Type: application/json" \
      -H "Idempotency-Key: $(uuidgen)" \
      -d '{
        "provider": "mistral",
        "model": "mistral-ocr-3",
        "input": {
          "document": {
            "document_url": "<document_url>"
          }
        }
      }'

Then paste one of the prompts above: Instinct finds Mistral document OCR on Spiral, shows the price and runs it.

Mistral document OCR providers and prices

Spiral runs Mistral document OCR through Mistral. Open a card for today's price, with every fee included.

MistralData
Mistral OCR 3
mistral-ocr-3

Settings you can ask for

Mistral document OCR works from your document annotation prompt. Ask Instinct for any of these in your prompt.

SettingAllowed valuesDefaultDescription
Image limita whole number

Max images to extract

Table formatmarkdown or html
Extract footeron or offoff

Extract the page footer into the response's footer field and remove it from the markdown content

Extract headeron or offoff

Extract the page header into the response's header field and remove it from the markdown content

Image min sizea whole number

Minimum height and width of image to extract

Include blockson or offon

Return paragraph-level bounding boxes for all content blocks in the response

Include image base64on or off

Include image URLs in response

Confidence scores granularityword, page, or block

Granularity for confidence scores: 'page' (aggregate only), 'word' (per-word scores), or 'block' (per-block scores). Defaults to None (no confidence scores) to keep response payload small.

Every API field of Mistral OCR 3 is on its tool page: open its card above.

What can you do with Mistral document OCR in Instinct?

Maintain a searchable collection as new public report PDFs appear. A scheduled agent can extract each new document and compare its text or tables with previously processed editions.

Make annual reports searchable

Extract report text into Markdown for a company research index, then use it to find business segments, risks, and accounting notes.

Recover financial tables

Extract tables from public company reports for spreadsheet analysis. Preserve merged headers so year labels stay associated with the right figures.

Prepare research papers for analysis

Turn paper PDFs into extracted text and images that an agent can use to summarize methods, compare results, and inspect figures.

Compare public document revisions

Extract two editions of a government report or business publication, then compare the text and tables to identify changes.

Build a report metadata catalog

Use structured annotations to collect document titles, reporting periods, and summaries in a consistent JSON structure. Process long reports in sections of up to eight pages.

Describe figures for document search

Annotate extracted charts and figures with descriptions that help users find the relevant visual inside a collection of public reports.

Questions about Mistral document OCR in Instinct

Can Instinct use Mistral document OCR?

Yes. Add Spiral to Instinct as an MCP server, and Instinct can find and run Mistral document OCR like any built-in tool.

How much does Mistral document OCR cost in Instinct?

$0.0026 per page ($0.0039 with document or bounding-box annotations). You pay from your Spiral balance as you go, with no subscription, and a failed run is not charged. Your Instinct plan is separate.

Do I need a Mistral account to use Mistral document OCR in Instinct?

You need no Mistral account. Instinct uses one Spiral API key for every tool, and Spiral runs Mistral document OCR on its own Mistral account.

How long does it take to set up Mistral document OCR in Instinct?

About two minutes: create an API key, then send Instinct this message, then give Instinct the key.

Does Instinct wait while Mistral document OCR runs?

Mistral document OCR runs in the background. Instinct starts the run, checks on it and gives you the json when it's ready.

Where does the extracted information come from, and how current is it?

Mistral extracts content from the PDF or image supplied for processing. Its information reflects that document, so processing an older annual report gives you that report's contents.

Can Mistral preserve complex tables?

OCR 3 supports reconstructed tables with merged cells, multi-row blocks, and hierarchical column headers. HTML output can represent cells spanning multiple rows or columns.

How much of a document can structured annotations cover?

Mistral's cookbook documents an eight-page limit for document annotations and recommends splitting longer documents. The annotation stage receives OCR text plus the first eight extracted image bounding boxes.

Does the reported 74% benchmark mean 74% transcription accuracy?

No. Mistral reports a 74% overall win rate against OCR 2 across forms, scans, complex tables, and handwriting; that measures comparative wins rather than the percentage of characters transcribed correctly.

Does OCR 3 return paragraph bounding boxes?

Paragraph-level block extraction requires OCR 4 or newer. Mistral says older models accept the option but return an empty array, so OCR 3 should not be used when paragraph coordinates are required.

Get started

Start using Mistral document OCR in Instinct

One Spiral account for every tool your agent needs. No subscription; you pay per run.

Paste this into Instinct:

Set up Instinct

set up https://spiral.ai/SKILL.md
Are you an AI agent? See setup options