Devstral 2

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.

mistral/devstral-2512
Organization
Mistral
Family
devstral
Providers
13
Context
262,144
Output limit
262,144
Knowledge
2025-12
Release
2025-12-09
Updated
2025-12-09
Weights
Open
Input
text
Output
text
Capabilities
Tools, Temperature

Providers

Compare every cataloged offer for this model, including its provider, route, token limits, price, and capabilities.

13 offers · USD per million tokens
ProviderModel IDContextOutputInput / output · 1MReasoningToolsStructuredDetails
Amazon Bedrock
mistral.devstral-2-123b
262,1448,192$0.40 / $2.00NoYesYes
View
AnyAPI
mistralai/devstral-2512
262,144262,144— / —NoYes—
View
Cortecs
devstral-2512
256,000256,000$0.478 / $2.392NoYesYes
View
DevPass (LLM Gateway)
devstral-2512
262,144262,144$0.40 / $2.00NoYes—
View
Eden AI
mistral/devstral-2512
262,144262,144$0.40 / $2.00NoYesYes
View
GreenPT
devstral-2-123b-instruct-2512
200,00016,384$0.57 / $2.736NoYes—
View
InferX
Devstral-2-123B-Instruct-2512-int4-AutoRound
128,000128,000$0.00 / $0.00NoYes—
View
Kilo Gateway
mistralai/devstral-2512
262,144209,715$0.40 / $2.00NoYesYes
View
LLM Gateway
mistral/devstral-2512
262,144262,144$0.40 / $2.00NoNoNo
View
Merge Gateway
mistral/devstral-2512
256,000256,000$0.40 / $2.00NoYesYes
View
Mistralvia OpenRouter
mistralai/devstral-2512
unknown
262,144209,715$0.40 / $2.00NoYesYes
View
Opper
devstral-2512
256,0008,192$0.40 / $2.00NoYesYes
View
Pioneer
devstral-2
256,000131,072$0.40 / $2.00NoYes—
View

Prices and limits apply to each offer. A dash means the value is not provided. OpenRouter offers show the hosting provider and routing channel separately.

Pricing

Compare token rates and cache charges across available routes and hosting configurations.

USD per million tokens
Input from$0.00Per 1M input tokens
Output from$0.00Per 1M output tokens
Available offers13Across 13 providers

Lowest listed input and output prices across the offers above; they may belong to different providers. These are base rates, before conditional pricing, discounts or additional fees.

Endpoint price comparisonLatest observed snapshot · 1 lowest-priced configuration
InputOutput
Mistralmistral/eu
$0.40$2.00
mistralai/devstral-2512Observed
Input
$0.40
Output
$2.00
Cache read
$0.04
Hosting prices through OpenRouter All endpoints and cache rates
EndpointInput / 1MOutput / 1MCache read / 1MCache write / 1M
Mistralmistral/eu$0.40$2.00$0.04—

Each row is a hosting configuration. Open an offer in Providers for its full pricing conditions and additional fees. Endpoint observations may differ from the routing catalog's base price.

Performance

Review reported latency and output-throughput percentiles from the latest observed rolling window.

Latest 30-minute observation

Time to first token · milliseconds

Latency distributionRolling 30-minute snapshot · 1 endpoint
P50P75P90P99
Mistralmistral/eu
983.5–28,152.93 ms
All latency percentiles 1 endpoints
EndpointP50P75P90P99
Mistralmistral/eu983.5 ms1,483 ms2,951.1 ms28,152.93 ms

Output throughput · tokens per second

Throughput distributionRolling 30-minute snapshot · 1 endpoint
P50P75P90P99
Mistralmistral/eu
99–173.24 t/s
All throughput percentiles 1 endpoints
EndpointP50P75P90P99
Mistralmistral/eu99 t/s124 t/s140.6 t/s173.24 t/s

Percentiles describe the observed request distribution. These are snapshots of a rolling window, not a historical time series.

Uptime

Compare successful request rates across the latest 5-minute, 30-minute, and 24-hour observations.

Successful requests by window
Availability by endpointCurrent overlapping windows · 1 endpoint
Endpoint5 minutes30 minutes24 hours
Mistralmistral/eu

Reported by OpenRouter at the time of collection; rate-limited requests are excluded. A dash means no measurement was reported. This is not a live availability check.

Benchmarks

Review attributed evaluation results on each source's original scale.

External evaluations
mistralai/devstral-2512Observed
Benchmark profileArtificial Analysis · shared source scale from 0 to 40
Coding31.3
Agentic2.3
Intelligence8.6

Sources: Artificial Analysis and Design Arena, via OpenRouter. Scores retain their original scales and are not OpenAI Suite ratings.

Detailed evaluations

EvaluationConfigurationSourceResultsDetails
Composite indicesDevstral 2mistralai/devstral-2512Artificial AnalysisIntelligence 8.6 · Coding 31.3 · Agentic 2.3
Details

Sources: Artificial Analysis, Design Arena and OpenRouter. Evaluation configurations and scales differ; results are not interchangeable. Updated Oct 4, 2026.

Technical details & API

Explore specifications, supported parameters, reasoning controls, and API identifiers for each OpenRouter route.

Current route specifications
mistralai/devstral-2512Observed
Context
262,144
Maximum output
209,715
Tokenizer
Mistral
Input
text, file
Output
text
Moderation
No
Added to OpenRouter
2025-12-09
Base URLhttps://openrouter.ai/api/v1
Model IDmistralai/devstral-2512
Version IDmistralai/devstral-2512
Weights IDmistralai/Devstral-2-123B-Instruct-2512

Supported parameters

  • frequency_penalty
  • max_tokens
  • presence_penalty
  • response_format
  • seed
  • stop
  • structured_outputs
  • temperature
  • tool_choice
  • tools
  • top_p

Default parameters

temperature
0.3

Frequently asked questions

Answers based on the model metadata and serving offers currently in the catalog.

How much does Devstral 2 cost?

Listed rates start at $0.00 per million input tokens and $0.00 per million output tokens. Prices vary by provider and configuration; see Pricing for details.

Which providers offer Devstral 2?

There are 13 cataloged offers across 13 providers. Compare model IDs, prices and limits in Providers.

What is the context window?

The cataloged model context is 262,144 tokens. Each serving endpoint may apply a different limit.

Does it support tools and structured output?

Tool calling: Yes. Structured output: Not reported. Support can vary by endpoint.

Resources

Catalog history · 2 recorded revisions

Metadata observations since this model was first cataloged. These are not model release versions.

  • · 91dda25e3717
  • · 530387ab2a66