Mistral AI in open-source AI tools: European models, open weights and API pricing in 2026
Who Mistral is
Mistral AI was founded in 2023 by former researchers from Google DeepMind and Meta, and quickly became Europe's best-known model maker. It releases a mix of open-weight models under Apache 2.0 and commercial models available through its API, La Plateforme, and through cloud marketplaces such as Azure, AWS Bedrock and Google Cloud. Its product line covers general chat (Large, Medium, Small), small edge models (Ministral), coding (Codestral and Devstral), document OCR, and embeddings.
Which directory projects use it
| Project | How it connects |
|---|---|
| LiteLLM | mistral/ provider prefix with cost tracking |
| LibreChat | Custom endpoint with Mistral's base URL |
| LobeChat | Built-in Mistral provider |
| Open WebUI | OpenAI-compatible connection to https://api.mistral.ai/v1 |
Mistral's API follows the OpenAI chat format closely, so most apps that accept a custom OpenAI endpoint work with it.
Models and prices
| Model | Status | Input per million | Cached input | Output per million |
|---|---|---|---|---|
| Mistral Large 3 | Generally available, Apache 2.0 | $0.50 | $0.05 | $1.50 |
| Mistral Large 4 | Public preview from October 6, 2026 | $1.36 | $0.14 | $4.18 |
Mistral Large 3 launched on December 2, 2025, as an open-weight mixture-of-experts model. Large 4 is in preview, which means behavior and pricing can still change; use Large 3 for production until Mistral announces general availability. Smaller models such as Mistral Small and the Ministral family cost a fraction of these rates and suit classification, extraction and short chat.
For comparison, Large 3 costs a quarter of GPT-6.1 Sol's input price and less than a sixth of its output price, and about an eighth of Claude Opus 5.5's input price. It is not as strong as those flagships on the hardest reasoning tasks, but it handles most business chat, summarization and drafting well, and it reads and writes French, German, Spanish and Italian especially well.
What a month costs
| Use | Monthly tokens | Large 3 cost |
|---|---|---|
| One heavy user | 3M in, 0.5M out | About $2.25 |
| Team of 20 | 40M in, 10M out | About $35 |
| Document pipeline | 200M in, 20M out | About $130 |
EU data residency
For many buyers this is the deciding factor. Mistral processes API data in the EU by default, and its terms are written under French law. That shortens privacy reviews for companies that must keep personal data in the EU, such as public bodies, banks and health providers. Combined with Apache 2.0 weights, it also gives a clear exit: if a regulator or customer later demands on-premise processing, the same model can be deployed on your own GPUs without changing prompts.
Running Mistral models yourself
| Model family | Size class | Where it runs |
|---|---|---|
| Ministral | Small | Laptops and phones through Ollama or LM Studio |
| Mistral Small | Medium | 24 GB GPU or 32 GB+ Mac at 4-bit |
| Devstral | Medium | Coding agents on a single strong GPU |
| Mistral Large 3 | Very large MoE | Multi-GPU servers with vLLM or SGLang |
ollama pull mistral-small gets a capable local model in minutes. For Large 3, look at hosted options or plan for a multi-GPU node; the total parameter count is large even though only part of the model is active per token.
Setting it up
- Create a key at console.mistral.ai and set a spending limit.
- In LibreChat, add a custom endpoint with
baseURL: "https://api.mistral.ai/v1"andfetch: trueso new models appear automatically. - In LiteLLM, add
model: mistral/mistral-large-latestor pin a dated version such asmistral-large-2512. - Prefer dated model names in production. "Latest" aliases move to new models without warning.
Mistral Vibe for teams
If your team wants a ready-made chat app rather than self-hosting one, Mistral Vibe offers Pro at $14.99 a month with team and enterprise plans above it, including connectors and agents. Self-hosting LibreChat or Open WebUI against the API costs less per user at scale and keeps conversations on your servers, but someone has to run it. See Claude alternatives for how Vibe compares with other assistants.
Coding models
Codestral and Devstral are Mistral's coding models. Codestral targets fill-in-the-middle code completion and is supported by editor tools such as Continue and Tabby. Devstral targets agentic coding, where the model edits files and runs commands, and is used with open agents such as OpenHands. Both come in sizes that run on a single GPU, which makes them a common choice for companies that want a private code assistant.
OCR and document processing
Mistral OCR reads scanned PDFs and images and returns structured Markdown with tables, headings and images preserved. Self-hosted document chat tools use it as a preprocessing step: run each upload through OCR, split the Markdown into chunks, embed them with Mistral's embedding model or another, and store them in a vector database such as Qdrant. It is billed per page, which makes cost easy to predict for large archives. For invoices, contracts and forms, the structured output saves the cleanup work that plain text extraction leaves behind.
Function calling and agents
Mistral's API supports function calling, JSON mode and structured outputs in the same shape as OpenAI's, so agent frameworks that work with GPT models usually work with Mistral after changing the model name. Mistral also offers an Agents API with built-in connectors for web search, code execution and document libraries. In self-hosted platforms such as Dify and Langflow, Mistral models can drive agent nodes directly. Test tool calling with your own tools before launch, since smaller Mistral models are less reliable at choosing the right tool than Large 3.
Embeddings
Mistral Embed turns text into vectors for search and retrieval, and Codestral Embed does the same for code. Both are billed per token at low rates and work with the vector stores that self-hosted apps use.
Limitations
- Preview churn. Preview models can change; pin GA versions.
- Smaller app support than OpenAI. A few niche tools support only OpenAI and Anthropic natively; use LiteLLM or the OpenAI-compatible endpoint.
- Top-end reasoning. For the hardest analysis or agentic coding, many teams still route to Claude or GPT and use Mistral for volume.
Related: OpenAI API stack, Groq stack, Ollama stack, LiteLLM stack, Stack index.
Frequently asked questions
Why do European teams choose Mistral?
Mistral is headquartered in France and processes API data in the EU by default, which simplifies GDPR reviews and data residency rules. Its open-weight models can also be deployed on EU or on-premise infrastructure with no data leaving the company.
Is Mistral Large 3 open source?
Its weights are released under the Apache 2.0 license, which allows commercial use, modification and redistribution. The training data and code are not published, so it is usually described as open-weight rather than fully open source.
How much does the Mistral API cost?
Mistral Large 3 costs $0.50 per million input tokens, $1.50 per million output tokens, and $0.05 for cached input. The Large 4 preview costs $1.36 input and $4.18 output. Smaller models such as Mistral Small and Ministral cost less.
Can I run Mistral models locally?
Smaller Mistral models run well on Ollama, LM Studio and Jan on a laptop. Mistral Large 3 is a large mixture-of-experts model and needs multiple data-center GPUs, so most teams use it through the API or a hosted provider.
What is the difference between Mistral Vibe and the Mistral API?
Mistral Vibe, formerly Le Chat, is the consumer and business chat app with its own subscriptions. The API on La Plateforme is billed per token for developers who connect Mistral models to their own apps, including self-hosted chat tools.
Which Mistral model should a self-hosted chat app use by default?
Mistral Large 3 is the sensible default for general chat at its low price. Use a small model such as Mistral Small or Ministral for classification and quick replies, Codestral for code completion, and test Large 4 in preview before switching production traffic to it.
Is Mistral available on AWS and Azure?
Yes. Mistral models are sold through Azure AI Foundry, Amazon Bedrock and Google Cloud, which lets companies buy through an existing cloud contract. Model availability and prices on each cloud can differ from La Plateforme, so compare before choosing.