devstral-medium by mistralai - AI Model Details, Pricing, and Performance Metrics
devstral-medium
completionsdevstral-medium
Devstral Medium is a high-performance code generation and agentic reasoning model developed jointly by Mistral AI and All Hands AI. Positioned as a step up from Devstral Small, it achieves 61.6% on SWE-Bench Verified, placing it ahead of Gemini 2.5 Pro and GPT-4.1 in code-related tasks, at a fraction of the cost. It is designed for generalization across prompt styles and tool use in code agents and frameworks. Devstral Medium is available via API only (not open-weight), and supports enterprise deployment on private infrastructure, with optional fine-tuning capabilities.
Devstral Medium is a high-performance code generation and agentic reasoning model developed jointly by Mistral AI and All Hands AI. Positioned as a step up from Devstral Small, it achieves 61.6% on SWE-Bench Verified, placing it ahead of Gemini 2.5 Pro and GPT-4.1 in code-related tasks, at a fraction of the cost. It is designed for generalization across prompt styles and tool use in code agents and frameworks. Devstral Medium is available via API only (not open-weight), and supports enterprise deployment on private infrastructure, with optional fine-tuning capabilities.
Provider | Input | Output |
---|---|---|
$0.4 / 1M tokens | $2 / 1M tokens | |
$0.4 / 1M tokens | $2 / 1M tokens |
Providers | Context | Input Price | Output Price | Input Formats | Output Formats |
---|---|---|---|---|---|
128K tokens | $0.4 / 1M tokens | $2 / 1M tokens | text | text | |
131072 tokens | $0.4 / 1M tokens | $2 / 1M tokens | text | text |
Access devstral-medium through LangDB AI Gateway
Integrate with mistralai's devstral-medium and 250+ other models through a unified API. Monitor usage, control costs, and enhance security.
Free tier available • No credit card required
Category Scores
Benchmark Tests
Metric | AIME | AA Coding Index | AAII | AA Math Index | GPQA | HLE | LiveCodeBench | MATH-500 | MMLU-Pro | SciCode |
---|---|---|---|---|---|---|---|---|---|---|
Score | 6.7 | 31.5 | 27.9 | 4.7 | 49.2 | 3.8 | 33.7 | 70.7 | 70.8 | 29.4 |
Compare with Similar Models
Code Examples
Integration samples and API usage
Related Models
Similar models from mistralai