Skip to content
NINJA

Codestral 2508

Released by Mistral on 1 Aug 2025.

API id mistralai/codestral-2508

Input price
$0.30 / 1M tokens
Output price
$0.90 / 1M tokens
Context window
256K tokens
Longest reply
205K tokens

About this model

Mistral's cutting-edge language model for coding released end of July 2025. Codestral specializes in low-latency, high-frequency tasks such as fill-in-the-middle (FIM), code correction and test generation.

Blog Post

Description from the model’s public catalogue listing.

Capabilities

Reads
Text, Files
Writes
Text
Reasoning mode
No
Tool calling
Yes
Open weights
No
Cached input
$0.03 / 1M tokens

What it would cost

At list price, without caching or batch discounts.

1,000 chat replies2K tokens in, 500 out each
$1.05
Summarise 100 long reports50K tokens in, 1K out each
$1.59
A coding agent’s working day20M tokens in, 1M out
$6.90
Price your own workload on every model

Price history

No change since we started tracking prices on 30 Sept 2026.

Alternatives at a similar price

From other labs, priced within about 40% of Codestral 2508, with a comparable context window.

More from Mistral

See all