Public beta. Coverage is source-backed and intentionally scoped. Rankings are metadata views, not universal quality claims. Read the data policy

Mistral — quickstart

European-data-residency friendly; competitive on code tasks via Codestral/Devstral; strong multilingual. Pick when you need EU hosting, code-specialist models, or want a non-US alternative in a portfolio.

Recommended starting model Mistral Large 2512 mistral-large-latest

Get a key

  1. Create an API key at console.mistral.ai
  2. Set it as `MISTRAL_API_KEY` env var

Make a request

Three equivalent ways to call the recommended model. Pick the one that matches your stack.

curl
curl https://api.mistral.ai/v1/chat/completions \
  -H "Authorization: Bearer $MISTRAL_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "mistral-large-latest",
    "messages": [
      {"role": "user", "content": "Summarize the last week of AI model releases."}
    ]
  }'
python pip install mistralai
from mistralai import Mistral

client = Mistral(api_key=__import__("os").environ["MISTRAL_API_KEY"])
res = client.chat.complete(
    model="mistral-large-latest",
    messages=[{"role": "user", "content": "Summarize the last week of AI model releases."}],
)
print(res.choices[0].message.content)
node npm install @mistralai/mistralai
import { Mistral } from "@mistralai/mistralai";

const client = new Mistral({ apiKey: process.env.MISTRAL_API_KEY });
const res = await client.chat.complete({
  model: "mistral-large-latest",
  messages: [{ role: "user", content: "Summarize the last week of AI model releases." }],
});
console.log(res.choices[0].message.content);

Pricing

Mistral pricing sits between Anthropic and the Llama-via-Together tier. Codestral undercuts most code-specialized closed models.

Alternatives in this lineup

Gotchas