CalcToolsKitSimple tools. Clear answers.
EVERYDAY

LLM Token Cost Calculator

Free · No sign-up

Estimate input, cached-input and output token charges for an entered request volume.

Your inputs

tokens
tokens
tokens
USD/M tokens
USD/M tokens
USD/M tokens
requests

Example values are shown. Edit them for your calculation.

Inputs stay in this page. No account needed.

Your result

EVERYDAY

Enter your values and select calculate.

On this page How it works & practical examples

How to use the LLM Token Cost Calculator

Supply the applicable provider rates and average token counts. Cached tokens are part of the total input, not extra tokens. Keep model, token-accounting and currency definitions consistent when estimating a batch.

The calculation

Cost = requests × [(input−cached)×input rate + cached×cache rate + output×output rate] / 1,000,000

Worked example

1,000 input tokens including 200 cached, 500 output tokens and example rates of $1, $0.25 and $2 per million cost $0.00185 per request, or $18.50 for 10,000 requests.

Assumptions and limits

Example rates are editable illustrations, not current provider pricing. Tool calls, images, storage, reasoning-token definitions, free tiers, taxes and other charges are not inferred.

Common questions

Are these live model prices?

No. Enter the rates from your provider’s applicable pricing.

Do cached tokens count twice?

No. They are subtracted from uncached input before the separate cache rate is applied.

AboutContactPrivacy PolicyTermsDisclaimerAll calculatorsSitemap