← Back to Projects
Interactive tool · OpenRouter pricing

AI Token Cost Calculator

Estimate the cost of a text workload across a curated set of OpenRouter models. Enter exact token counts or a total input figure with a cache-hit rate; the calculator separates uncached input, cached input and output charges.

Token cost calculator

Live OpenRouter
Retrieved 29 Oct 2026, 22:25 UTC View on OpenRouter
Pricing Editing: Off-peak / standard

Manual selection · not based on your local time

All times outside the published peak windows

USD per 1M tokens

Link prices

USD per 1M tokens

USD per 1M tokens

Token usage

Enter whole token counts. Cache-hit rate is calculated from the input figures, not entered separately in exact mode.

Estimated API cost

$0.0698

1,000,000 input · 50,000 output tokens

Cache hit rate

75%

Uncached input

$0.0375

250,000 tokens

Cached input

$0.00225

750,000 tokens

Output

$0.03

50,000 tokens

Uncached $0.0375 Cached $0.00225 Output $0.03

Without caching

$0.18

Estimated savings

$0.1103

Total input

1,000,000

Compared with charging all input at the uncached rate.

Peak comparison

Off-peak / standard

$0.0698

Peak

$0.1395

Difference

+$0.0698 (+100%)

OpenRouter time-based override · Peak: Mon–Fri, 01:00–04:00 and 06:00–10:00 UTC. Difference is peak minus off-peak / standard.