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

xAI

Grok 4 Fast

88
score
1st
placement
Qwen

Qwen3 VL 235B A22B Instruct

86
score
2nd
placement
xAI

Grok 4.1 Fast

84
score
3rd
placement
OpenAI

GPT-5.1 Chat

82
score
4th
placement
OpenAI

GPT-5.1-Codex

82
score
4th
placement
Anthropic

Claude Haiku 4.5

80
score
5th
placement