Skip to main content

Do I need a separate API Key for Mistral Code?

Updated this week

Mistral Code extensions require authentication to connect to Mistral AI services via dedicated API calls.

This authentication is handled through a specific API key generated automatically upon login, both for VS Code and JetBrains IDEs extensions.

This API key is then stored locally on your machine in a config file located in your home directory:

  • $HOME/.mistralcode/config.json on Linux/macOS

  • %USERPROFILE%\.mistralcode\config.json on Windows.

🚨 This distinct API key, tagged as Mistral Code, will also appear alongside your other Organization's API keys for you to manage. You might delete this API key if needed, but you will then need to generate a new one by starting the login process again from scratch.

Did this answer your question?