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.
mistral-devstral-medium |
| Language |
| Active |
| 256K tokens |
| Text |
| Text |
| · 11 months ago |
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
| Provider | Standard | Batch | |||
|---|---|---|---|---|---|
| Input $ / 1M | Output $ / 1M | Cache Read $ / 1M | Input $ / 1M | Output $ / 1M | |
Mistral AI | $0.400 | $2.00 | N/A | $0.200 | $1.00 |
OpenRouter | $0.400 | $2.00 | $0.040 | — | — |
Cost Calculator
Preset:
Other models
| Model | Tier | Released | Context | Input / 1M | Output / 1M |
|---|---|---|---|---|---|
| Devstral 2 123B | — | 256K | $0.400 | $2.00 | |
| Devstral 2 | — | 256K | $0.400 | $2.00 | |
| Devstral Small 2 | Small | 256K | $0.100 | $0.300 | |
| Devstral | — | 262K | $0.400 | $2.00 |