A PRACTICAL LITTLE TOOL
Know the cost before the call.
Estimate API text token costs using your provider's current rates. Your entries stay in your browser.
How the estimate works
For each request, multiply the input token count by the input price per million, then add the output token count multiplied by the output price per million. Divide by one million, and multiply by the number of requests.
A token is a piece of text, not necessarily a word. Token counts vary by language and model. Use the provider's usage logs or official tokenizer when accuracy matters.