Estimate tokens and the input/output cost of any AI model call

Estimate tokens from text
Characters 0 Words 0 Est. tokens 0

Tokens are estimated (~4 characters each). Actual counts vary by model and language.

Model & pricing
$
$

Prices are in USD per 1,000,000 tokens — edit to match your provider.

Cost per call
$0.00
Cost breakdown
Input cost$0.00
Output cost$0.00
Total tokens0
Per day$0.00
Per month$0.00
Per year$0.00

Estimates only — provider prices change often and tokenisation varies. Verify against your provider before budgeting.


About AI Token & Cost Calculator

The AI token and cost calculator estimates what your LLM API calls will cost. Paste text to estimate its token count — roughly one token per four characters — or enter input and output token figures directly, then pick a model from the built-in pricing list or supply custom per-million-token prices.

The calculator multiplies input and output tokens by their respective USD prices per 1,000,000 tokens, giving the cost per call with a breakdown of input versus output cost. Add your expected calls per day and it projects daily, monthly and yearly spend — the numbers you need before shipping an AI feature.

Because output tokens usually cost several times more than input tokens, the split matters: a chatty response format can dominate your bill. All estimates run free in your browser; verify prices against your provider before budgeting, as rates change often and tokenization varies by model and language.

How to use AI Token & Cost Calculator

  1. Optionally paste text to estimate its tokens, then click “Use as input”.
  2. Pick a model from the pricing list, or choose Custom and enter your own input and output prices per million tokens.
  3. Set the input tokens, output tokens and expected calls per day.
  4. Read the cost per call, the input/output breakdown and the projected daily, monthly and yearly spend.

Frequently asked questions

Paste it into the estimator — the tool assumes roughly 4 characters per token, a good rule of thumb for English. Actual counts vary by model and language, so treat the figure as an estimate.

Input tokens × input price plus output tokens × output price, with prices expressed in USD per 1,000,000 tokens. Multiplying by your calls per day gives the daily, monthly and yearly projections.

Generating tokens costs providers more compute than reading them, so output rates are typically several times the input rate. Long responses can therefore dominate a bill even when prompts are short.

Yes. Choose the custom option — or edit the prefilled prices — and enter the per-million-token rates from your provider’s pricing page, including any negotiated or discounted tier you are on.

Good enough for budgeting, not for invoicing. Token counts are approximations, provider prices change frequently, and features like cached input or batch discounts alter real costs — always confirm against your provider.


Popular searches
ai token calculator llm cost calculator token cost estimator openai pricing calculator gpt token cost claude token calculator
Need help?
Found an issue with this tool? Let our team know.
Report an issue

Add this free tool to your own website — copy and paste the code below.