Author's Description
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.
Key Specifications
Supported Parameters
This model supports the following parameters:
Features
This model supports the following features:
Performance Summary
Mistral: Devstral Medium, developed by Mistral AI and All Hands AI, demonstrates a strong performance profile, particularly in its intended domain of code generation and agentic reasoning. The model exhibits competitive response times, performing among the average speed models (52nd percentile), and offers competitive pricing, positioned around the average cost models (51st percentile). A standout feature is its exceptional reliability, achieving a perfect 100th percentile, indicating minimal technical failures and consistent evaluable responses. In benchmark performance, Devstral Medium excels in coding tasks, achieving 88.0% accuracy in the Coding (Baseline) benchmark, placing it in the 76th percentile. It also shows perfect accuracy in Email Classification, Ethics, and General Knowledge, often being the most accurate model at its price point and speed for these categories. While strong in instruction following (65.0% accuracy, 78th percentile), its performance in Reasoning (50.0% accuracy, 37th percentile) indicates a relative weakness compared to its other capabilities. Overall, Devstral Medium is a highly reliable and cost-effective solution, particularly for code-centric applications, with strong general knowledge and ethical alignment, though its reasoning capabilities could see further enhancement.
Model Pricing
Current Pricing
Feature | Price (per 1M tokens) |
---|---|
Prompt | $0.4 |
Completion | $2 |
Price History
Available Endpoints
Provider | Endpoint Name | Context Length | Pricing (Input) | Pricing (Output) |
---|---|---|---|---|
Mistral
|
Mistral | mistralai/devstral-medium-2507 | 131K | $0.4 / 1M tokens | $2 / 1M tokens |
Benchmark Results
Benchmark | Category | Reasoning | Free | Executions | Accuracy | Cost | Duration |
---|
Other Models by mistralai
|
Released | Params | Context |
|
Speed | Ability | Cost |
---|---|---|---|---|---|---|---|
Mistral: Mistral Medium 3.1 | Aug 13, 2025 | — | 262K |
Text input
Image input
Text output
|
★★ | ★★★★ | $$$$ |
Mistral: Codestral 2508 | Aug 01, 2025 | ~2.5B | 256K |
Text input
Text output
|
★★ | ★★ | $$$ |
Mistral: Devstral Small 1.1 | Jul 10, 2025 | ~24B | 131K |
Text input
Text output
|
★★★ | ★★★★ | $$ |
Mistral: Mistral Small 3.2 24B | Jun 20, 2025 | 24B | 131K |
Text input
Image input
Text output
|
★★★★ | ★★★★ | $$ |
Mistral: Magistral Small 2506 | Jun 10, 2025 | ~24B | 40K |
Text input
Text output
|
★★ | ★★★ | $$$$ |
Mistral: Magistral Medium 2506 | Jun 07, 2025 | — | 40K |
Text input
Text output
|
★★★ | ★★★★ | $$$$$ |
Mistral: Devstral Small 2505 | May 21, 2025 | ~24B | 128K |
Text input
Text output
|
★★★★★ | ★★★★★ | $ |
Mistral: Mistral Medium 3 | May 07, 2025 | — | 131K |
Text input
Image input
Text output
|
★★★ | ★★★★★ | $$$$ |
Mistral: Mistral Small 3.1 24B | Mar 17, 2025 | 24B | 131K |
Text input
Image input
Text output
|
★★★★ | ★★★★ | $$ |
Mistral: Saba | Feb 17, 2025 | ~24B | 32K |
Text input
Text output
|
★★★ | ★★★★ | $$ |
Mistral: Mistral Small 3 | Jan 30, 2025 | 24B | 32K |
Text input
Text output
|
★★★★★ | ★★★★★ | $ |
Mistral: Codestral 2501 | Jan 14, 2025 | ~2.5B | 262K |
Text input
Text output
|
★★★ | ★★★ | $$$ |
Mistral Large 2411 | Nov 18, 2024 | ~32B | 131K |
Text input
Text output
|
★★★ | ★★★★ | $$$$$ |
Mistral Large 2407 | Nov 18, 2024 | ~32B | 131K |
Text input
Text output
|
★★★★ | ★★★★ | $$$$ |
Mistral: Pixtral Large 2411 | Nov 18, 2024 | ~124B | 131K |
Text input
Image input
Text output
|
★★ | ★★★★ | $$$$$ |
Mistral: Ministral 3B | Oct 16, 2024 | 3B | 32K |
Text input
Text output
|
★★★★★ | ★★★ | $ |
Mistral: Ministral 8B | Oct 16, 2024 | 8B | 128K |
Text input
Text output
|
★★★ | ★★★ | $$ |
Mistral: Pixtral 12B | Sep 09, 2024 | 12B | 32K |
Text input
Image input
Text output
|
★★★★ | ★★ | $$ |
Mistral: Mistral Nemo | Jul 18, 2024 | ~12B | 131K |
Text input
Text output
|
★★★★ | ★★ | $ |
Mistral: Mistral 7B Instruct | May 26, 2024 | 7B | 32K |
Text input
Text output
|
★★★★★ | ★★ | $$ |
Mistral: Mistral 7B Instruct v0.3 | May 26, 2024 | 7B | 32K |
Text input
Text output
|
★★★★★ | ★★ | $$ |
Mistral: Mixtral 8x22B Instruct | Apr 16, 2024 | 22B | 65K |
Text input
Text output
|
★★★ | ★★ | $$$$ |
Mistral Large | Feb 25, 2024 | ~32B | 128K |
Text input
Text output
|
★★★★ | ★★★ | $$$$ |
Mistral Medium Unavailable | Jan 09, 2024 | — | 32K |
Text input
Text output
|
★★★★ | ★★★ | $$$$ |
Mistral Tiny | Jan 09, 2024 | ~7B | 32K |
Text input
Text output
|
★★★★ | ★★ | $$$ |
Mistral Small | Jan 09, 2024 | ~22B | 32K |
Text input
Text output
|
★★★★ | ★★ | $$$ |
Mistral: Mistral 7B Instruct v0.2 Unavailable | Dec 27, 2023 | 7B | 32K |
Text input
Text output
|
★★★★★ | ★★ | $$$ |
Mistral: Mixtral 8x7B Instruct | Dec 09, 2023 | 56B | 32K |
Text input
Text output
|
★★★★★ | ★★ | $$ |
Mistral: Mistral 7B Instruct v0.1 | Sep 27, 2023 | 7B | 2K |
Text input
Text output
|
★★★★ | ★★ | $$ |