Mistral AI logo

Devstral 2


Devstral 2 is Mistral AI logoMistral AI's language model with a 256K context window, starting at $0.400 / 1M input and $2.00 / 1M output. Enterprise-grade agentic coding model from Mistral, excelling at tool-augmented codebase exploration, multi-file editing, and software engineering agent workflows.
Spec
Canonical IDmistral-devstral-2
TypeLanguage
StatusActive
CreatorMistral AIMistral AI
Providers
Context Window256K tokens
Input ModalitiesText
Output ModalitiesText
Release Date · 4 months ago
Intelligence Index
22.0
#117
Coding Index
23.7
#77
Math Index
36.7
#108
MMLU-Pro
0.8
#101
GPQA
0.6
#158
HLE
0.0
#298
LiveCodeBench
0.4
#104
IFBench
0.4
#147
Time to First Token
0.66s
#211
SciCode
0.3
#110
AIME 2025
0.4
#108
LCR
0.3
#115
TerminalBench Hard
0.2
#67
TAU2
0.2
#157
Output TPS
72.1
#115

Capabilities

Input1/5
Text
Image·
Audio·
Video·
PDF·
Output1/5
Text
Image·
Audio·
Video·
Embedding·
Capabilities1/13
Reasoning·
Adaptive Reasoning·
Function Calling
Parallel Function Calling·
Structured Outputs·
Native JSON Schema·
Web Search·
URL Context·
Computer Use·
Code Execution·
File Search·
Prompt Caching·
Assistant Prefill·

Pricing by Provider

ProviderStandard
Input
$ / 1M
Output
$ / 1M
Vercel AI Gateway logo
Vercel AI Gateway
mistral/devstral-2
$0.400$2.00

Cost Calculator

Preset:
Compares every provider & tier in USD

Versions

VersionReleasedContextInput / 1MOutput / 1MStatus
Devstral 2 123B256K$0.400$2.00Available
Devstral 2256K$0.400$2.00Current
Devstral Small 2256K$0.100$0.300Available
Devstral 2262K$0.400$2.00Available
Devstral Medium256K$0.400$2.00Available
Devstral Small256K$0.100$0.300Available
Devstral256K$0.400$2.00Available
Devstral Medium 1.0128K$0.400$2.00Available
Devstral Small 1.1128K$0.100$0.300Available

Model IDs