Devstral Medium
Devstral Medium is Mistral's flagship code-focused model with a 131K token context window, designed for software development tasks and programming assistance.
API Pricing
| Provider | Input / 1M | Output / 1M | Speed | TTFT | Updated |
|---|---|---|---|---|---|
| $0.400 | $2.00 | 131 t/s | 437ms | 4/14/2026 |
Prices updated daily. Last check: 4/14/2026
Model Details
General
- Creator
- Mistral
- Family
- Devstral
- Tier
- Flagship
- Context Window
- 131K
- Modalities
- Text
Capabilities
- Tool Calling
- No
- Open Source
- No
- Aliases
- devstral-2512
Strengths & Limitations
- Specialized design optimized specifically for software development and programming tasks
- Large 131,072 token context window supports working with extensive codebases
- Fast inference speed at 136.84 output tokens per second for responsive coding sessions
- Quick 450ms time to first token enables interactive development workflows
- Flagship tier model represents Mistral's most capable code-focused offering
- Text-only architecture allows focused optimization for programming tasks
- Can process and maintain context across multiple code files simultaneously
- No tool calling capabilities limit integration with development environments
- Proprietary model with no open source weights available
- Text-only modality excludes image input for UI mockups or diagrams
- Limited to programming tasks compared to general-purpose flagship models
- No multimodal support for analyzing visual development resources
Key Features
About Devstral Medium
Common Use Cases
Devstral Medium is designed for professional software development workflows where code quality and context understanding are critical. Its large context window makes it ideal for complex refactoring projects, code reviews spanning multiple files, and architectural analysis of substantial codebases. Development teams use it for generating boilerplate code, debugging complex issues, creating technical documentation, and maintaining consistency across large projects. The model's fast inference speed supports interactive coding scenarios like pair programming sessions, real-time code completion, and iterative development processes where quick feedback is essential.
Frequently Asked Questions
How much does Devstral Medium cost per million tokens?
Devstral Medium pricing varies by provider and usage patterns. Check the pricing table above for current rates across all available providers offering this model.
What is Devstral Medium best used for?
Devstral Medium excels at software development tasks including code generation, debugging, refactoring, and documentation creation. Its large 131K context window makes it particularly effective for working with substantial codebases and complex programming projects that require understanding multiple related files.
How does Devstral Medium compare to general-purpose coding models?
Devstral Medium is purpose-built specifically for software development, offering specialized optimization for programming tasks that general-purpose models may not match. However, it lacks tool calling capabilities and multimodal support that some competing models provide, making it focused purely on text-based coding assistance.