LLM API cost calculator

Enter your model's current per-token prices (from your provider's pricing page), your traffic and your average prompt size. You get the monthly bill and the day it crosses your budget. Works for any model, including agents that loop.

Prices change often. Copy them from your provider's pricing page.
—

estimated per month (30.4 days)

Estimate tokens from text

Paste a typical prompt to estimate its size. Rule of thumb for English: about 4 characters per token. Code and non-English text usually use more tokens, so treat this as a floor.

Why AI bills run away