Codestral
Overview
Codestral is a code model model from Mistral AI, released in 2025. It accepts text as input and produces text. With a context window of 256K tokens, it is well suited to code completion and fill-in-the-middle across 80+ languages.
Capabilities
On reasoning, Codestral is rated good, while its coding ability is excellent. Multimodal support: No. These characteristics make it a strong fit for code completion and fill-in-the-middle across 80+ languages. As with any frontier system, real-world performance depends heavily on how you prompt and integrate it.
Availability & Pricing
Codestral is accessible via an API. Pricing model: API metered. Availability and pricing for AI models change frequently; confirm the latest details from Mistral AI before building on it.
Best Use Cases
The sweet spot for Codestral is code completion and fill-in-the-middle across 80+ languages. Teams choosing a model should weigh context length, cost, latency and modality against their workload — Codestral is a particularly good match when those priorities align with its strengths.