World of the Developers
All calculators

AI Token Cost Calculator

Enter your token usage to estimate what it costs to run — per request, per day, and per month — across every major LLM provider.

Usage

$1.25/M in · $0.125/M cached in · $10.00/M out · 400K context

Estimated cost

$187.50/month

Per request

$0.00625

Per day

$6.25

Per year

$2,281.25

Compare across models

ModelProviderPer month
OpenAI$7.50
OpenAI$13.50
OpenAI$24.00
OpenAI$36.00
OpenAI$37.50
OpenAI$37.50
Google$46.50
Google$78.75
Anthropic$105.00
OpenAI$180.00
OpenAI$180.00
Google$180.00
OpenAI$187.50
Anthropic$210.00
OpenAI$225.00
OpenAI$240.00
Google$240.00
Anthropic$315.00
OpenAI$420.00
Anthropic$525.00
Anthropic$525.00
Anthropic$525.00
Anthropic$1,050.00

How this is calculated

Providers bill input and output tokens separately, per million tokens (MTok). Cached input tokens — a repeated prompt prefix the provider recognizes — are billed at a discounted rate.

cost = (input_tokens − cached_tokens) × input_rate
     + cached_tokens × cached_rate
     + output_tokens × output_rate

Pricing is verified against provider pricing pages as of 2026-09-01. AI and cloud pricing changes frequently — confirm the current rate on the provider's own pricing page before budgeting.

Frequently asked questions

What is a token?

A token is the unit LLM providers bill by — roughly 4 characters or ¾ of a word in English. A 1,000-word prompt is typically around 1,300 tokens.

Why are input and output tokens priced differently?

Generating output tokens costs more compute per token than reading input tokens, so providers charge a higher per-token rate for output — often 4-6x the input rate.

What are cached input tokens?

When you send the same prompt prefix repeatedly (a system prompt, long context document), providers can cache it and charge a discounted rate — typically 10% of the standard input rate — on subsequent requests.

How accurate is this estimate?

This calculator uses each provider's published list price. Your actual bill depends on exact tokenization, any volume discounts, and rate changes — check the provider's pricing page for the authoritative current rate.