Mistral logo

Devstral Medium

by Mistral

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.

Chat with Devstral Medium

Pricing

Input Tokens
Per 1M tokens
Free
Output Tokens
Per 1M tokens
Free
Image Processing
Per 1M tokens
$0.00/1M tokens

Supported Modalities

Input

text

Output

text

Performance Benchmarks

Intelligence Index
Overall intelligence score
18.7
Coding Index
Programming capability
15.5
Math Index
Mathematical reasoning
4.7
GPQA
Graduate-level questions
49.2%
MMLU Pro
Multitask language understanding
70.8%
HLE
Human-like evaluation
3.8%
LiveCodeBench
Real-world coding tasks
33.7%
AIME 2025
Advanced mathematics
4.7%
MATH 500
Mathematical problem solving
70.7%

Specifications

Context Length
131K tokens
Provider
Mistral
Throughput
113.714 tokens/s
Released
Jul 10, 2025
Model ID
mistralai/devstral-medium

Ready to try it?

Start chatting with Devstral Medium right now. No credit card required.

Start Chatting

More from Mistral

View all models