Note: Calculation is approximate based on public data. Prices may change, check official websites.
Calculate the estimated cost associated with using the Auto Router model based on input and output tokens. This tool helps you understand the financial implications of your token usage.
The Auto Router model has a context window of 2,000,000 tokens. The cost is calculated as follows:
- Input Tokens: $-1,000,000 per 1 million tokens
- Output Tokens: $-1,000,000 per 1 million tokens
Formula:
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: If you use 500,000 input tokens and 200,000 output tokens for 2 requests, the cost would be:
((500,000 / 1,000,000) * $-1,000,000) + ((200,000 / 1,000,000) * $-1,000,000)) * 2 = (0.5 * $-1,000,000) + (0.2 * $-1,000,000) * 2 = ($-500,000) + ($-200,000) * 2 = $-700,000 * 2 = $-1,400,000
Note: Calculations are estimates. Actual costs may vary based on usage and any provider-specific pricing changes.