Model: Mistral: Devstral Small 2505, Context: 32768, Cost: $0.02 per 1M input tokens, $0.08 per 1M output tokens
Note: Calculation is approximate based on public data. Prices may change, check official websites.
Estimate the cost of using Mistral: Devstral Small 2505. This powerful model offers a context window of 32768 tokens.
Pricing is based on token usage: input tokens cost $0.02 per 1 million tokens, and output tokens cost $0.08 per 1 million tokens.
Formula:
Total Cost = (Number of Input Tokens / 1,000,000 * Input Cost per 1M Tokens + Number of Output Tokens / 1,000,000 * Output Cost per 1M Tokens) * Number of Requests
Example:
For 100,000 input tokens, 50,000 output tokens, and 5 requests:
Input Cost: (100,000 / 1,000,000) * $0.02 * 5 = $0.50
Output Cost: (50,000 / 1,000,000) * $0.08 * 5 = $0.20
Total Cost: $0.50 + $0.20 = $0.70