Mistral (Devstral, Codestral)
Use Mistral in your coding tools
Step-by-step setup for Mistral in 9 coding tools: Aider, Cline, Continue, GitHub Copilot, Goose, Kilo Code, OpenCode, Roo Code and Zed. Every step comes from official docs, read on .
Mistral setup guides
- Documented by AiderUse Mistral in AiderAider has no dedicated Mistral page, but it documents connecting to any OpenAI-compatible endpoint with OPENAI_API_BASE and OPENAI_API_KEY plus an openai/ model prefix. Mistral documents https://api.mistral.ai/v1 as its OpenAI-compatible base URL. Aider's Other LLMs page also lists MISTRAL_API_KEY among the env vars its LiteLLM backend supports.api.mistral.ai2 steps
- Documented by ClineUse Mistral in ClineCline has a built-in Mistral provider, listed on its Other 30+ Providers page with the shared setup flow: pick Mistral as the API Provider, paste a Mistral API key, and choose a model.api.mistral.ai3 steps
- Documented by ContinueUse Mistral in ContinueContinue has a native mistral provider in config.yaml for chat models. Its autocomplete guide recommends Codestral (codestral-latest) with the autocomplete role. A Codestral-specific key needs apiBase https://codestral.mistral.ai/v1; otherwise Continue defaults to https://api.mistral.ai/v1.api.mistral.ai3 steps
- Documented by GitHub CopilotUse Mistral in GitHub CopilotCopilot Chat in VS Code supports Bring Your Own Key through a Custom Endpoint provider that speaks Chat Completions. Mistral documents POST /v1/chat/completions at https://api.mistral.ai, so a Mistral model can be added in chatLanguageModels.json with vendor customendpoint and apiType chat-completions.api.mistral.ai4 steps
- Documented by GooseUse Mistral in Goosegoose lists Mistral AI as a built-in provider that needs MISTRAL_API_KEY. Configure it with goose configure > Configure Providers in the CLI, or Settings > Models > Configure providers in goose Desktop.6 steps
- Documented by Kilo CodeUse Mistral in Kilo CodeKilo Code documents a native mistral provider for the VS Code extension and the CLI. Add a standard Mistral Studio API key in Settings > Providers, or set MISTRAL_API_KEY and configure provider.mistral in kilo.json, then set the model as mistral/<model-id>.api.mistral.ai5 steps
- Documented by OpenCodeUse Mistral in OpenCodeOpenCode's provider docs have no dedicated Mistral section, but they document a Custom provider for any OpenAI-compatible API using @ai-sdk/openai-compatible. Mistral documents its OpenAI-compatible base URL, https://api.mistral.ai/v1. Combine the two: store the key with /connect > Other, then declare the provider and Mistral model ids in opencode.json.api.mistral.ai4 steps
- Documented by Roo CodeUse Mistral in Roo CodeRoo 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.api.mistral.ai6 steps
- Documented by ZedUse Mistral in ZedZed has a native Mistral provider for the Zed Agent: an API key in Agent Settings or MISTRAL_API_KEY, plus optional custom models under language_models.mistral with api_url https://api.mistral.ai/v1. Codestral can separately serve as Zed's Edit Prediction provider.api.mistral.ai4 steps
No verified Mistral guide yet for Claude Code, Codex CLI and Cursor. We only publish a pairing once official docs cover it.
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.