mistralai

Mistral: Devstral Medium

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.

Input Cost
$0.40
per 1M tokens
Output Cost
$2.00
per 1M tokens
Context Window
131,072
tokens
Compare vs GPT-4o
Developer ID: mistralai/devstral-medium

Related Models

mistralai
$0.06/1M

Mistral: Mistral Small 3.2 24B

Mistral-Small-3.2-24B-Instruct-2506 is an updated 24B parameter model from Mistral optimiz...

📝 131,072 ctx Compare →
mistralai
$0.10/1M

Mistral: Devstral Small 1.1

Devstral Small 1.1 is a 24B parameter open-weight language model for software engineering ...

📝 131,072 ctx Compare →
mistralai
$0.30/1M

Mistral: Codestral 2508

Mistral's cutting-edge language model for coding released end of July 2025. Codestral spec...

📝 256,000 ctx Compare →