|
1 | 1 | --- |
2 | 2 | title: "Mistral" |
3 | | -description: "Learn how to configure and use Mistral AI models, including Codestral, with CodinIT. Covers API key setup and model selection." |
| 3 | +description: "Configure Mistral AI models including Codestral for code generation with CodinIT." |
4 | 4 | --- |
5 | 5 |
|
6 | | -CodinIT supports accessing models through the Mistral AI API, including both standard Mistral models and the code-specialized Codestral model. |
7 | | - |
8 | 6 | **Website:** [https://mistral.ai/](https://mistral.ai/) |
9 | 7 |
|
10 | | -### Getting an API Key |
11 | | - |
12 | | -1. **Sign Up/Sign In:** Go to the [Mistral Platform](https://console.mistral.ai/). Create an account or sign in. You may need to go through a verification process. |
13 | | -2. **Create an API Key:** |
14 | | - - [La Plateforme API Key](https://console.mistral.ai/api-keys/) and/or |
15 | | - - [Codestral API Key](https://console.mistral.ai/codestral) |
| 8 | +## Getting an API Key |
16 | 9 |
|
17 | | -### Supported Models |
| 10 | +1. Go to [Mistral Console](https://console.mistral.ai/) and sign in |
| 11 | +2. Create API keys: |
| 12 | + - [La Plateforme API Key](https://console.mistral.ai/api-keys/) for standard models |
| 13 | + - [Codestral API Key](https://console.mistral.ai/codestral) for Codestral models |
| 14 | +3. Copy the key immediately |
18 | 15 |
|
19 | | -CodinIT supports the following Mistral models: |
| 16 | +## Configuration |
20 | 17 |
|
21 | | -- pixtral-large-2411 |
22 | | -- ministral-3b-2410 |
23 | | -- ministral-8b-2410 |
24 | | -- mistral-small-latest |
25 | | -- mistral-medium-latest |
26 | | -- mistral-small-2501 |
27 | | -- pixtral-12b-2409 |
28 | | -- open-mistral-nemo-2407 |
29 | | -- open-codestral-mamba |
30 | | -- codestral-2501 |
31 | | -- devstral-small-2505 |
| 18 | +1. Click the settings icon (⚙️) in CodinIT |
| 19 | +2. Select "Mistral" as the API Provider |
| 20 | +3. Paste your API key |
| 21 | +4. Choose your model |
32 | 22 |
|
33 | | -**Note:** Model availability and specifications may change. |
34 | | -Refer to the [Mistral AI documentation](https://docs.mistral.ai/api/) and [Mistral Model Overview](https://docs.mistral.ai/getting-started/models/models_overview/) for the most current information. |
| 23 | +## Supported Models |
35 | 24 |
|
36 | | -### Configuration in CodinIT |
| 25 | +- `pixtral-large-2411` |
| 26 | +- `mistral-small-2501` |
| 27 | +- `ministral-8b-2410` |
| 28 | +- `codestral-2501` (Code specialized) |
| 29 | +- `devstral-small-2505` (Code specialized) |
| 30 | +- `open-codestral-mamba` |
37 | 31 |
|
38 | | -1. **Open CodinIT Settings:** Click the settings icon (⚙️) in the CodinIT panel. |
39 | | -2. **Select Provider:** Choose "Mistral" from the "API Provider" dropdown. |
40 | | -3. **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. |
41 | | -4. **Select Model:** Choose your desired model from the "Model" dropdown. |
| 32 | +See [Mistral Models](https://docs.mistral.ai/getting-started/models/models_overview/) for full details. |
42 | 33 |
|
43 | | -### Using Codestral |
| 34 | +## Using Codestral |
44 | 35 |
|
45 | | -[Codestral](https://docs.mistral.ai/capabilities/code_generation/) is a model specifically designed for code generation and interaction. |
46 | | -For Codestral, you can use different endpoints (Default: codestral.mistral.ai). |
47 | | -If using the La Plateforme API Key for Codestral, change the **Codestral Base Url** to: `https://api.mistral.ai` |
| 36 | +For Codestral models: |
| 37 | +- Use Codestral API key from `codestral.mistral.ai` |
| 38 | +- Or use La Plateforme API key and set **Codestral Base URL** to `https://api.mistral.ai` |
48 | 39 |
|
49 | | -To use Codestral with CodinIT: |
| 40 | +## Notes |
50 | 41 |
|
51 | | -1. **Select "Mistral" as the API Provider in CodinIT Settings.** |
52 | | -2. **Select a Codestral Model** (e.g., `codestral-latest`) from the "Model" dropdown. |
53 | | -3. **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 CodinIT. |
| 42 | +- **Pricing:** See [Mistral Pricing](https://mistral.ai/pricing) |
| 43 | +- **Documentation:** [Mistral API Docs](https://docs.mistral.ai/api/) |
0 commit comments