Mistral logo

Mistral: 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.

Chat with Mistral: Devstral Medium
Input Price
$0.40/1M tokens
Output Price
$2.00/1M tokens
Context Window
131,072 tokens
Modalities
text

What you can do with Mistral: Devstral Medium

Everyday Q&A and clear explanations

Writing help (emails, posts, summaries)

Idea generation and brainstorming

Learning support with step-by-step guidance

Benchmarks not available

This model isn't listed on Artificial Analysis yet. Showing OpenRouter specs below.

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 Function Calling, Structured Outputs, JSON Mode

Compare Mistral: Devstral Medium to other models

See how it stacks up on price, quality, and overall performance.

Frequently asked questions

What is Mistral: Devstral Medium good for?

Use Mistral: Devstral Medium for everyday tasks like writing, summarizing, brainstorming, and getting clear explanations.

How much does Mistral: 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 Mistral: Devstral Medium for free?

Yes. You can start a chat instantly and test the model before deciding on a plan.

Does Mistral: Devstral Medium support images or audio?

Mistral: Devstral Medium focuses on text-based tasks.

Pricing, context, and capability data are sourced from OpenRouter.