Mistral

Devstral medium

MistralSpecialized
Tool UseStructured Output

About this model

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.

Performance Tier

Specialized

Devstral medium is a specialized model from Mistral : built for a specific domain.

Domain-specific model. Optimized for a particular task such as code generation, image creation, or web search.

Pricing

This model is included in Elosia plans
Typeper 1M tokens
Input (prompt)$0.400
Output (completion)$2.00
Cache read$0.040

Capabilities

Context Length131K
Max Output Tokens
TokenizerMistral
Inputtext
Outputtext
Release DateJuly 10, 2025

Benchmarks

Programming
HumanEval
88%
SWE-bench Verified
47.5%

Recommended Use Cases

Coding

Strengths

  • Agentic coding model designed for software development workflows
  • Good code understanding and refactoring capabilities
  • Open-weight for self-hosting and customization

Limitations

  • Lower SWE-bench scores than top coding models
  • Limited to developer-focused use cases

Resources

This model may use your data for training

Similar Models