- input
- $0.40
- cached
- $0.04
- output
- $2.00
- Context
- 262Ktokens
- Released
- 11mo ago
- Size
- 123Bparameters
Cost/1M tokens
Mistral AI released Devstral 2 as a successor within its Devstral line of software-engineering models. The maker's announcement claims the model achieves strong results with a much smaller parameter count than competitors and is up to 7x more cost-efficient than Claude Sonnet on real-world tasks. It is built for coding, particularly agentic work such as exploring codebases, editing multiple files, and powering software engineering agents.
- Language model
- Open weights · 123B
- Accepts files
- Tools
- Structured output
How it compares
Score vs. costArena WebDev
Each model at its best score · Dashed: the best score at each cost
Arena WebDev
- Mistral AI
- Anthropic
- Google DeepMind
- OpenAI
- Qwen
- Moonshot AI
- Meta
- Thinking Machines Lab
- DeepSeek
- Z.ai
- Xiaomi
- Tencent
Add the models you use to see how this one compares.
Sign inAdditional source evidence
- Source model
- mistral/devstral-2512
- Source family
- devstral
- Last updated
- 2025-12-09
- Knowledge cutoff
- 2025-12
- Model context
- 262K
- Model output limit
- 262K
- Open weights
- Yes
- File attachments
- No
- Reasoning
- No
- Tool calling
- Yes
- Temperature control
- Yes
Downloadable weights
Published benchmarks
Complete source record (JSON)
{
"id": "mistral/devstral-2512",
"name": "Devstral 2",
"description": "Mistral's coding-agent model for repository work, terminal tasks, and software fixes",
"family": "devstral",
"last_updated": "2025-12-09",
"knowledge": "2025-12",
"attachment": false,
"reasoning": false,
"tool_call": true,
"temperature": true,
"modalities": {
"input": [
"text"
],
"output": [
"text"
]
},
"limit": {
"context": 262144,
"output": 262144
},
"benchmarks": [
{
"name": "Artificial Analysis Coding Index",
"score": 23.7,
"source": "https://openrouter.ai/mistralai/devstral-2512/benchmarks",
"metric": "index",
"date": "2026-05-31"
},
{
"name": "SciCode",
"score": 33.1,
"source": "https://openrouter.ai/mistralai/devstral-2512/benchmarks",
"metric": "percent correct",
"date": "2026-05-31"
},
{
"name": "Terminal-Bench Hard",
"score": 18.9,
"source": "https://openrouter.ai/mistralai/devstral-2512/benchmarks",
"metric": "success rate",
"date": "2026-05-31"
}
],
"release_date": "2025-12-09",
"open_weights": true,
"weights": [
{
"label": "Hugging Face",
"url": "https://huggingface.co/mistralai/Devstral-2-123B-Instruct-2512"
}
]
}Frequently asked questions
Running locally
By our estimate, Devstral 2 2512 needs about 86.8 GB at Q4, 153.5 GB at Q8 and 288 GB at FP16 of VRAM. That covers the weights plus headroom for a short context, and longer contexts need more.
No, by our estimates Devstral 2 2512 does not fit fully on a 24 GB GPU even at Q4. It needs more VRAM or offloading to system memory.
Yes, a Mac with at least 128 GB of unified memory should run Devstral 2 2512 at Q4, which needs an estimated 86.8 GB. This assumes macOS gives the GPU about 75% of unified memory.
The smallest 4-bit or higher build of Devstral 2 2512 is devstral-2:latest (Q4_K_M), a 75 GB download that needs an estimated 86.8 GB of VRAM. Lower-bit builds are smaller but are not the ones we suggest.
Run ollama run devstral-2:latest to download and start Devstral 2 2512 in Ollama (75 GB). There are 2 other Ollama builds with different sizes and quantizations.
Vertical Tabs records support for Devstral 2 2512 in Ollama. It also has published Ollama builds.
The default Ollama build, devstral-2:latest, is a 75 GB download. Across 3 builds, sizes range from 75 GB to 250 GB.
API and pricing
Devstral 2 2512 is listed at $0.40 per 1M input tokens and $2.00 per 1M output tokens.
Yes, cached input for Devstral 2 2512 costs $0.04 per 1M tokens, compared with $0.40 for uncached input, a 90% discount.
A request with 10,000 input tokens and 1,000 output tokens costs about $0.006 with Devstral 2 2512 at the cheapest provider, Mistral.
1 of 1 tracked Devstral 2 2512 endpoints had 99% uptime or better over the last day. The best was Mistral at 100.0%.
Privacy and data
Mistral offers zero data retention for Devstral 2 2512, so prompts are not stored after the request.
Yes, Devstral 2 2512 has open weights, so you can run it on your own hardware and keep prompts on your own machines. The quickest start is ollama run devstral-2:latest.
Capabilities and specs
Devstral 2 2512 has a 262K token context window. It can write up to 210K output tokens per response.
Yes, Devstral 2 2512 accepts files such as PDFs as input alongside text.
Yes, Devstral 2 2512 supports tool calling (function calling), so it can request calls to tools you define.
Yes, Devstral 2 2512 supports structured output, so responses can be constrained to JSON.
No, Devstral 2 2512 is not listed with a reasoning mode.
Devstral 2 2512 has a knowledge cutoff of 2025-12, so it does not know about later events unless you provide them.
Quality and benchmarks
Devstral 2 2512 ranks #157 on Arena WebDev, using Arena's published ranks.
Similar models from other labs include GLM 4.7 (Z.ai), Qwen3.5-27B (Qwen) and GLM 4.6 (Z.ai). They are the closest matches by kind, price and release date.
GLM 4.7Devstral 2 2512 vs GLM 4.7Qwen3.5-27BDevstral 2 2512 vs Qwen3.5-27BGLM 4.6Devstral 2 2512 vs GLM 4.6
Versions and lineage
Both have a 262K token context window.
Licensing and access
Devstral 2 2512 has open weights, so you can download and run it yourself.
The Devstral 2 2512 weights are on Hugging Face at mistralai/Devstral-2-123B-Instruct-2512. There are also 3 Ollama builds.
Basics
Devstral 2 2512 was made by Mistral AI. It was released on December 9, 2025.
Yes, Devstral 2 2512 has open weights, so you can run it on your own hardware without API fees. Paid API access is listed at $0.40 per 1M input tokens and $2.00 per 1M output tokens.
Generated from Vertical Tabs data, updated November 30, 2026.


Discussion
No comments yet
Be the first to share your thoughts.