Mistral Setup
Mistral AI offers efficient, high-quality models with European data hosting, making them a great choice for GDPR-conscious deployments.
Getting Your API Key
- Go to console.mistral.ai
- Sign up or log in to your Mistral account
- Navigate to API Keys
- Click Create new key
- Copy the key
Adding to Lenno
- Go to your agent’s Provider tab
- Select Mistral from the provider list
- Paste your API key
- Choose a model
- Click Save
Available Models
| Model | Context | Best For | Cost |
|---|---|---|---|
| mistral-small-latest | 32K tokens | Fast, cost-effective (default) | $ |
| mistral-large-latest | 128K tokens | Most capable, complex tasks | $$ |
| devstral-small-latest | 128K tokens | Coding and agentic tasks | $ |
| devstral-2 | 128K tokens | Coding and agentic tasks | $$ |
| devstral-small-2 | 128K tokens | Coding and agentic tasks | $ |
CLI vs API Mode
Like Claude, Mistral supports a CLI execution path in addition to direct API calls. CLI mode runs the vibe CLI (installed via pip install mistral-vibe) inside the agent’s container; API mode makes direct per-token API calls. The mode is determined by your agent’s active provider slot configuration.
Pricing Notes
Mistral charges per input and output token. Check mistral.ai/pricing for current rates. All data is processed in European data centers.