AI API cost calculator

Enter your own token counts and the prices from your provider's pricing page. Nothing is sent anywhere; it all runs in your browser. Results are estimates.

Per request
$0
Per day
$0
Per 30 days
$0

How the estimate works

Cost = (input tokens / 1,000,000 x input price) + (output tokens / 1,000,000 x output price). Output tokens often cost several times more than input tokens, so long answers drive the bill.

Ways to lower the number

Nibkey shows this estimate before every message and enforces caps on your phone. See the app.