prices synced 2026-07-28

Codestral 2508

Mistral · Multimodal · Released Aug 2025

Compare

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)

Strengths
Optimized for fill-in-the-middle code completion, code correction, and test generation with fast inference.
Best for
Developer workflows requiring quick code suggestions, refactoring assistance, and automated test writing.
Limitations
Specialized for code tasks; less suitable for general-purpose language understanding or non-programming use cases.

Input / 1M

$0.3

Output / 1M

$0.9

Cached input / 1M

$0.03

Context window

256K

Price history

Price per 1M tokens over timeOutput $0.9; Input $0.3 as of Jun 2026.$0$0.2$0.4$0.6$0.8$1.00Output on 11 Jun 2026: $0.9Out $0.9Input on 11 Jun 2026: $0.3In $0.3Jun 2026

Snapshots

Effective Input Output Cached in Note Source
11 Jun 2026 $0.3 $0.9 $0.03 Imported from OpenRouter openrouter.ai

More from Mistral

Report a problem