Skip to content
Calixo

AI Token Cost Calculator

Estimate the cost of an LLM API call from token count and price per 1,000 tokens.

Inputs

Saved Scenarios

— select 2+ to compare

Estimated Cost

$60.00

Spark says

How it's calculated

Formula

Cost=Tokens1,000×Price per 1,000 TokensCost = \dfrac{Tokens}{1{,}000} \times Price\ per\ 1{,}000\ Tokens
Tokens
— Total input + output tokens for the request(s)

What is the AI Token Cost Calculator?

LLM providers typically price API usage per 1,000 (or per 1M) tokens, often with different rates for input vs. output tokens — this calculator handles the basic single-rate case.

How to use it

  1. 1 Enter your total expected token count.
  2. 2 Enter the price per 1,000 tokens from your provider's pricing page.

Worked examples

Limitations

  • Most providers charge different rates for input vs. output tokens — for a precise estimate, run this twice (once per rate) and sum the results.

Frequently asked questions

What's a token?

A token is roughly 4 characters or about 0.75 words of English text — it's the unit LLMs actually process and get billed on, not raw characters or words.