Mistral AI logo

Devstral Medium


Devstral Medium is Mistral AI logoMistral AI's language model with a 256K context window, available from 2 providers, starting at $0.400 / 1M input and $2.00 / 1M output. A mid-tier agentic coding model from Mistral and All Hands AI, positioned between Devstral Small and larger variants for high-performance code generation and reasoning.
Spec
Canonical IDmistral-devstral-medium
TypeLanguage
StatusActive
CreatorMistral AIMistral AI
Providers
Context Window256K tokens
Input ModalitiesText
Output ModalitiesText
Release Date · 9 months ago
Intelligence Index
18.7
#142
Coding Index
15.9
#130
Math Index
4.7
#182
MMLU-Pro
0.7
#142
GPQA
0.5
#204
HLE
0.0
#282
LiveCodeBench
0.3
#138
AIME
0.1
#108
IFBench
0.3
#219
Time to First Token
0.46s
#177
SciCode
0.3
#141
MATH-500
0.7
#98
AIME 2025
0.0
#182
LCR
0.3
#118
TerminalBench Hard
0.1
#113
TAU2
0.2
#188
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-medium-latest
$0.400$2.00N/A
OpenRouter logo
OpenRouter
mistralai/devstral-medium
$0.400$2.00$0.040

Cost Calculator

Preset:
Compares every provider & tier in USD

Other models

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

Model IDs