Devstral 2 API Pricing
Short answer
Devstral 2 costs $0.40 per 1M input tokens and $2.00 per 1M output tokens . Context window: 256K. Last verified 2026-06-17 from mistral.ai. Confidence: Verified.
Devstral 2 is Mistral's open-weight coding model, the successor to Codestral for agentic code workflows.
Input
$0.40 /1M
Output
$2.00 /1M
Cached input
— /1M
Input pricing$0.40
Output pricing$2.00
Limits & capabilities
Context window256K
Max output—
Modalitytext input/output
ChannelLa Plateforme
ProviderMistral
Best for
Open weightCodingAgentic
Open-weight. Tuned for code generation and tool use.
Last checked Verified
More from Mistral
Mistral Large 3
$0.50 /1M in
$1.50 /1M out
Open weight, Agentic, Multilingual
Mistral Medium 3.5
$1.50 /1M in
$7.50 /1M out
Balanced, Enterprise
Mistral Small 4
$0.10 /1M in
$0.30 /1M out
Open weight, Low cost, Edge