Free tier for experimentation · Production pricing starting at €0.2/1M tokens
https://api.mistral.ai/v1 💡 Directly paste the address above as Base URL into any OpenAI-compatible client (NextChat, Cherry Studio, Immersive Translate, etc.).
mistral-small-latest codestral-latest open-mistral-nemo ministral-8b-latest Mistral AI, founded in Paris by former DeepMind and Meta AI researchers, is Europe's premier AI unicorn. Its open weights models—including Mistral 7B, Mixtral 8x7B, Codestral, and Ministral—are renowned worldwide for coding excellence, multilingual precision, and strict reasoning.
Mistral's official platform (La Plateforme) provides every registered user who verifies their email and mobile phone with an 'Experiment Plan'. It requires no credit card, supports standard OpenAI SDK calls, and uniquely enables CORS headers (Access-Control-Allow-Origin: *) for direct frontend web requests without backend proxies!
On October 7, 2026, Mistral updated its pricing structure and removed the '$10/mo in API credits' line from its public pricing page. The free tier now operates as an unmetered 'Experiment Free Mode' governed by personal Limits in the console, strictly rate-limited to ~1-2 RPM (~1 req/s).
Commercial flagships like mistral-large-4 are restricted to paid Pro/Team tiers. Attempting to call mistral-large-4 on a free key returns: 'This model is not available in your subscription tier'. Stick to mistral-small-latest, open-mistral-nemo, or codestral-latest.
Mistral API endpoints return access-control-allow-origin: * on preflight OPTIONS requests. You can fetch directly from client-side JavaScript or browser extensions without spinning up a Node.js/Python backend proxy.
Activating the free Experiment Plan requires mobile SMS verification (one account per phone number). Some international numbers may experience SMS delivery delays or carrier filtering.
Mistral's terms of service state that API requests made under the free Experiment plan may be used to train and refine future models. Avoid submitting confidential or enterprise-sensitive data on the free tier, or upgrade to a paid Pro tier.
Visit console.mistral.ai, register with your email address, and verify the confirmation link.
Go to Console ↗Follow the dashboard prompt to verify your mobile phone via SMS to activate the free Experiment Plan.
Go to Console ↗Navigate to 'API Keys', click 'Create new key', copy the token, and configure Base URL: https://api.mistral.ai/v1 with model mistral-small-latest or codestral-latest!
Go to Console ↗from openai import OpenAI
client = OpenAI(
api_key="your_api_key_here", # 填入申请的 Key
base_url="https://api.mistral.ai/v1"
)
response = client.chat.completions.create(
model="mistral-small-latest",
messages=[
[object Object]
]
)
print(response.choices[0].message.content)