Devstral 2 2512 API pricing
Mistral · checked 2026-11-21 · source
Input / 1M tokens
$0.4
Output / 1M tokens
$2
Cached input / 1M tokens
$0.04
Context window
262,144
Provider
Mistral
Cost per typical task
Computed from the prices above. The token counts are illustrative task sizes, not measurements.
| Task | Tokens | Arithmetic | Cost |
|---|---|---|---|
| Chat reply | 1,000 input + 300 output | 1,000 ÷ 1,000,000 × $0.4 + 300 ÷ 1,000,000 × $2 = $0.001000 | $0.001000 |
| Summarize a long document | 20,000 input + 1,000 output | 20,000 ÷ 1,000,000 × $0.4 + 1,000 ÷ 1,000,000 × $2 = $0.0100 | $0.0100 |
| Coding agent step (cached context) | 5,000 input + 40,000 cached input + 2,000 output | 5,000 ÷ 1,000,000 × $0.4 + 40,000 ÷ 1,000,000 × $0.04 + 2,000 ÷ 1,000,000 × $2 = $0.007600 | $0.007600 |
← Calculate the cost of your own prompt · Compare with the cheapest LLM APIs