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

About Mistral: Devstral Medium

OpenRouter makes Mistral: Devstral Medium by Mistral AI available through a unified, OpenAI-compatible API using the model ID mistralai/devstral-medium.

Mistral: Devstral Medium accepts text and files such as PDFs and returns text. It has a 131,072-token context window.

It was released on July 10, 2025; its knowledge cutoff is June 30, 2025.

More models from Mistral AI

  • Voxtral Small 24B 2507 STT
  • Voxtral Mini 3B 2507
  • Voxtral Mini Transcribe

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 15 more are other text models from Mistral AI.

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

ActivityFAQ

Activity

Token volume and request traffic to this model over time.