Deprecations / Migrate

Migrate off Codestral (v25.01)

Retired

Codestral (v25.01) has been retired and shut down on 30 Nov 2025. Mistral's official replacement is Codestral (v25.08). The cheapest comparable model we track is Llama 3.1 8B Instruct (Meta) at $0.022 per 1M tokens blended.

Last verified: 13 Aug 2026 · sourced from official provider documentation

What changes

Codestral (v25.01) → Codestral (v25.08)

SpecCodestral (v25.01)Codestral (v25.08)
StatusRetiredGA
Blended price /1M$0.45
Input / output /1M$0.3 / $0.9
Context window128K
Max output
Modalitytext, codetext, code
Knowledge cutoff

API string was codestral-2501 → switch to codestral-2508. See Codestral (v25.08)'s full spec sheet →

Cheapest alternatives

Budget-friendly replacements for Codestral (v25.01)

Generally-available models that match Codestral (v25.01)'s capabilities, ranked by blended price. Every number is computed from official catalog prices.

ModelBlended /1MInput / outputContext
Llama 3.1 8B Instruct
Meta
$0.022$0.02 / $0.03128K
Amazon Nova Micro
Amazon
$0.061$0.035 / $0.14128K
Command R7B
Cohere
$0.066$0.037 / $0.15128K
FAQ

Migrating off Codestral (v25.01)

What replaces Codestral (v25.01)?

Mistral's recommended migration for Codestral (v25.01) is Codestral (v25.08). The cheapest comparable model in our catalog is Llama 3.1 8B Instruct (Meta) at $0.022/1M blended.

Is Codestral (v25.01) still available?

No — Codestral (v25.01) has been retired (shut down 30 Nov 2025) and is no longer available via Mistral's API.

What is the cheapest alternative to Codestral (v25.01)?

Llama 3.1 8B Instruct (Meta) is the cheapest generally-available alternative we track that matches Codestral (v25.01)'s capabilities, at $0.02 per 1M input and $0.03 per 1M output tokens ($0.022/1M blended).

Browse the full deprecation watch → or see Codestral (v25.01)'s full spec sheet →