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.
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
| Model | Input | Output | Plan2API | Context |
|---|---|---|---|---|
| Devstral 2 2512 | $0.40 | $2 | Not available | 262K |
| Pixtral Large 2502 | $2 | $6 | Not available | 128K |
| Mistral Large 4 | $0.70 | $2.10 | Not available | 1M |
| Mistral Medium 3.5 | $1.50 | $7.50 | Not available | 262K |
| Gemini 3.5 Flash Lite | $0.30 | $2.50 | $0 on Gemini | 1M |
| Qwen3.6 27B | $0.25 | $2 | Not available | 262K |
Devstral 2 2512 cost per month
| Workload | API 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
- Pixtral Large 2502Nov 2026
- Mistral Large 4Oct 2026
- Mistral Medium 3.5Apr 2026
- Mistral Small 4Mar 2026
- Ministral 3 14B 2512Dec 2025
- Ministral 3 3B 2512Dec 2025
- Ministral 3 8B 2512Dec 2025
- Mistral Large 3 2512Dec 2025
- Voxtral Small 24B 2507Oct 2025
- Codestral 2508Aug 2025
- Mistral Small 3.2 24BJun 2025
- Mistral Small 3.1 24BMar 2025
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