Mistral · Released Aug 1, 2025

Codestral 2508

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…

Released
Aug 1 2025
Context window
256K 205K out
Input / 1M tokens
$0.30
Output / 1M tokens
$0.90

Where to run it

Providers

Cheapest: Mistral at $0.30 / $0.90 per 1M input / output tokens — 9% less than the priciest option.

ProviderInputOutputCache readContextMax outputUptimevs. best
Mistral $0.30 $0.90 $0.03256K205K100%24h Cheapest
Mistraleu $0.33 $0.99 $0.033256K205K100%24h +10%

Value

Price vs. performance

5 models score higher for the same price or lesson Aider Polyglot, e.g. DeepSeek V3.2.

Codestral 2508 Other Mistral Other labs Value frontier · Aider Polyglot vs. input price per 1M tokens (log scale) · Drag to pan, pinch or Ctrl + scroll to zoom, double-click to zoom in.

Benchmarks

1 benchmark score

BenchmarkScoreRankLeader
Aider PolyglotSoftware engineering · Hard Exercism problems in many languages 11.1% #11of 11 GPT-588.0%

Specs

Details

Model ID
mistralai/codestral-2508
Developer
Mistral
Release date
Aug 1, 2025 ·
Context window
256,000 tokens
Max output
204,800 tokens
API price
$0.30 / $0.90 per 1M input / output tokens
Providers
1
Input types
text, file
Reasoning
No
Tool calling
Yes
Open weights
No
Free tier
No

Release date, prices and providers from OpenRouter's catalog; buying directly from a provider can cost a little differently. Uptime is the share of OpenRouter requests each provider served over the last day. Benchmark scores are the best result per benchmark from Epoch AI, licensed CC BY 4.0. Rank counts every model tracked here with a score.