Mistral AI · model

codestral-2405 deprecation: shutdown date & replacement

Shut down June 16, 2025
Provider
Mistral AI
Name
Codestral (24.05)
Type
model
Announced
Shutdown
Replacement
Codestral
Source
Official Mistral AI notice

'announced' is the deprecation date from the table. Replacement is given as a display name (API id not stated in the table).

How to migrate off codestral-2405

  1. Find every place that references it:
    grep -rn --exclude-dir={node_modules,.git,dist} "codestral-2405" .
  2. Replace the model ID:
    - model: "codestral-2405"
    + model: "Codestral"
  3. Re-run your evals or a sample of real prompts — output style, token usage and pricing can change between models.
  4. Check config outside code too: environment variables, feature flags, prompt-management tools, and fine-tuned model references.
  5. Deploy before June 16, 2025, and add the CI scanner so it cannot come back.

Also shutting down on June 16, 2025 (Mistral AI)

Questions

Is codestral-2405 deprecated?

Yes. Mistral AI has deprecated codestral-2405. It was shut down on June 16, 2025.

When does codestral-2405 shut down?

June 16, 2025, according to Mistral AI's official deprecation notice.

What should I use instead of codestral-2405?

Mistral AI recommends Codestral. Switch the model ID and re-test your prompts, since outputs, pricing and limits can differ.

What happens to requests to codestral-2405 after the shutdown?

Requests using the retired model ID fail with an error, so any code still calling it breaks. Update and deploy before the shutdown date.

ModelSunset Alerts

Hear about a shutdown before your users do

Tell us which model IDs you depend on. We ping your Slack or Discord when one of them is deprecated, and again 90, 30, 7 and 1 day before shutdown — plus a personal calendar feed.

  • Watchlist of up to 50 model IDs across all providers
  • Alert within a day when a watched model is deprecated
  • Reminders 90 / 30 / 7 / 1 days before shutdown
  • Slack or Discord alerts + personal iCal feed

$5/ month

Cancel anytime from your account. 14-day money-back guarantee. Payments by Creem (Merchant of Record).