Devstral 2 2512 as a coding agent in your terminal
Devstral 2 2512 by Mistral AI, one of 250+ models you can use in Darce, the open source AI coding agent you can undo.
| Model | Devstral 2 2512 |
|---|---|
| Vendor | Mistral AI |
| Model id | mistralai/devstral-2512 |
| Context window | 262k tokens |
| Price per 1M tokens | $0.40 input · $2.00 output (OpenRouter) |
| Can do | tool calling |
| Category | Coding-tuned |
Strengths
Mistral's Devstral 2, built for software engineering agents.
OpenRouter's description:
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. Devstral 2 supports exploring...
Use Devstral 2 2512 as a coding agent in your terminal
Start Darce in your project with Devstral 2 2512:
npm install -g darce-cli
darce --model mistralai/devstral-2512Already in a session? Type /model mistralai/devstral-2512, or open the picker with Ctrl+P. Darce then reads your code, edits files and runs commands with Devstral 2 2512; risky commands ask first, and /undo reverses any change, including what shell commands did. No account yet? npx darce-cli lets you try it free. Which plan includes which models is on the pricing page.
Make it your default or a gear
In ~/.darcerc, set it as the starting model or add it to the gears you move between with Shift+↑ / Shift+↓ (see configuration):
{
"router": { "default": "mistralai/devstral-2512" },
"gears": ["qwen/qwen3-coder", "mistralai/devstral-2512"]
}Compare it on your own code
Benchmarks rarely match your repository. Race Devstral 2 2512 against two other models on a real task and keep the best diff:
/derby --models mistralai/devstral-2512,mistralai/codestral-2508,mistralai/mistral-large-4-0 fix the failing testRead more about /derby and /swarm.
Related models
- Codestral 2508 (Mistral AI): 256k tokens, $0.30 / $0.90 per 1M tokens
- Mistral Large 4 (Mistral AI): 1.05M tokens, $0.68 / $2.09 per 1M tokens
- GPT-5.3-Codex (OpenAI): 400k tokens, $1.75 / $14.00 per 1M tokens
- Qwen3 Coder 480B A35B (Qwen (Alibaba)): 262k tokens, $0.30 / $1.00 per 1M tokens
- Qwen3 Coder Next (Qwen (Alibaba)): 262k tokens, $0.12 / $0.80 per 1M tokens
- Qwen3 Coder Plus (Qwen (Alibaba)): 1M tokens, $0.65 / $3.25 per 1M tokens
All models · Getting started · Claude Code alternative
Model data from OpenRouter, refreshed daily. Prices are OpenRouter's list rates and show relative cost; your Darce allowance is used in proportion to them.