Learn how to configure and use Mistral AI models, including Codestral, with Cline. Covers API key setup and model selection.
Cline supports accessing models through the Mistral AI API, including both standard Mistral models and the code-specialized Codestral model.Website:https://mistral.ai/
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 mistral model. If you intend to use codestral-latest, see the “Using Codestral” section below.
Select Model: Choose your desired model from the “Model” dropdown.
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.aiTo 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 (from api.mistral.ai) into the appropriate API key field in Cline.