ModelRot

codestral-2405 vs codestral-2508

Mistral names codestral-2508 as the replacement for codestral-2405. codestral-2405 shut down on Jun 16, 2025.

Retired→Active
Per 1M tokenscodestral-2405codestral-2508
Input—$0.3
Output—$0.9
Blended changeUnknown: a list price is missing
ProviderMistralMistral
Statusretiredactive
ShutdownJun 16, 2025—
Context window32k128k

Migrating

  • Replace the ID codestral-2405 with codestral-2508 everywhere it appears, including .env files, config and infrastructure templates.
  • Run your evaluation set or golden prompts on both before switching: output style, refusals and tool calling can differ between generations.
  • Check max output tokens and parameters: newer models sometimes rename or drop sampling options.
  • Watch the repo on ModelRot so the next retirement doesn't surprise you. codestral-2508 lifecycle.