Mistral Le Chat API key setup
Mistral's consumer chat (chat.mistral.ai). Free / Pro / Team tiers with multipliers on messages, search, libraries, and image gen. Mistral Vibe (agentic coding) on all tiers. La Plateforme API is a separate pay-per-token product.
Get your key
- Open the Mistral Le Chat API keys page: console.mistral.ai/api-keys
- Create an account and generate an API key.
- Paste it into the Dracon BYOK provider keys, stored encrypted (AES-256-GCM), used browser-direct, works in every Dracon tool.
Use your key in every tab
Two free extensions take the key you just set up. Both read the page you are on and use your own provider key: free, no account, nothing stored on a server we run.
AI Auto Form Filler
Complete a web form from a short description, using a model you bring yourself.
All extensions · last checked 2026-10-22.
Get the key and test it
- Open the Mistral Le Chat API keys page: console.mistral.ai/api-keys Create a key and copy the secret straight away.
- Point your client at this provider's base URL:
https://api.mistral.ai/v1It speaks the OpenAI-compatible shape, so an OpenAI SDK client works against it with no adapter: only the base URL and the key change. - Prove the endpoint answers before you trust it. Send one call
with no
Authorizationheader: a live endpoint answers401 Unauthorized, because it is waiting for a bearer key. The wording of that error differs by provider (some sayinvalid_api_key, othersincorrect_api_keyorToken is invalid), so read the 401 as the signal, not the error text. - Paste the key into the Dracon BYOK provider keys ; stored encrypted, used browser-direct, no relay.
- Compare other provider plans when this subscription does not match your usage or budget.
Test the key
Both examples read the key from the MISTRAL_API_KEY environment
variable, so the key stays out of the command line.
export MISTRAL_API_KEY="<YOUR_API_KEY>"
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":"hi"}]}' import os
from openai import OpenAI
# export MISTRAL_API_KEY="<YOUR_API_KEY>" first
client = OpenAI(
api_key=os.environ["MISTRAL_API_KEY"],
base_url="https://api.mistral.ai/v1",
)
resp = client.chat.completions.create(
model="mistral-large-latest",
messages=[{"role": "user", "content": "hi"}],
)
print(resp.choices[0].message.content)Free tier
Yes. Checked 2026-10-26 on the Mistral pricing page: consumer and Le Chat plans are subscriptions billed per month, and there is NO new-account credit, promo code or signup bonus advertised. no credit card required
Rate limits: Le Chat (consumer): messages, web searches, libraries, and image generation scale by tier (Free = base; Pro = up to 6x base messages, 5x base web searches, 15GB libraries, 40x base image generation; Team = Pro per user + admin + domain verification). La Plateforme (API): pay-per-token, separate from these tiers.
Paid plans compared
Every tier Mistral Le Chat publishes, with the price and the limit as the vendor states them, last checked 2026-10-27. Confirm with the provider before you buy. You pay them directly, no Dracon markup.
| Plan | Price | Usage limit | What you get |
|---|---|---|---|
| Pro | $14.99/mo | Full access to Le Chat for all-day coding and long-running tasks; More messages, web searches and faster responses; All-day coding in the CLI, IDE, or on web; $25.5/mo in API credits included; Student price $5.99/mo | not published |
| Mistral Team | $24.99/mo | Secure, collaborative workspace for teams building with AI; Up to 30 GB storage per user; Domain name verification and data export | not published |
Official plan source: mistral.ai/pricing/
Connection details
- Base URL
https://api.mistral.ai/v1- API shape
- OpenAI-compatible
- Env var
MISTRAL_API_KEY- Models
- mistral-large-latest, mistral-medium-latest, mistral-small-latest
- Model lineup
- Mistral (Large family), Mistral (Medium family), Mistral (Small family), Mistral Vibe (agentic coding)
Our verdicts on this kind of provider
Independent comparisons we keep current as pricing and free tiers shift. A guide is setup; a verdict is whether it's worth setting up.