Devstral Medium
ActiveDevstral 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...
Overview
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...
History
Devstral Medium became available via the Mistral AI API on 2025-07-10.
Training & availability
Training data has a knowledge cutoff of 2025-06-30 — information about events after that date is unlikely to appear in the model's responses. Mistral AI has not released the underlying model weights — access is via their hosted API only.
Capabilities
-
Context window: 131K tokens.
-
Input modalities: text.
Limitations
- Text-only — cannot process images, audio, or video inputs.
Pricing
- Input: $0.4000 per 1M tokens
- Output: $2.0000 per 1M tokens
Use the cost calculator above to estimate monthly spend for your workload.
Quick start
Minimal example using the OpenRouter API. Copy, paste, replace the key.
from openai import OpenAI
client = OpenAI(
base_url="https://openrouter.ai/api/v1",
api_key="sk-or-...",
)
resp = client.chat.completions.create(
model="mistral/devstral-medium",
messages=[{"role": "user", "content": "Explain quantum computing in one sentence."}],
)
print(resp.choices[0].message.content)Cost calculator
Estimate your monthly bill. Presets are typical workload sizes.
Integrations & tooling support
- Tool calling
- Not supported
- Structured outputs
- Not supported
Price vs quality
Standard pricing band. Quality tier pending more benchmark coverage.
- Quality percentile
- —
- Effective price
- $1.6/1M
- Pricing breakdown
- $0.4/1M in
$2/1M out
Community ratings
Rate Devstral Medium
Sign in to rate and review.
Comments
Sign in to leave a comment.