Getting an API Key
- Sign Up/Sign In: Go to the Mistral Platform. Create an account or sign in. You may need to go through a verification process.
- Create an API Key:
Supported Models
Cline supports the following Mistral models:Devstral (Code-Specialized)
devstral-2512(Default) - Latest Devstral with 256K context window, free tierlabs-devstral-small-2512- Small Devstral variant with 256K context, free tierdevstral-small-2505- Previous Devstral small release (131K context)devstral-medium-latest- Medium Devstral for more complex tasks (131K context)
Mistral Large & Medium
mistral-large-2512- Latest large model with 256K context (1.50 per 1M tokens)mistral-large-2411- Previous large model (128K context)mistral-medium-latest- Medium model balancing performance and cost (128K context)
Mistral Small & Ministral
mistral-small-latest- Small model with image support (128K context)mistral-small-2501- Dated small model release (32K context)ministral-14b-2512- 14B parameter model with 256K contextministral-3b-2410- Ultra-compact 3B model (128K context)ministral-8b-2410- Compact 8B model (128K context)
Pixtral (Vision)
pixtral-large-2411- Large vision model with image support (131K context)pixtral-12b-2409- Compact vision model (128K context)
Codestral & Open Models
codestral-2501- Code-specialized model with 256K contextopen-codestral-mamba- Open-source Mamba architecture (256K context)open-mistral-nemo-2407- Open-source Nemo model (128K context)
Configuration in Cline
- Open Cline Settings: Click the settings icon (⚙️) in the Cline panel.
- Select Provider: Choose “Mistral” from the “API Provider” dropdown.
- Enter API Key: Paste your Mistral API key into the “Mistral API Key” field if you’re using a standard
mistralmodel. If you intend to usecodestral-latest, see the “Using Codestral” section below. - Select Model: Choose your desired model from the “Model” dropdown.
Using Codestral
Codestral is a model specifically designed for code generation and interaction. For Codestral, you can use different endpoints (Default: codestral.mistral.ai). If using the La Plateforme API Key for Codestral, change the Codestral Base Url to:https://api.mistral.ai
To use Codestral with Cline:
- Select “Mistral” as the API Provider in Cline Settings.
- Select a Codestral Model (e.g.,
codestral-latest) from the “Model” dropdown. - Enter your Codestral API Key (from
codestral.mistral.ai) or your La Plateforme API Key (fromapi.mistral.ai) into the appropriate API key field in Cline.

