Mistral AI logo

Devstral Small


Devstral Small is Mistral AI logoMistral AI's language model with a 256K context window and up to 64K output tokens, available from 3 providers, starting at $0.100 / 1M input and $0.300 / 1M output. A 24B open-weight agentic coding model from Mistral and All Hands AI, fine-tuned from Mistral Small 3.1 for software engineering agent tasks with tool use.
Spec
Canonical IDmistral-devstral-small
TypeLanguage
StatusActive
CreatorMistral AIMistral AI
Providers
Context Window256K tokens
Max Output64K tokens
Input ModalitiesText
Output ModalitiesText
Release Date · 9 months ago
Intelligence Index
15.2
#178
Coding Index
12.1
#170
Math Index
29.3
#125
MMLU-Pro
0.6
#190
GPQA
0.4
#242
HLE
0.0
#293
LiveCodeBench
0.3
#176
AIME
0.0
#140
IFBench
0.3
#171
Time to First Token
0.38s
#157
SciCode
0.2
#193
MATH-500
0.6
#115
AIME 2025
0.3
#125
LCR
0.2
#163
TerminalBench Hard
0.1
#144
TAU2
0.3
#140
Output TPS

Capabilities

Input1/5
Text
Image·
Audio·
Video·
PDF·
Output1/5
Text
Image·
Audio·
Video·
Embedding·
Capabilities3/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
Cache Read
$ / 1M
Mistral AI logo
Mistral AI
devstral-small-latest
$0.100$0.300N/A
OpenRouter logo
OpenRouter
mistralai/devstral-small
$0.100$0.300$0.010
Vercel AI Gateway logo
Vercel AI Gateway
mistral/devstral-small
$0.100$0.300N/A

Cost Calculator

Preset:
Compares every provider & tier in USD

Versions

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

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