AI Token Cost Calculator (GPT, Claude, Gemini)
Estimate API cost from input/output tokens and model. Compare GPT-4, Claude, Gemini pricing. Free.
Parameters
Enter the required details below
Ready to Calculate
Enter your parameters and click calculate to see the results here.
How to Use
- Enter Input Tokens.
- Enter Output Tokens.
- Choose AI Model.
- Click Calculate to see Input Cost, Output Cost, Total Cost and Total Tokens.
- Check the result. Use Reset if you want to try different numbers.
About This Calculator
Token cost is (input tokens × input price + output tokens × output price) per million tokens. Pick a listed model or enter custom $/1M rates. Prices change; treat the result as an estimate.
Frequently asked questions
How do you calculate AI token cost?+
Multiply tokens by the vendor’s price per 1M input and output tokens, then add. Output is often more expensive than input.
Is AI Token Cost Calculator free to use?+
Yes. AI Token Cost Calculator is free and does not require an account. The calculation runs in your browser.
Related Calculators
Video File Size Calculator
Estimate video file size based on resolution, duration, and fps.
Download Time Calculator
Calculate how long it will take to download a file based on file size and internet speed
Opportunity Cost Calculator
Calculate the opportunity cost of choosing one investment over another