Setup guide - Documented by Roo Code
Use Mistral in Roo Code
Roo Code has a native Mistral API provider. Select Mistral in the API Provider dropdown, paste the key, and pick a model. Codestral can use a separate Codestral Base Url, which defaults to codestral.mistral.ai.
Last verified 6 steps4 official sources
Steps
- Step 1.
Go to the Mistral Platform (console.mistral.ai) and create a La Plateforme API key and/or a Codestral API key.
- Step 2.
Click the gear icon in the Roo Code panel to open settings.
- Step 3.
Choose "Mistral" from the "API Provider" dropdown.
- Step 4.
Paste your Mistral API key into the "Mistral API Key" field if you're using a mistral model.
- Step 5.
Choose your desired model from the "Model" dropdown.
- Step 6.
For Codestral: select a Codestral model and enter your Codestral (codestral.mistral.ai) or La Plateforme (api.mistral.ai) API key. If you use a La Plateforme key, change the Codestral Base Url to:
Snippethttps://api.mistral.ai
Caveats
- Roo Code's page says it supports all models available through Mistral's API but does not list them. The ids here come from Mistral's Models Overview.
- Roo's page links to an old Mistral docs URL (getting-started/models/models_overview). The current list is at docs.mistral.ai/models.
- Mistral's current docs index has no page describing a separate codestral.mistral.ai endpoint or Codestral key. Kilo Code's docs (a Roo fork) say a standard Studio key works for Codestral at https://api.mistral.ai. Prefer the La Plateforme key plus https://api.mistral.ai.
- Devstral 2 (devstral-2512) was retired 2026-07-31 and replaced by mistral-medium-3-5.
More setup guides
Same tool, other providers
Related reading
- Mistral Large 4: Specs, Pricing, Benchmarks and Weights DateMistral Large 4 is a 1T-parameter multimodal MoE with 52B active, in public preview at $0.68/$2.09 per million tokens, with open weights due end of October.
- Mistral Shieldstral: A 3B Open-Weight Policy-Adaptive Moderation Model That Beats Models 7x Its SizeMistral Shieldstral is a 3B Apache 2.0 multimodal moderation model that takes your policy as a plain-language question at inference and runs on one 16GB GPU.
- Mistral Releases Robostral Navigate: An 8B Robotics Navigation ModelMistral Robostral Navigate is an 8B robotics model that navigates with only a camera and natural language commands. How it works and what the benchmarks mean.
- Leanstral 1.5: Mistral's Open Theorem-Proving Model Hits 100% on miniF2FLeanstral 1.5 is Mistral's open Apache-2.0 model for Lean 4 theorem proving. The benchmark claims, the HN pushback on its bug-finding pitch, and how to use it.
- Mistral OCR 4 and Unlimited OCR Make Document Parsing an Agent Runtime ChoiceMistral OCR 4 and Baidu's Unlimited OCR turn document parsing into a runtime choice for agents - cost per page, layout, confidence scores and self-hosting.
- Codex Custom Model Providers: GLM-5.3, Mistral and OllamaCodex only speaks the Responses API now. Tested config.toml blocks for GLM-5.3, Mistral Large 4 through a gateway, local Ollama and an internal proxy.
FAQ
How do I use Mistral in Roo Code?
Roo Code has a native Mistral API provider. Select Mistral in the API Provider dropdown, paste the key, and pick a model. Codestral can use a separate Codestral Base Url, which defaults to codestral.mistral.ai.
Which Mistral model ids work in Roo Code?
The official docs read for this guide list mistral-medium-3-5, mistral-medium-latest, mistral-small-2603, mistral-small-latest, codestral-2508 and codestral-latest. Requests go to https://api.mistral.ai.
Is this an official Mistral and Roo Code setup?
Roo Code documents this setup in its own docs. It was last checked against 4 official pages on October 17, 2026.
Sources
Last verified against 4 official pages.
- github.comhttps://github.com/RooCodeInc/Roo-Code-Docs/blob/main/docs/providers/mistral.md
- docs.roocode.comhttps://docs.roocode.com/providers/mistral
- docs.mistral.aihttps://docs.mistral.ai/models
- docs.mistral.aihttps://docs.mistral.ai/models/codestral-25-08
Newsletter
New models, set up the day they ship
One email per week. New model releases, the coding tools that support them and how to wire them up.