Devstral Medium
by Mistral AI
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...
Quick Facts
Provider
Mistral AI
Model ID
mistralai/devstral-medium
Modality
Text and File to Text
Tier
Premium
Last Updated
2026-07-12
Released
2025-07-10
Context Length
131K tokens
Tokenizer
Mistral
Input Price
$0.40/M
Output Price
$2.00/M
When To Use Devstral Medium
Best for
- Coding, debugging, and implementation planning
- Reasoning-heavy questions and step-by-step analysis
- Research, summarization, and document work
- Comparing Mistral AI responses against other leading AI models
Not ideal for
- High-volume casual chats where you want to conserve premium credits
- Native image generation workflows
- Prompts that require image or screenshot understanding
- Voice, speech, or audio transcription workflows
Input & Output
Accepts
Generates
Pricing
All prices are per 1 million tokens
Input
$0.40/M
Output
$2.00/M
Cache Read
$0.04/M
Capabilities
- Natural language understanding and generation
- Code generation and analysis
- Advanced reasoning and problem-solving
- Long context window for extended conversations
Example Prompts
Review this TypeScript function for edge cases, bugs, and simpler implementation options.
Turn this product requirement into a small implementation plan with tests.
Solve this problem step by step, then summarize the final answer in one paragraph.
Summarize these notes into key findings, risks, and recommended next steps.
Compare how Devstral Medium and two other models answer this prompt.
Supported Parameters
frequency_penaltymax_tokenspresence_penaltyresponse_formatseedstopstructured_outputstemperaturetool_choicetoolstop_pCompare and Use Devstral Medium
Related comparisons
Mistral vs Llama
Compare Mistral with Llama for open-model workflows.
Best AI models for coding
Compare coding-focused models for implementation, debugging, and code review.
Best AI models for research
Compare models for analysis, research synthesis, and long-context work.
Compare AI models side by side
Test Devstral Medium against GPT, Claude, Gemini, Grok, and other models.
Frequently Asked Questions
Try Devstral Medium In Related Workflows
Model pages work best when they connect to real tasks. Use these bots and utilities to test Devstral Medium against coding, research, and model-selection workflows.
Use Devstral Medium on RyddleAI
Access Devstral Medium with a RyddleAI subscription.
Compare Devstral Medium With Alternatives
Use these nearby models to test whether Devstral Medium is the right choice for your prompt, budget, and model family preference.
| Alternative | Provider | Tier | Why compare | Page |
|---|---|---|---|---|
| Mistral Medium 3.5 | Mistralai | Premium | Another Mistral AI model to compare within the same provider family | View model |
| Devstral 2 2512 | Mistralai | Premium | Another Mistral AI model to compare within the same provider family | View model |
| Qwen3.7 Max | Qwen | Premium | Same tier alternative from another provider | View model |
| Grok Build 0.1 | X-ai | Premium | Same tier alternative from another provider | View model |