Devstral Medium API Cost Calculator
Estimate your monthly API costs for Devstral Medium from Mistralai.
Pricing per 1M tokens
Pricing last verified: Mar 21, 2026
30-Day Price History
Solid line: input price · Dashed line: output price
Estimate Your Costs
What are you building?
Cost Breakdown
Compare with Similar Models
| Model | Input/1M | Output/1M |
|---|---|---|
| Devstral 2 2512 Mistralai | $0.4000 | $2.00 |
| Mistral Medium 3 Mistralai | $0.4000 | $2.00 |
| Mistral Medium 3.1 Mistralai | $0.4000 | $2.00 |
| Mistral Large 3 2512 Mistralai | $0.5000 | $1.50 |
| Codestral 2508 Mistralai | $0.3000 | $0.9000 |
Frequently Asked Questions
How much does Devstral Medium cost per token?
Devstral Medium is priced at $0.4000 per 1M input tokens and $2.00 per 1M output tokens. Use the calculator above to estimate your monthly costs based on your usage volume.
What is the context window for Devstral Medium?
Devstral Medium has a context window of 131.1K tokens (131,072 tokens).
Does Devstral Medium support function calling (tool use)?
Yes, Devstral Medium supports function calling (also called tool use). You can define custom functions that the model can invoke as part of its responses.
How does Devstral Medium compare to similar models?
Devstral Medium costs $0.4000 input and $2.00 output per 1M tokens. Codestral 2508 is less expensive at $0.3000 input and $0.9000 output per 1M tokens. See the "Compare with Similar Models" table above, or visit the Codestral 2508 page at /tools/cost-calculator/mistralai/codestral-2508.