Codestral (v25.08)

GA

Current Codestral (Premier v25.08). 'latest' alias codestral-latest -> codestral-2508. Code completion / FIM, 128k context. Pricing $0.3/M in, $0.9/M out (mistral.ai/pricing, 2026-06-28). Release date 'July 30, 2025' per model page.

Codestral (v25.08) by Mistral costs $0.3 per 1M input tokens and $0.9 per 1M output tokens ($0.45/1M blended), with a 128K (128.000-token) context window. It is generally available (GA). Its weights are publicly downloadable, so it can be self-hosted on your own infrastructure.

Last verified: 13 Aug 2026 · sourced from official provider documentation

Provider
Mistral
Status
GA
Input price
$0.3 / 1M tokens
Output price
$0.9 / 1M tokens
Cached input
Blended price
$0.45 / 1M tokens
Context window
128.000 tokens (128K)
Max output
Modality
text, code
Open weights
Yes — self-hostable
Knowledge cutoff
Released
30 Jul 2025
API string
codestral-2508

Source: Mistral official documentation ↗

FAQ

Codestral (v25.08) — questions & answers

How much does Codestral (v25.08) cost?

Codestral (v25.08) is priced at $0.3 per 1M input tokens and $0.9 per 1M output tokens ($0.45/1M blended at a 3:1 input-to-output ratio).

What is the context window of Codestral (v25.08)?

Codestral (v25.08) has a 128.000-token context window (128K).

Is Codestral (v25.08) deprecated?

No — Codestral (v25.08) is generally available (GA) and not currently scheduled for deprecation or retirement in our tracker.

Does Codestral (v25.08) support image or vision input?

Our catalog lists Codestral (v25.08)'s modalities as text, code; image/vision input is not among them.

Can I self-host Codestral (v25.08)?

Yes — Codestral (v25.08) is an open-weight model: its weights are publicly downloadable, so you can run it on your own infrastructure (subject to its license) instead of only calling Mistral's API.

What is the API model string for Codestral (v25.08)?

The API model identifier for Codestral (v25.08) is "codestral-2508" when calling Mistral's API.