Skip to main content
Watch: Anthropic Just Hit the Brakes on Its Next AI Model

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 steps6 official sources

Steps

  1. Step 1.

    Go to the Mistral Platform (console.mistral.ai) and create a La Plateforme API key and/or a Codestral API key.

  2. Step 2.

    Click the gear icon in the Roo Code panel to open settings.

  3. Step 3.

    Choose "Mistral" from the "API Provider" dropdown.

  4. Step 4.

    Paste your Mistral API key into the "Mistral API Key" field if you're using a mistral model.

  5. Step 5.

    Choose your desired model from the "Model" dropdown.

  6. 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:

    Snippet
    https://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), which now redirects to docs.mistral.ai/models.
  • Mistral's Codestral model page lists only the standard /v1/chat/completions and /v1/fim/completions endpoints and does not mention codestral.mistral.ai. 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. Mistral lists Mistral Medium 3.5 as its alternative, and Medium 3.5 is itself now deprecated in favour of Mistral Large 4.
  • Mistral Medium 3.5 (mistral-medium-3-5, mistral-medium-latest) is deprecated (deprecation date 10/31/2026 on its model page). Mistral says to use Mistral Large 4 (mistral-large-4) for new integrations.

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-large-4, mistral-large-4-0, 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 6 official pages on November 8, 2026.

Sources

Last verified against 6 official pages.

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.