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

Related comparisons