Model Comparison 2026

Codestral vs Devstral 2

Codestral
Mistral · Budget · Proprietary
$0.48/1M · 256K ctx
Devstral 2
Mistral · Balanced · Open weights
$0.88/1M · 262K ctx

Community Vote

Pick a winner in each dimension — change your vote anytime.

Output Quality
Correctness and depth of what it produces
Agentic Ability
Tool calls, instruction-following, and multi-step tasks
Speed
Tokens per second and time-to-first-token
Value for $
How much capability you get per dollar
Reliability
Consistent results — fewer refusals, loops, and format breaks

Specs & Pricing, Side by Side

Spec
Codestral
Devstral 2
Maker
Mistral
Mistral
Blended price / 1M
$0.48
$0.88
Input / output
$0.30 in · $0.90 out / 1M tokens
$0.40 in · $2.00 out / 1M tokens
Context window
256K
262K
Open weights
No
Yes
Tool use
Yes
Yes
Reasoning
No
No
Output Quality
6.8
7.8
Agentic Ability
6.5
8.6
Speed
9.5
8.2
Value for $
8.9
8.8
Reliability
8.8
8.7

Pricing and capabilities synced from the OpenRouter catalogue. Scores are editorial (0–10).

Verdict: Codestral or Devstral 2?

Updated 2026-06-22

Choose Codestral if you want fast completions and lightweight code edits. Choose Devstral 2 if you want dedicated open-weight coding agents.

In our editorial scoring, Codestral leads in 3 of five dimensions (speed, value for $ and reliability), while Devstral 2 leads in 2. On price, Codestral runs about $0.48 per 1M tokens (blended) and is proprietary; Devstral 2 is about $0.88 and open-weight.

Where Codestral falls short
  • Not for deep agentic planning
  • Quality below the larger coders
Full Codestral breakdown →
Where Devstral 2 falls short
  • Narrower than a general model
  • Behind frontier on hard reasoning
Full Devstral 2 breakdown →

The model is half the story — the agent is the other half

The model picks the moves; the agent runs the loop, the tools, and the guardrails. Once you've chosen a model, see which agent gets the most out of it.

Compare AI agents →

Related comparisons

Sonnet 4.6 vs Devstral 2Devstral 2 vs GPT-5.4Devstral 2 vs Gemini 3.5 FlashDevstral 2 vs GPT-5.3-CodexDevstral 2 vs Kimi K2.7 CodeDevstral 2 vs MiniMax M3Devstral 2 vs Qwen3.7 PlusDevstral 2 vs GLM 4.7