Mistral: Devstral Medium

File input Text input Text output Unavailable
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...

Key Specifications
Cost
$$$
Context
131K
Released
Jul 10, 2025
Speed
Ability
Reliability
Supported Parameters

This model supports the following parameters:

Stop Max Tokens Structured Outputs Tools Tool Choice Response Format Seed Top P Frequency Penalty Presence Penalty Temperature
Features

This model supports the following features:

Response Format Tools Structured Outputs
Performance Summary

Mistral: Devstral Medium, created on July 10, 2025, is a high-performance code generation and agentic reasoning model from Mistral AI and All Hands AI. It performs among the fastest models, ranking in the 70th percentile for speed across benchmarks, and offers competitive pricing, placing in the 55th percentile. Notably, Devstral Medium demonstrates exceptional reliability with a 100% success rate, indicating minimal technical failures. The model excels in several areas, achieving perfect 100% accuracy in Hallucinations (Baseline), General Knowledge (Baseline), Ethics (Baseline), and Email Classification (Baseline). These results highlight its strong foundational understanding and ability to avoid factual errors and classify information accurately. Its performance in Mathematics (90.0% accuracy) and Coding (88.0% accuracy) is also strong, positioning it well for its intended use in code-related tasks, where it surpasses Gemini 2.5 Pro and GPT-4.1 on SWE-Bench Verified. However, the model shows notable weaknesses in Instruction Following (65.0% accuracy) and Reasoning (64.0% accuracy), suggesting areas for potential improvement in handling complex, multi-step directives and abstract problem-solving.

Model Pricing

Current Pricing

Feature Price (per 1M tokens)
Prompt $0.4
Completion $2
Input Cache Read $0.04

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 Strategy Free Executions Accuracy Cost Duration
Other Models by mistralai