AI Token Cost Calculator
Enter the input and output tokens per request plus your provider's price per million tokens, and this calculator estimates the cost per request and the total across any number of requests. You supply the prices, so nothing is fabricated or out of date — and it all runs in your browser: free, instant, and no sign-up.
Enter the input and output tokens and your per-million prices to estimate the cost. You supply the prices, so nothing is out of date.
Frequently asked questions
Multiply your input tokens by the input price per million, and your output tokens by the output price per million, then add the two. For example, 1,000 input tokens at $3 per million plus 500 output tokens at $15 per million costs $0.003 + $0.0075 = $0.0105 per request. Enter your numbers above and the calculator totals it, including across many requests.
Most providers return token usage in the API response (a usage object with input and output token counts) or in your account's usage dashboard, and they publish per-million-token prices on their pricing page. Because you enter the prices yourself, the estimate stays accurate even as prices change — this tool never assumes a model's price for you.
As a rough guide, one token is about 4 characters or three-quarters of a word in English, so roughly 750 words is about 1,000 tokens. This varies by model and language, so for exact counts use your provider's tokenizer or the token count returned with each API call — treat any word-based estimate as approximate.
Yes — free, no sign-up, and every calculation runs in your browser, so your token counts and prices are never uploaded or stored.
More free tools
JSON Formatter
Beautify, minify, and validate JSON — nothing leaves your browser.
Try toolBase64 Encode / Decode
Encode text to Base64 or decode it back — right in your browser.
Try toolURL Encode / Decode
Percent-encode text for URLs or decode it back to readable text.
Try toolUUID Generator
Generate random v4 UUIDs — one or many, instantly.
Try toolUnix Timestamp Converter
Convert Unix timestamps to dates and back — in seconds or milliseconds.
Try toolRegex Tester
Test regular expressions live with match highlighting and capture groups.
Try toolReady to take control of your subscriptions?
Track every subscription, catch renewals before they hit, and stop paying for what you don't use — no bank connection required.
- No bank connection required
- No credit card to start
- Works in any country & currency
- Reminders before every charge
- One-time pricing, no recurring fee
- 30-day money-back guarantee
