Codestral 2508

Mistral · mistralai/codestral-2508

← Back to leaderboard

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](https://mistral.ai/news/codestral-25-08)

Codestral 2508 ranks #152 of 348 models in the default AI Benchmark Hub order (quality first, then cost). At $0.60 blended per million tokens, it is cheaper than 66% of models with published API pricing. Its 256,000-token context window is about the catalog median (262,144 tokens).

filetexttext+file->text

Context

Max context: 256000
Max output: 204800

Pricing

Input / 1M: 0.30
Output / 1M: 0.90
Blend / 1M: 0.60

Quality

Quality index:

Provider

Provider: Mistral
Moderated: no

Monthly cost at this blended rate

Estimated API spend if every token is billed at $0.60per million (the blend of this model's input and output prices). Real bills depend on the input/output mix.

Tokens / monthEst. cost (USD)
1,000,000$0.60
10,000,000$6.00
100,000,000$60.00

Related models

Same lab, similar price, or similar quality — useful next comparisons.

More from Mistral

Closest API price