mistralai logo

Mistral

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.

At a glance

Input / 1M
$0.40
Output / 1M
$2
Context
262K
Max output
210K
Intelligence
8.6
Released
Dec 2025
Text inputFile inputTool calling

Pricing

Devstral 2 2512 API pricing

Per-token rates, plus what common tasks actually cost.

Input tokensPer 1M tokens$0.40
Output tokensPer 1M tokens$2
Cached input (read)Per 1M tokens$0.04
Cache writePer 1M tokensNot available

Chat message

2K in, 500 out

$1.80

per 1,000 requests

Coding task

30K in, 4K out

$20

per 1,000 requests

Long document summary

150K in, 2K out

$64

per 1,000 requests

Benchmarks

Devstral 2 2512 benchmark scores

Independent scores from Artificial Analysis. Higher is better.

Intelligence index

8.6

Coding index

31.3

Agentic index

2.3

Specs

Context window and capabilities

What it can read, what it can write, and which API features it supports.

Context window
262K tokens
Max output
210K tokens
Input types
File, Text
Output types
Text
Reasoning effort
Not available
Release date
December 9, 2025
  • Tool calling
  • Structured outputs
  • JSON mode
  • Reasoning
  • Temperature
  • Stop sequences
  • Deterministic seed
  • Verbosity control

FAQ

Frequently asked questions

How much does Devstral 2 2512 cost?

Devstral 2 2512 costs $0.40 per 1M input tokens and $2 per 1M output tokens through the API. A typical chat message costs about $1.80 per 1,000 messages.

What is the context window of Devstral 2 2512?

Devstral 2 2512 accepts up to 262K tokens of input and can write up to 210K tokens in a single response.

What is the best alternative to Devstral 2 2512?

GPT-4.1 Mini from OpenAI is a strong alternative. It offers: 1.3x cheaper output, higher intelligence score, larger 1.05m context.

Can I use Devstral 2 2512 alongside other models?

Yes. Shortcut Chat sends one prompt to Devstral 2 2512 and any other models you pick at the same time, so you can compare answers side by side.

mistralai logo

Try Devstral 2 2512 next to every other model.

Use Devstral 2 2512 alongside all the other models. Use one at a time, or multiple together. Get the best answer from every AI.