Note: Calculation is approximate based on public data. Prices may change, check official websites.
This calculator helps estimate the cost of using the Mistral: Devstral 2 2512 AI Model based on your input and output token usage.
The Mistral: Devstral 2 2512 is a powerful, open-source model from Mistral AI, specifically designed for agentic coding tasks. It excels in exploring codebases, orchestrating complex changes across multiple files, and maintaining architecture-level context. With a substantial 256K context window, Devstral 2 is ideal for challenges such as bug fixing and modernizing legacy systems, tracking dependencies, and retrying operations with corrections.
Pricing for Mistral: Devstral 2 2512:
- Input tokens: $0.15 per 1,000,000 tokens
- Output tokens: $0.6 per 1,000,000 tokens
The total cost is calculated using the following formula:
Total Cost = (Input Tokens / 1,000,000) * Input Rate + (Output Tokens / 1,000,000) * Output Rate
Example:
If you use 1,000,000 input tokens and 500,000 output tokens for a single request:
- Input Cost: (1,000,000 / 1,000,000) * $0.15 = $0.15
- Output Cost: (500,000 / 1,000,000) * $0.6 = $0.30
- Total Cost: $0.15 + $0.30 = $0.45