Activate Studio and generate an API key
Set up your Studio›Studio ↗ account, activate the free Experiment plan, and create an API key you can use to call Mistral models.
- Experiment plan: free API access with no credit card required
- Workspace-scoped keys: API keys are tied to a workspace for usage tracking and access control
- Secure key management: set expiration dates and rotate keys regularly
By the end you will have a working API key ready to use in your first request.
Time to complete: ~10 minutes
Prerequisites
- A Mistral account ↗.
- A phone number for verification (one phone number per Experiment plan).
Step 1: Activate the Experiment plan
The Experiment plan gives you free access to the Mistral API. No credit card is required.
- Go to the Admin›Subscriptions page ↗.
- Click Experiment for free.

- Review the plan details, read and accept the Terms of Service and Privacy Policy, then click Subscribe.
- Verify your phone number when prompted.
You now have an active Experiment plan. You can upgrade to the Scale plan at any time for higher rate limits, frontier model access, and fine-tuning.
Mistral may use Experiment plan requests to improve its models. Review the data training policy for details.
Step 2: Create a workspace
Workspaces organize your API keys, usage reports, and team access. Each API key belongs to a specific workspace.
- Open the Studio›Studio console ↗.
- Navigate to Workspaces in the left sidebar.
- Click Create workspace.
- Enter a name for the workspace (for example, "Development" or "Production").
- Click Create.
Step 3: Generate an API key
- Open your workspace settings and select the API Keys tab.
- Click Create new key.

- Add a Name to identify the key (for example, "First test key").
- Set an Expiration date. Regular rotation improves security.

- Click Create new key.
- Copy the key immediately and store it in a secure location (password manager or secrets vault).
The full key appears only once. You cannot retrieve it after closing the confirmation dialog.
Verify
You have completed the setup:
- Your Experiment plan is active.
- You have a workspace.
- You have an API key stored securely.
Test the key with a quick curl request:
curl https://api.mistral.ai/v1/chat/completions \
-H "Authorization: Bearer $MISTRAL_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "mistral-small-latest",
"messages": [{"role": "user", "content": "Hello, Mistral!"}]
}'A successful response confirms your key is working.