Model: Mistral: Codestral 2501, Context: 262144, Cost: $0.3 per 1M input tokens, $0.9 per 1M output tokens
Note: Calculation is approximate based on public data. Prices may change, check official websites.
Effortlessly estimate the costs associated with using the Mistral Codestral 2501 model. This calculator allows you to input the number of input tokens, output tokens, and requests to get a precise cost estimation.
The Mistral Codestral 2501 features:
- Input Token Cost: $0.3 per 1 million tokens
- Output Token Cost: $0.9 per 1 million tokens
- Context Window: 262,144 tokens
Formula:
Total Cost = (Input Tokens / 1,000,000 * Input Cost per 1M) + (Output Tokens / 1,000,000 * Output Cost per 1M)
Example:
For 50,000 input tokens and 10,000 output tokens in a single request:
(50,000 / 1,000,000 * $0.3) + (10,000 / 1,000,000 * $0.9) = $0.015 + $0.009 = $0.024
You can also choose to calculate the cost in EUR by providing the current exchange rate.