AI Provider Setup · BYOK

Connect Mistral

European data residency — Mistral Large, Medium, and Devstral.

Mistral is a French AI lab with strong open-weight heritage and enterprise-friendly EU data residency. Good fit if you need GDPR-aligned infrastructure, or want a capable open-weight-backed model outside US and Chinese providers.

Best used for

Key details

Where to generate your key
https://console.mistral.ai/api-keys
Expected key format
Alphanumeric token — no fixed prefix
Environment variable name (if self-hosting)
MISTRAL_API_KEY
Provider pricing
https://mistral.ai/pricing
Official docs
Mistral docs

Step-by-step setup

  1. 1 Create a Mistral Console account

    Sign up at console.mistral.ai with email or Google. Confirm your email to unlock key creation.

  2. 2 Add billing

    Open Billing in the left sidebar and add a card. Mistral requires a payment method before any paid-tier API calls — free tier is limited.

  3. 3 Navigate to API Keys

    Open console.mistral.ai/api-keys. Mistral supports multiple keys per account so you can scope one per application.

  4. 4 Create a key labeled Admaxxer

    Click Create new key, name it Admaxxer, and create. The full key is shown one time — copy it before closing.

  5. 5 Paste into Admaxxer

    Open Settings then AI Providers, find the Mistral row, paste the key, and click Connect.

  6. 6 Pick a default model

    mistral-large-latest is our recommended pick — best reasoning. Use mistral-medium-latest for cheaper day-to-day work, or devstral-medium-latest for code.

  7. 7 If the connection test fails

    Confirm the key is enabled, billing is active, and your account is not in a suspended state (Mistral suspends accounts with failed payments quickly).

Test the connection inside Admaxxer

Once you've pasted your key into /settings/ai-providers, hit Test. Admaxxer makes a single no-cost call against the provider's /v1/models (or equivalent) endpoint and reports back:

Available models

These are the pinned model IDs Admaxxer tests against. The model picker in chat will show these plus any live-catalog entries the provider returns.

Model ID Display name Context Tools Best for
mistral-large-latest Mistral Large (recommended) 128K Yes Flagship — best reasoning in the Mistral family. Default pick.
mistral-medium-latest Mistral Medium 128K Yes Cheaper middle tier. Good for routing, summarization, short-form generation.
devstral-medium-latest Devstral Medium 256K Yes Tuned for code — debugging, refactoring, and developer-agent workflows.

Common errors and fixes

401

When it happens: On Connect if the key is wrong or the account is suspended.

Fix: Regenerate at console.mistral.ai/api-keys. Check billing status — Mistral suspends fast on failed payment.

402

When it happens: If billing is not set up or a payment failed.

Fix: Open console.mistral.ai/billing and update the card.

429

When it happens: On the free tier after a small number of requests.

Fix: Upgrade to the paid tier in billing — rate limits are much higher.

model_not_found

When it happens: If you picked a deprecated Mistral model (e.g. mistral-small-2312).

Fix: Use mistral-large-latest, mistral-medium-latest, or devstral-medium-latest.