Mistral AI logo

Devstral Small 2


Devstral Small 2 is Mistral AI logoMistral AI's language model with a 256K context window, starting at $0.100 / 1M input and $0.300 / 1M output. A compact open-source agentic coding model from Mistral, optimized for tool-augmented codebase exploration and multi-file editing in resource-constrained environments.
Spec
Canonical IDmistral-devstral-2-small
TypeLanguage
StatusActive
CreatorMistral AIMistral AI
Providers
Context Window256K tokens
Input ModalitiesText
Output ModalitiesText
Release Date · 12 months ago
Intelligence Index
19.5
#133
Coding Index
20.7
#95
Math Index
34.3
#114
MMLU-Pro
0.7
#163
GPQA
0.5
#186
HLE
0.0
#308
LiveCodeBench
0.3
#131
IFBench
0.3
#211
Time to First Token
0.63s
#209
SciCode
0.3
#149
AIME 2025
0.3
#114
LCR
0.2
#133
TerminalBench Hard
0.2
#79
TAU2
0.2
#165
Output TPS
71.9
#116

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-small-2
$0.100$0.300

Cost Calculator

Preset:
Compares every provider & tier in USD

Versions

VersionReleasedContextInput / 1MOutput / 1MStatus
Devstral Small 2256K$0.100$0.300Current
Devstral Small256K$0.100$0.300Available

Other models

ModelTierReleasedContextInput / 1MOutput / 1M
Devstral 2 123B256K$0.400$2.00
Devstral 2256K$0.400$2.00
Devstral 2262K$0.400$2.00
Devstral MediumMedium256K$0.400$2.00
Devstral256K$0.400$2.00
Devstral Medium 1.0128K$0.400$2.00
Devstral Small 1.1128K$0.100$0.300

Model IDs