Devstral Medium: Pricing, Context Window & Benchmarks
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.
What you can do with Devstral Medium
Everyday Q&A and clear explanations
Writing help (emails, posts, summaries)
Idea generation and brainstorming
Learning support with step-by-step guidance
Composite Indices
Intelligence, Coding, Math
Standard Benchmarks
Academic and industry benchmarks
Benchmark Highlights
| Metric | Value |
|---|---|
| Provider | Mistral |
| Context Window | 131,072 tokens |
| Input Price | $0.40/1M tokens |
| Output Price | $2.00/1M tokens |
| Release Date | Jul 10, 2025 |
| Modalities | text |
| Capabilities | N/A |
Compare Devstral Medium to other models
See how it stacks up on price, quality, and overall performance.
Frequently asked questions
What is Devstral Medium good for?
Use Devstral Medium for everyday tasks like writing, summarizing, brainstorming, and getting clear explanations.
How much does Devstral Medium cost?
Pricing is based on usage. Current rates are $0.40/1M tokens for input and $2.00/1M tokens for output.
Can I try Devstral Medium for free?
Yes. You can start a chat instantly and test the model before deciding on a plan.
Does Devstral Medium support images or audio?
Devstral Medium focuses on text-based tasks.
Suggested comparisons
Similar models
Benchmarks and pricing are sourced from Artificial Analysis where available. OpenRouter specs are used as a fallback.
Compare Models
Select a model to compare with Devstral Medium