This model is over 2 years old. A newer version of it has since shipped: Codestral Embed (2026-06-18). The details below are still accurate for this model — it just is not what we would recommend today.

Codestral

Mistral AI🇫🇷 France
deprecated

Mistral's code-specialist model trained on 80+ programming languages.

Context window32K tokens
Input / 1M tokens$0.2
Output / 1M tokens$0.6

Version History

codestral-2405major

Codestral launches as Mistral's first code-specialist model. Trained on 80+ programming languages with 32K fill-in-the-middle support.