Codestral is Mistral’s language model for coding, specialized in low-latency, high-frequency tasks such as fill-in-the-middle (FIM), code correction, and test generation. It is built for developer productivity and supports a wide range of programming languages and code-related tasks.
Retired on Nov 22, 2026: requests to this model ID now return an error. These models are live and work with the same API key.
Codestral is Mistral’s language model for coding, specialized in low-latency, high-frequency tasks such as fill-in-the-middle (FIM), code correction, and test generation. It is built for developer productivity and supports a wide range of programming languages and code-related tasks.
No. Codestral 2501 was retired on NagaAI on Nov 22, 2026, and requests to it now return an error. Live models you can use instead with the same API key: Mistral Large 4, Mistral Medium 3.5 and Devstral 2 2512.
It takes text as input and returns text.