Skip to content

Capability · OCR

Turn documents into structured markdown.

Extract text and layout from scanned forms, faxes and PDFs — page-billed, PHI-eligible via Azure, and resident in Switzerland, the EU or the US.

POST /v1/ocr

What you get

Built for regulated workloads

OCR is the one endpoint that is not OpenAI-shaped — OpenAI has no OCR equivalent — so /v1/ocr uses the Mistral-native request (a document plus optional page range and table format) and returns per-page markdown. It is available in CH, EU and US; elsewhere it returns no_route.

01 · Output

Per-page markdown

Each page comes back as clean markdown with structure preserved, plus a page count and the raw provider payload — ready to chunk, index or feed into a chat call.

02 · PHI

PHI on Azure

PHI OCR runs on Azure Document Intelligence (CH / EU / US) under the Microsoft DPA and HIPAA BAA. In the US, OCR and speech are the only PHI modalities — US chat, vision and embeddings PHI are not available. EU general OCR can also use Mistral OCR.

03 · Layout

Tables & structure

Request a table format to keep tabular data intact, or a page range to OCR only part of a large document.

04 · Residency

Resident extraction

Documents are processed in the region you pin and never persisted by the proxy. Unpinned OCR resolves to Microsoft Azure in CH, EU and US.

Availability & pricing

Where it runs, what it costs

Every route is pinned to a region, PHI stays on resident hosts, and the PHI gate is enforced per call. Prices mirror the live /v1/pricing rate card.

RegionProviderModelTierPrice
CHAzure Doc IntelligenceOCR · prebuilt-read (default)PHI$2.50 / 1,000 pages
EUMistral OCROCRGeneral$6.67 / 1,000 pages
EUAzure Doc IntelligenceOCR · prebuilt-read (default)PHI$2.50 / 1,000 pages
USAzure Doc IntelligenceOCR · prebuilt-read (default)PHI$2.50 / 1,000 pages
CH / EU / USAzure Doc Intelligencelayout · tables + sectionsPHI$16.67 / 1,000 pages
Other—OCRNo routeCH/EU/US only

Billed per page (Mistral OCR with annotations is priced higher). Mistral OCR carries general traffic only; PHI OCR is Azure.

Try it

A real call, end to end

OCR a scanned referral in Switzerland; get markdown back, page by page.

Residency & coverage

  • CH OCR → Azure Document Intelligence (Switzerland), PHI-eligible.
  • EU OCR → Microsoft Azure for general and PHI traffic; Mistral OCR (general only) is pinnable.
  • US OCR → Azure, PHI-eligible.
  • Every other region → no_route. OCR resolves in CH, EU and US only.
curl
curl https://cloudsitus.com/api/v1/ocr \
  -H "Authorization: Bearer $PHI_API_KEY" \
  -H "X-Region: CH" \
  -H "X-PHI: true" \
  -H "Content-Type: application/json" \
  -d '{ "document": "data:application/pdf;base64,JVBER..." }'
response
x-phi-routed: azure-docintel-ocr/CH/phi
x-phi-tier: phi
{ "pages": [{ "index": 0, "markdown": "# Referral..." }],
  "pageCount": 3 }
Why is OCR not OpenAI-compatible?
OpenAI has no OCR endpoint, so there is no shape to match. /v1/ocr uses the Mistral-native request and returns per-page markdown — the closest thing to a standard in the OCR space.
Which provider handles PHI documents?
Azure Document Intelligence, under the Microsoft DPA and HIPAA BAA, in CH, EU and US. Mistral OCR is general-traffic only (its DPA does not cover special-category health data).

Ready when you are

Put document ocr in production — without giving up your data.

Spin up a key in minutes. The residency and PHI posture above arrives unchanged.

Prepaid credits from $10 · No subscription · No data retained