Devstral Medium is Mistral AI's language model with a 256K context window, available from 2 providers, starting at $0.400 / 1M input and $2.00 / 1M output. Mistral AI's mid-tier agentic coding model developed jointly with All Hands AI, balancing code generation performance and efficiency.
Specifications
Canonical IDmistral-devstral-medium
TypeLanguage
StatusActive
CreatorMistral AIMistral AI
Providers
Context Window256K tokens
Input ModalitiesText
Output ModalitiesText
Release Date · 11 months ago
Knowledge Cutoff
Benchmarks
Intelligence Index
18.7
#237
Coding Index
15.9
#215
Math Index
4.7
#240
MMLU-Pro
0.7
#200
GPQA
0.5
#317
HLE
0.0
#403
LiveCodeBench
0.3
#192
AIME
0.1
#133
IFBench
0.3
#327
Time to First Token
0.51s
#249
SciCode
0.3
#229
MATH-500
0.7
#123
AIME 2025
0.0
#240
LCR
0.3
#210
TerminalBench Hard
0.1
#198
TAU2
0.2
#300
Output TPS
70.9
#162

Capabilities

Input1/5
Text
Image·
Audio·
Video·
PDF·
Output1/5
Text
Image·
Audio·
Video·
Embedding·
Capabilities4/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

ProviderStandardBatch
Input
$ / 1M
Output
$ / 1M
Cache Read
$ / 1M
Input
$ / 1M
Output
$ / 1M
Mistral AI logo
Mistral AI
devstral-medium-latest
$0.400$2.00N/A$0.200$1.00
OpenRouter logo
OpenRouter
mistralai/devstral-medium
$0.400$2.00$0.040

Cost Calculator

Preset:

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
Devstral262K$0.400$2.00

Model IDs