Codestral 2508
Codestral 2508 is Mistral's code completion model released on 30 July 2025. It targets frequent, low-latency requests, including fill-in-the-middle completion. The service offers both a dedicated completion endpoint and chat operations.
Complete code between existing text
Fill-in-the-middle is a named feature of this release. The API page also lists structured output, function calling, predicted output, prefix completion and batch processing. Public weight access for this exact 2508 release is not established by the API page.Codestral 2508 API model page
Evaluate the code editing interaction
Practical guidance. For editor completion, measure how quickly a useful suggestion appears and whether it fits the surrounding code. For larger repository changes, compare a general coding agent separately. A good short completion does not by itself show that a model can plan and verify a multi-file change.
Specifications & access
| Detail | Value and conditions |
|---|---|
| Launch date | |
| Access | API |
| Model identifiers | codestral-2508 |
| Context window | 128,000 tokens The model page states 128k context. Codestral 2508 API model page |
| API identifier | codestral-2508Codestral 2508 API model page |
| Release class | General availability; Premier serviceCodestral 2508 API model page |
| Dedicated endpoint | /v1/fim/completionsCodestral 2508 API model page |
Related models
- Mistral Small 4
Mistral AI · Mistral Small
An Apache-licensed multimodal model that combines instruction following, reasoning and coding with selectable reasoning modes.
Launch date not confirmedAPI · Downloadable - Codestral Embed
Mistral AI · Codestral
A code-retrieval embedding model with selectable vector dimensions and precision.
Launch date API