Calculate AI token costs per request, day, month and year — editable pricing per 1M tokens for any model.
Calculate AI token costs per request, day, month and year — editable pricing per 1M tokens for any model.
Enter values above and click Calculate — results will appear here with the formula explained.
AI pricing is per million tokens, separate for input, cached input and output. Output is typically 2-5× input price. Cached input is cheaper (often 10%). Multiply tokens by price to get cost per request, then by requests per day for daily/monthly/yearly.
All model pricing is user-editable so the calculator stays correct when providers change prices. Enter current pricing from provider docs (OpenAI, Anthropic, Google).
Advertisement
AdSense ready — add NEXT_PUBLIC_GOOGLE_ADSENSE_PUBLISHER_ID
AI pricing is per million tokens, separate for input, cached input and output. Output is typically 2-5× input price. Cached input is cheaper (often 10%). Multiply tokens by price to get cost per request, then by requests per day for daily/monthly/yearly. Formula: Cost/request = input/1M×inputPrice + cached/1M×cachedPrice + output/1M×outputPrice; Cost/day = cost/request×requests; Month = day×30; Year = day×365
AI Token Cost Calculator: Calculate AI token costs per request, day, month and year — editable pricing per 1M tokens for any model. Formula: Cost/request = input/1M×inputPrice + cached/1M×cachedPrice + output/1M×outputPrice. Example: 2,000 input at $5/1M = $0.
Calculate AI token costs per request, day, month and year — editable pricing per 1M tokens for any model. Formula: Cost/request = input/1M×inputPrice + cached/1M×cachedPrice + output/1M×outputPrice; Cost/day = cost/request×requests; Month = day×30; Year = day×365
| Field | What to enter |
|---|---|
| Input tokens | e.g. 2000 |
| Output tokens | e.g. 500 |
| Cached input tokens | If using prompt caching |
| Price per 1M input tokens ($) ($) | e.g. 5 |
| Price per 1M output tokens ($) ($) | e.g. 15 |
| Cached input price per 1M ($, optional) ($) | Often 10% of input price |
| Requests per day | e.g. 1000 |
All fields use the exact formulas shown below — results include step-by-step breakdowns you can verify by hand.
AI pricing is per million tokens, separate for input, cached input and output. Output is typically 2-5× input price. Cached input is cheaper (often 10%). Multiply tokens by price to get cost per request, then by requests per day for daily/monthly/yearly.
All model pricing is user-editable so the calculator stays correct when providers change prices. Enter current pricing from provider docs (OpenAI, Anthropic, Google).
Advertisement
AdSense ready — add NEXT_PUBLIC_GOOGLE_ADSENSE_PUBLISHER_ID
2,000 input at $5/1M = $0.01, 500 output at $15/1M = $0.0075, total $0.0175 per request. At 1,000 requests/day = $17.50/day, $525/month, $6,387/year. With 1,000 cached at $0.50/1M, save $0.0045 per request.
Advertisement
AdSense ready — add NEXT_PUBLIC_GOOGLE_ADSENSE_PUBLISHER_ID