Skip to content
Not available in this workspace
OpenRouterOpenRouter
© 2026 OpenRouter, Inc

Product

  • Chat
  • Rankings
  • Benchmarks
  • Apps
  • Discover
  • Models
  • Collections
  • Providers
  • Pricing
  • Enterprise
  • Labs

Company

  • About
  • Blog
  • Careers
    Hiring
  • Privacy
  • Terms of Service
  • Support
  • Works With OR
  • Data

Developer

  • Documentation
  • API Reference
  • Developer Platform
  • Status

Connect

  • Discord
  • GitHub
  • LinkedIn
  • X
  • YouTube
Favicon for mistralai

Mistral: Devstral Medium

mistralai/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.

Modalities

Context

131K

Released

Jul 10, 2025

Knowledge Cutoff

Jun 2025

ActivityFAQExplore

Activity

Token volume and request traffic to this model over time.

Explore more models

AI Model RankingsRanking

Frequently asked questions

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.

Devstral Medium has a 131,072 token context window.

Devstral Medium accepts text and files such as PDFs as input and returns text.

Mistral Medium 3.5, Mistral Small 4, Ministral 3 14B 2512 and 16 more are other text models from Mistral AI.

Devstral Medium was released on July 10, 2025. Its knowledge cutoff is June 30, 2025.