Overview
Codestral 25.08 is a code-completion model Mistral AI released on 30 July 2025, an update to the Codestral family. Mistral says it specializes in low-latency, high-frequency tasks such as fill-in-the-middle (FIM) and code generation. Its context window is 128K tokens. Mistral has not published its parameter count or architecture, and this site has no Artificial Analysis Intelligence Index for it.
Strengths
- Real-time code completion in the IDE, with a FIM endpoint at
/v1/fim/completions
- Chat-style code generation with function calling, structured outputs, predicted outputs and batching
- The announcement reports, versus earlier versions, about 30% more accepted completions, about 10% more code retained after suggestion and 50% fewer runaway generations; chat mode gained about 5% on instruction-following and code benchmarks
Use cases
Autocomplete in the editor, filling in function bodies, writing docstrings and commit messages, and other frequent small tasks. Mistral says it can run in the cloud, in a VPC or on-premises, which suits regulated sectors such as finance, defence and healthcare, and it pairs with the Mistral Code plugin and Codestral Embed.
Limitations
- It is built for completion, not agents: for cross-file refactors, test generation and PR authoring, Mistral points to its Devstral models.
- 128K context, shorter than Mistral's newer general models.
- Mistral's pages do not state licence terms for the weights, a knowledge cutoff or limitations.
Versions & pricing notes
- API name
codestral-2508, version v25.08, status GA.
- Mistral API pricing: $0.3 input and $0.9 output per million tokens.
- It costs more per token than the general-purpose Mistral Small 4 ($0.15 input, $0.60 output) but is tuned specifically for low-latency FIM.