Claude Fable 5$22.000/MClaude Opus 5$11.000/MClaude Opus 4.8$11.000/MClaude Opus 4.7$11.000/MClaude Opus 4.6$11.000/MClaude Opus 4.5$33.000/MClaude Sonnet 3.7$6.600/MClaude Opus 3$33.000/MClaude 2.1$12.800/MClaude 2$12.800/MGPT-5.6 Sol$12.500/MGPT-5.6 Terra$5.000/MGPT-5.5$12.500/MGPT-5.2$5.425/MGPT-5.2-Codex$5.425/MGPT-5$3.875/MGPT-4.5$97.500/MGPT-4 Turbo Preview$16.000/MGPT-4$39.000/MGPT-4-32k$78.000/Mo3$19.000/Mo3-mini$2.090/Mo4-mini$2.090/Mo1$28.500/Mo1-mini$5.700/Mo1-preview$28.500/MGemini 3.5 Pro$5.000/MGemini 3.1 Pro$5.000/MGemini 3 Pro$5.000/MGemini 2.5 Pro$3.875/MClaude Fable 5$22.000/MClaude Opus 5$11.000/MClaude Opus 4.8$11.000/MClaude Opus 4.7$11.000/MClaude Opus 4.6$11.000/MClaude Opus 4.5$33.000/MClaude Sonnet 3.7$6.600/MClaude Opus 3$33.000/MClaude 2.1$12.800/MClaude 2$12.800/MGPT-5.6 Sol$12.500/MGPT-5.6 Terra$5.000/MGPT-5.5$12.500/MGPT-5.2$5.425/MGPT-5.2-Codex$5.425/MGPT-5$3.875/MGPT-4.5$97.500/MGPT-4 Turbo Preview$16.000/MGPT-4$39.000/MGPT-4-32k$78.000/Mo3$19.000/Mo3-mini$2.090/Mo4-mini$2.090/Mo1$28.500/Mo1-mini$5.700/Mo1-preview$28.500/MGemini 3.5 Pro$5.000/MGemini 3.1 Pro$5.000/MGemini 3 Pro$5.000/MGemini 2.5 Pro$3.875/M
Mistral
Mistral
EfficientLIVE INDEX

Devstral 2 2512

text+file->text

Code-specialist model from Mistral. 256K context fits whole repos and 80+ programming languages.

Devstral 2 2512 is a efficient AI model from Mistral. It costs $0.440 per million input tokens and $2.200 per million output tokens (blended $0.968/M), with a 262,144-token context window.

Profile inherited from upstream Codestral (Devstral base) — this is a hosted variant of the same open-weights model.

INPUT
$0.440/M
per million input tokens
OUTPUT
$2.200/M
per million output tokens
CONTEXT
262,144
tokens
What it is good at
  • Code-tuned
  • 256K context
  • 80+ languages
Typical use cases
  • IDE autocomplete
  • Code review
  • Repo Q&A

Benchmarks

vs. best public score
Scores inherited from Codestral (Devstral base) — this is a hosted variant of the same open-weights model, so the underlying benchmark scores are identical.
MATH51%
High-school competition math problems.
Python function synthesis from docstrings.
Hand-curated from each provider's published reports and public leaderboards. Methodology varies across sources, treat as directional rather than authoritative.

More from Mistral

See all 15

Frequently asked questions

How much does Devstral 2 2512 cost?

Devstral 2 2512 costs $0.440 per million input tokens and $2.200 per million output tokens, for a blended reference rate of $0.968 per million tokens.

What is Devstral 2 2512's context window?

Devstral 2 2512 supports up to 262,144 tokens of context in a single request.

What is Devstral 2 2512 best for?

Devstral 2 2512 is well suited to Code-tuned, 256K context and 80+ languages.

Who makes Devstral 2 2512?

Devstral 2 2512 is developed and served by Mistral.

Terms used on this page