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 Post

Share

Model details

Context window256,000 tokens
Max completion size42 tokens
Prompt cost / 1K tokens$0.0000003
Completion cost / 1K tokens$0.0000009
Accepts
Produces

Benchmark performance

Overall

67
score
18th
placement

Cost

97
score
4th
placement

Logic

61
score
14th
placement

Speed

89
score
11th
placement

Scoring

49
score
9th
placement

Tool Use

45
score
5th
placement

Hallucination

9
score
23rd
placement

Classification

39
score
2nd
placement

Structured Output

67
score
5th
placement

Pricing

Usage pricing
Prompt
$0.0000003
Completion
$0.0000009
Request
FREE
Image
FREE
Web Search
FREE
Internal Reasoning
FREE
Input Cache Read
FREE
Input Cache Write
FREE

Best Overall scoring LLMs

88
score
1st
placement
86
score
2nd
placement
84
score
3rd
placement
82
score
4th
placement
82
score
4th
placement
80
score
5th
placement