Favicon for mistralai

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.

Devstral 2 supports exploring codebases and orchestrating changes across multiple files while maintaining architecture-level context. It tracks framework dependencies, detects failures, and retries with corrections—solving challenges like bug fixing and modernizing legacy systems. The model can be fine-tuned to prioritize specific languages or optimize for large enterprise codebases. It is available under a modified MIT license.

Modalities
In / out price
$0.40 / $2per 1M
Context
262K
Released
Dec 9, 2025

Providers

This model is hosted by one provider. OpenRouter forwards every request without routing.

Pricing

The average price customers actually pay for this model, next to the prices providers post. Caching and discounts mean the price actually paid is often well below the listed one.

Weighted average

Input
$0.06567/M tokens
Output
$2/M tokens
Price history
No effective price data for this selection

Performance

Throughput is how fast the model writes (tokens per second — higher is better). Latency is total round-trip time (lower is better). TTFT is time-to-first-token — how long before you see anything appear (lower is better).

Throughput
85tok/s

P50, best across providers

Latency
1.09s

P50, best provider

Uptime

Uptime is the percentage of the past 3 days that at least one provider was responding to requests. Availability is the percentage of time that inference was successfully served. OpenRouter continuously monitors and uses the next-best provider when one returns an error.

Uptime (3d)The model was reachable. Request routed to a provider.
100.00%
Availability (3d)The model returned inference from any provider. Errors and empty responses count against it.
99.95%

Availability over the last 3 days

Last 72 hours
Availability 99.95%
3 Days Ago2 Days AgoYesterdayNow

Availability over the last 24 hours

OpenRouter Availability
99.99%

When an error occurs in an upstream provider, we can recover by routing to another healthy provider, if your request filters allow it. You can access per-provider uptime data programmatically through the Endpoints API. Learn more about our load balancing and provider routing options.

Benchmarks

Scores on standardized evaluations and this model’s own outputs on shared benchmark prompts. Higher percentages are better — and each rank shows where this model lands among the models evaluated on that source.

Benchmark score summary for Mistral: Devstral 2 2512 (Artificial Analysis and Vals AI)
SourceBenchmarkScore
Artificial AnalysisDevstral 2 Coding Index31.3
Artificial AnalysisDevstral 2 Agentic Index2.3
Artificial AnalysisDevstral 2 GPQA Diamond59.4%
Artificial AnalysisDevstral 2 HLE3.6%
Artificial AnalysisDevstral 2 IFBench38.1%
Artificial AnalysisDevstral 2 τ²-Bench Telecom24.9%
Artificial AnalysisDevstral 2 AA-LCR32.3%
Artificial AnalysisDevstral 2 τ-Bench Banking10.5%
Artificial AnalysisDevstral 2 GDPval-AA2.6%
Artificial AnalysisDevstral 2 CritPt0.0%
Artificial AnalysisDevstral 2 LiveCodeBench44.8%
Artificial AnalysisDevstral 2 SciCode32.8%
Artificial AnalysisDevstral 2 Terminal-Bench Hard18.9%
Artificial AnalysisDevstral 2 Terminal-Bench 4.00.0%
Artificial AnalysisDevstral 2 Terminal-Bench 2.130.3%
Artificial AnalysisDevstral 2 MMLU-Pro76.2%
Artificial AnalysisDevstral 2 AIME 202536.7%
Vals AIDevstral 2 IOI v10.7%
Vals AIDevstral 2 LiveCodeBench51.8%
Vals AIDevstral 2 SWE-bench62.8%
Vals AIDevstral 2 Terminal-Bench 1.043.8%

Apps

Public apps that send the most traffic to this model. Good signal for what real production workloads look like — and a hint at which use cases this model is best suited for.

1.
Favicon for https://kilocode.ai/
Kilo Code
2.64Btokens
2.
Favicon for https://nousresearch.com
Hermes Agent
678Mtokens
3.
Favicon for https://www.strix.ai/
Strix
660Mtokens
4.
Favicon for https://pi.dev/
pi
410Mtokens
5.
405Mtokens
Rest of OpenRouter
229M
Top 5 Apps
121M

Activity

Token volume and request traffic to this model over time.

API

Drop-in code to call this model. OpenRouter's API is OpenAI-compatible — most SDKs work by just swapping the base URL. The only thing that changes between models is the model slug below.

Available through EU in-region routing

Mistral: Devstral 2 2512 is available through EU in-region routing. Requests sent to eu.openrouter.ai are decrypted in the EU and routed only to shared provider endpoints in Europe (the EU/EEA, the UK, and Switzerland).

Providers in Europe
Mistral
Base URL
https://eu.openrouter.ai/api/v1
Plan
Requires Business or Enterprise. Self-serve on Business: no contract, no monthly minimum. OpenRouter Business for EU in-region routing

Fails closed: if no shared provider endpoint in Europe is available, the request errors instead of leaving the region. Requests served by your own BYOK key go to your deployment’s region, which you control. In-region routing docs

Frequently asked questions

Explore more models