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

  1. Go to console.mistral.ai
  2. Sign up or log in to your Mistral account
  3. Navigate to API Keys
  4. Click Create new key
  5. Copy the key

Adding to Lenno

  1. Go to your agent’s Provider tab
  2. Select Mistral from the provider list
  3. Paste your API key
  4. Choose a model
  5. 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.