Will use Brian's video as a shorter guide and link to it as an official Kilo tutorial
3.1 KiB
title, sidebar_position
| title | sidebar_position |
|---|---|
| Setting Up Mistral for Free Autocomplete | 1 |
Setting Up Mistral for Free Autocomplete
This guide walks you through setting up Mistral's Codestral model for free autocomplete in Kilo Code. Mistral offers a free tier that's perfect for getting started with AI-powered code completions.
Video Walkthrough
Step 1: Open Kilo Code Settings
In VS Code, open the Kilo Code panel and click the Settings icon (gear) in the top-right corner.
Step 2: Add a New Configuration Profile
Navigate to Settings → Providers and click Add Profile to create a new configuration profile for Mistral.
Step 3: Name Your Profile
In the "New Configuration Profile" dialog, enter a name like "Mistral profile" (the name can be anything you prefer) and click Create Profile.
:::note The profile name is just a label for your reference—it doesn't affect functionality. Choose any name that helps you identify this configuration. :::
Step 4: Select Mistral as Provider
In the API Provider dropdown, search for and select Mistral.
:::note When creating an autocomplete profile, you don't need to select a specific model—Kilo Code will automatically use the appropriate Codestral model optimized for code completions. :::
Step 5: Get Your API Key
You'll see a warning that you need a valid API key. Click Get Mistral / Codestral API Key to open the Mistral console.
Step 6: Navigate to Codestral in Mistral AI Studio
In the Mistral AI Studio sidebar, click Codestral under the Code section.
Step 7: Generate API Key
Click the Generate API Key button to create your new Codestral API key.
Step 8: Copy Your API Key
Once generated, click the copy button next to your API key to copy it to your clipboard.
Step 9: Paste API Key in Kilo Code
Return to Kilo Code settings and paste your API key into the Mistral API Key field.
Step 10: Save Your Settings
Click Save to apply your Mistral configuration. You're now ready to use free autocomplete!
Next Steps
- Learn more about Autocomplete features
- Explore triggering options for autocomplete
- Check out best practices for optimal results









