ColinBuilds.com · Current official Mistral API pricing
Devstral 2
- Input / 1M
- $0.40
- Output / 1M
- $2.00
- Mistral-published context window
- 256,000 tokens
Devstral 2 / devstral-medium-latest on Mistral API pricing; Mistral model card lists Devstral 2 v25.12 with API ID devstral-2512 · as of July 9, 2026
Compare models
Same per-1M input/output rates as above. Enter your monthly token volumes to compare bills.
Devstral 2
- Input: 1M × $0.40 = $0.40
- Output: 1M × $2.00 = $2.00
- Total
- $2.40
GPT-4o
- Input: 1M × $2.50 = $2.50
- Output: 1M × $10.00 = $10.00
- Total
- $12.50
Difference
$10.10
GPT-4o costs $10.10 more than Devstral 2.
Popular comparisons
30 total featuring Devstral 2.
Devstral 2 is Mistral’s current Devstral coding model for software-engineering agents, codebase exploration, tool use, and multi-file editing workflows.
What this model is
Mistral’s API pricing page lists the current pricing row as Devstral 2 with the model ID devstral-medium-latest. Mistral’s model card lists Devstral 2 v25.12 with the API ID devstral-2512.
The Mistral pricing page describes Devstral 2 as an open-weights agentic coding model for autonomous software engineering. The model card marks Devstral 2 as OPEN and says it is for solving software-engineering tasks, including tool use, codebase exploration, editing multiple files, and powering software-engineering agents.
Pricing notes
The calculator on this page uses Mistral’s official API pricing row for Devstral 2 / devstral-medium-latest: $0.40 per 1M input tokens and $2.00 per 1M output tokens.
This is Mistral official API pricing, not an OpenRouter, cloud marketplace, or reseller route. The exact model-card ID checked is devstral-2512; the pricing page presents the current API pricing row under devstral-medium-latest.
Benchmarks and specs
Mistral’s model card lists Devstral 2 v25.12 with the API ID devstral-2512, an OPEN badge, a 256k-token context window, and a deprecation date of 2026-05-22 with Mistral Medium 3.5 listed as the replacement.
No benchmark score is shown until an exact benchmark source and model identity are matched to Devstral 2.
Best fit
Devstral 2 is best for Mistral API comparisons focused on coding agents, repository exploration, tool-using software engineering workflows, and multi-file editing.
For broader general assistant or multimodal work, compare against Mistral Medium 3.5. For lower-cost coding-agent experiments, compare against Devstral Small 2.