# Mistral AI

Mistral AI serves 12 models on LLM API: 11 text models and 1 embedding model, all from Mistral AI.

Model ID prefix: `mistral/` (for text and image requests) · 12 models · [Mistral AI privacy policy](https://legal.mistral.ai/terms/privacy-policy/)
Updated: 2026-10-30
Canonical: https://llmapi.ai/providers/mistral/

## Models and prices

Prices when Mistral AI serves the request.

### Text (11)

Prices per 1M tokens.

| Model | Model ID | Input | Output | Cache read | Context |
| --- | --- | --- | --- | --- | --- |
| [Mistral Large 4](https://llmapi.ai/models/mistral-large-4/) | `mistral/mistral-large-4` | $0.7 | $2.1 | $0.07 | 1M |
| [Mistral Large 3](https://llmapi.ai/models/mistralai-mistral-large-2512/) | `mistral/mistral-large-2512` | $0.5 | $1.5 | $0.05 | 262K |
| [Ministral 14B](https://llmapi.ai/models/mistralai-ministral-14b-2512/) | `mistral/ministral-14b-2512` | $0.2 | $0.2 | $0.02 | 262K |
| [Ministral 3B](https://llmapi.ai/models/mistralai-ministral-3b-2512/) | `mistral/ministral-3b-2512` | $0.1 | $0.1 | — | 131K |
| [Ministral 8B](https://llmapi.ai/models/mistralai-ministral-8b-2512/) | `mistral/ministral-8b-2512` | $0.15 | $0.15 | — | 262K |
| [Codestral](https://llmapi.ai/models/mistralai-codestral-2508/) | `mistral/codestral-2508` | $0.3 | $0.9 | — | 256K |
| [Mistral Large Latest](https://llmapi.ai/models/mistralai-mistral-large-latest/) | `mistral/mistral-large-latest` | $4 | $12 | — | 128K |
| [OCR-4-0](https://llmapi.ai/models/mistralai-mistral-ocr-4-0/) | `mistral/mistral-ocr-4-0` | $0.004 / page | — | — | — |
| [OCR 4.1](https://llmapi.ai/models/mistralai-mistral-ocr-4-1/) | `mistral/mistral-ocr-4-1` | $0.004 / page | — | — | — |
| [Devstral 2](https://llmapi.ai/models/mistralai-devstral-2512/) (deprecated) | `mistral/devstral-2512` | $0.4 | $2 | — | 262K |
| [Mistral Small 3.2](https://llmapi.ai/models/mistralai-mistral-small-2506/) (deprecated) | `mistral/mistral-small-2506` | $0.1 | $0.3 | — | 128K |

### Embeddings (1)

Price per 1M input tokens.

| Model | Model ID | Input | Dimensions | Context |
| --- | --- | --- | --- | --- |
| [Mistral Embed](https://llmapi.ai/models/mistralai-mistral-embed/) | `mistral-embed` | $0.1 | 1024 | 8K |

**Volume pricing.** At higher monthly volume, models on Mistral AI may cost less. Book a call and sales will quote a price for your usage. [Book a call with sales](https://meetings.hubspot.com/julia-andriienko/llmapi) or [Create an account first](https://app.llmapi.ai/signup).

## Send requests to Mistral AI

Put `mistral/` before a model ID and the request goes to Mistral AI. If Mistral AI’s uptime over the last 5 minutes is below 90%, it goes to another provider of the model, unless it sends `X-No-Fallback: true`. [Routing docs](https://docs.llmapi.ai/features/routing)

Example: Mistral Large 4, Chat Completions (`POST /v1/chat/completions`). Set LLMAPI_KEY to your LLM API key.

```python
import os

from openai import OpenAI

client = OpenAI(
    base_url="https://api.llmapi.ai/v1",
    api_key=os.environ["LLMAPI_KEY"],
)

response = client.chat.completions.create(
    model="mistral/mistral-large-4",
    messages=[{"role": "user", "content": "Hello"}],
)
print(response.choices[0].message.content)
```

Prices synced 2026-11-13.

Next step: [Get API key](https://app.llmapi.ai/signup)
