Configuring Mistral AI Models
This guide walks you through setting up Mistral AI models in Flexpilot IDE. After getting your API credentials, you can configure the model following our configuration guide.
🎁 Free Getting Started
Mistral AI offers a generous free tier for developers to get started with their models. Choose codestral
endpoint for free access for both chat
and completions
tasks.
🚀 Quick Links
- Mistral AI Console - Manage your account
- API Documentation - Official API reference
- API Keys - Generate API credentials
- Model Overview - Compare model variants
Setup Guide
🔒 Security Warning
Protect your API keys! Never expose them in code repositories or public spaces.
- Visit Mistral AI Console and sign in/create account
- Choose your preferred endpoint:
TIP
Codestral endpoint is recommended for programming tasks, but it support only codestral-latest
model.
Codestral Endpoint
- Navigate to Codestral Section
- Copy the displayed API key
Standard Endpoint
- Go to API Keys
- Click "Create new key"
- Set a name and expiry
- Save the key immediately (it won't be shown again)
- Review model documentation to select your model
Configuration Reference
Configure these parameters in Flexpilot IDE:
🔧 Configuration Reference
Field | Description | Default/Recommended |
---|---|---|
API URL | Base endpoint URL | https://codestral.mistral.ai/v1 |
API Key | Your secret key | From setup process above |
Model ID | Model identifier | codestral-latest |
Temperature | Response creativity (0-1) | 0.2 for code generation |
Tool Calling | Function calling support | true |
🎯 Best Practices
- Set temperature between 0.1-0.3 for consistent code generation
- Use the Codestral endpoint for programming tasks
Next Steps
Set up the API credentials obtained from this page's instructions in the Flexpilot IDE to enable the Chat Model. For detailed guidance, refer to the Setup Guide.