Mistral, released Dec 9, 2025

Devstral 2 2512

Devstral 2 2512 is Mistral's open-weights coding model, built specifically for agentic work rather than general chat. It came out in December 2025 and sits in the middle of Mistral's pricing - cheaper than Mistral Large 4, Mistral Medium 3.5, and Pixtral Large 2502, though pricier than Mistral Small 4 and the Ministral 3 models. If you're wiring up a coding assistant that needs to call tools, read through a huge amount of context, and write long replies without cutting off, this is the model in their lineup made for that job.

Already paying for ChatGPT or Claude?

Devstral 2 2512 costs $2 per 1M output tokens. Use GPT-6 and Claude through your plan instead, $0 per token.

Get your API key Free plan, no card needed

Updated

Devstral 2 2512 pricing and specs

Input
$0.40per 1M tokens
Output
$2per 1M tokens
Cached input
$0.04per 1M tokens
Context window
262K262,144 tokens
Max output
210K209,715 tokens
Released
Dec 9, 2025
Accepts
TextFiles
Features
Tool callingStructured outputsOpen weights

What Devstral 2 2512 is good at

  • Agentic coding workflows. It's built for them and supports tool calling out of the box.
  • Working across big repos or long technical docs in a single pass. It pairs a huge context window with PDF input (you can drop a spec sheet or manual right in alongside your code instead of stripping it to plain text first).
  • Long code generation and full-file rewrites - the per-reply output cap is massive, so it handles big diffs in one shot.
  • Automated pipelines that need clean formatting, thanks to built-in structured JSON output.

Good to know

  • Output tokens cost a lot more than input tokens here. Loops that generate piles of code will move your bill much faster than big context reads.
  • It's not Mistral's newest release. It landed on December 9, 2025, right after Ministral 3 14B 2512 and Ministral 3 8B 2512, and Mistral has shipped Mistral Small 4, Mistral Medium 3.5, Mistral Large 4, and Pixtral Large 2502 since then, so you're picking a dedicated coding model over their newer releases.
  • And if you're thinking about moving off the API later, keep in mind it's a dense 123B transformer.

Devstral 2 2512 vs similar models

API price per 1M tokens
ModelInputOutputPlan2APIContext
Devstral 2 2512$0.40$2Not available262K
Pixtral Large 2502$2$6Not available128K
Mistral Large 4$0.70$2.10Not available1M
Mistral Medium 3.5$1.50$7.50Not available262K
Gemini 3.5 Flash Lite$0.30$2.50$0 on Gemini1M
Qwen3.6 27B$0.25$2Not available262K

Devstral 2 2512 cost per month

Tokens a month at $0.40 input and $2 output per 1M
WorkloadAPI price
Side project2M in, 500K out$1.80
Production app25M in, 5M out$20.00
Agents at scale250M in, 50M out$200

FAQ

How much does the Devstral 2 2512 API cost?

Devstral 2 2512 costs $0.40 per 1M input tokens and $2 per 1M output tokens, and cached input costs $0.04 per 1M.

What is the Devstral 2 2512 context window?

Devstral 2 2512 takes 262,144 tokens of context, with up to 209,715 output tokens per request.

When was Devstral 2 2512 released?

Mistral released Devstral 2 2512 on Dec 9, 2025.

Can I use Devstral 2 2512 with my subscription?

Plan2API turns Claude, ChatGPT, Gemini and Kimi subscriptions into one OpenAI-compatible API. GPT-6 and Claude models run through your ChatGPT or Claude plan at $0 per token instead.

Can I self-host Devstral 2 2512?

Yes. Mistral released it with open weights under mistralai/Devstral-2-123B-Instruct-2512, so you aren't locked into an API if you want to run it yourself.

What inputs does it accept?

Text and PDFs. You can pass in code, prompts, and PDF docs straight to the model, and that's the full list.

More Mistral models

All 19 Mistral models

Already paying for ChatGPT or Claude? Use GPT-6 and Claude through your plan, $0 per token.

  • Free: 1 subscription, no daily cap, no card
  • Pro: $12 a month

GPT-6 and Claude at $0 per tokenFree plan, no card needed

Get your API key

Guides

80