Devstral Small 2 is Mistral AI's language model with a 256K context window. The compact open-source variant of Devstral 2, designed for efficient agentic coding and multi-file codebase editing.
Specifications
Canonical IDmistral-devstral-2-small
TypeLanguage
StatusActive
CreatorMistral AIMistral AI
Providers
Context Window256K tokens
Input ModalitiesImageText
Output ModalitiesText
Release Date · 10 months ago
Benchmarks
Intelligence Index
#404
Coding Index
#122
Math Index
#192
MMLU-Pro
#240
GPQA
#386
HLE
#526
LiveCodeBench
#204
IFBench
#360
Time to First Token
#222
SciCode
#302
AIME 2025
#192
LCR
#325
TerminalBench Hard
#182
TAU2
#304
Output TPS
#462

Capabilities

Input2/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

US Dollar ($)
Per 1M tokens
ProviderStandard
Input
$ / 1M
Output
$ / 1M
Vercel AI Gateway logo
Vercel AI Gateway
mistral/devstral-small-2
$0.1$0.3

Cost Calculator

US Dollar ($)
Preset:

Other Models

ModelTierReleasedContextInput / 1MOutput / 1M
Devstral 2 123B—256K$0.400$2.00
Devstral 2—256K——
Devstral 2 123B Instruct——200K——
Devstral—262K$0.400$2.00
Devstral MediumMedium256K$0.400$2.00

Model IDs

devstral-small-2
mistral-devstral-2-small
mistral/devstral-small-2