devstral-medium by mistralai - AI Model Details, Pricing, and Performance Metrics

mistralai
devstral-medium
Try
mistralai

devstral-medium

completions
bymistralai

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.

Released
Jul 10, 2025
Knowledge
Jan 11, 2025
Context
128K
Input
$0.4 / 1M tokens
Output
$2 / 1M tokens
Capabilities: tools
Accepts: text
Returns: text

Access devstral-medium through LangDB AI Gateway

Recommended

Integrate with mistralai's devstral-medium and 250+ other models through a unified API. Monitor usage, control costs, and enhance security.

Unified API
Cost Optimization
Enterprise Security
Get Started Now

Free tier available • No credit card required

Instant Setup
99.9% Uptime
10,000+Monthly Requests

Category Scores

Benchmark Tests

View Other Benchmarks
HLE
3.8
General Knowledge
AIME
6.7
Mathematics
GPQA
49.2
STEM (Physics, Chemistry, Biology)
SciCode
29.4
Scientific
MATH-500
70.7
Mathematics
MMLU-Pro
70.8
General Knowledge
LiveCodeBench
33.7
Programming
AA Math Index
4.7
Mathematics
AA Coding Index
23.9
Programming
AAII
27.9
General

Code Examples

Integration samples and API usage