Token Calculator

Paste any prompt to get an accurate token count and a cost estimate across every major LLM provider. Uses current 2026 pricing for OpenAI, Anthropic, Google, xAI and open-weight models.

Last updated . Model pricing is refreshed twice daily.

What it does

Paste any prompt to get an accurate token count and a cost estimate across every major LLM provider. Uses current 2026 pricing for OpenAI, Anthropic, Google, xAI and open-weight models.

  • Real tokenizer counts, not word approximations
  • Compare input, output and cached-input pricing across 400+ models
  • See per-1K-request and per-million-request cost projections
  • Export the calculation to CSV or share via link

Why it matters

Tokenomy is the economic runtime for AI — it shows where every AI dollar goes and gives you the controls to redirect it. This tool is free to use; sign in to save scenarios, share with your team and connect it to your live usage ledger.