Devstral 2 2512

Devstral 2 is a state-of-the-art open-source model by Mistral AI specializing in agentic coding. It is a 123B-parameter dense transformer model supporting a 256K context window.

Devstral 2 supports exploring codebases and orchestrating changes across multiple files while maintaining architecture-level context. It tracks framework dependencies, detects failures, and retries with corrections—solving challenges like bug fixing and modernizing legacy systems. The model can be fine-tuned to prioritize specific languages or optimize for large enterprise codebases. It is available under a modified MIT license.

Share

Model details

Context window262,144 tokens
Max completion size63 tokens
Prompt cost / 1K tokens$0.00000005
Completion cost / 1K tokens$0.00000022
Accepts
Produces

Benchmark performance

Overall

79
score
6th
placement

Cost

99
score
2nd
placement

Logic

84
score
5th
placement

Speed

86
score
14th
placement

Scoring

51
score
8th
placement

Tool Use

58
score
3rd
placement

Hallucination

71
score
11th
placement

Classification

29
score
3rd
placement

Structured Output

75
score
4th
placement

Pricing

Usage pricing
Prompt
$0.00000005
Completion
$0.00000022
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