Mistral AICodestral

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

Codestral 2508 specifications
DetailValue and conditions
Launch date
AccessAPI
Model identifierscodestral-2508
Context window128,000 tokens

The model page states 128k context.

Codestral 2508 API model page
API identifiercodestral-2508Codestral 2508 API model page
Release classGeneral 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
  • A code-retrieval embedding model with selectable vector dimensions and precision.

    Launch date API