Token & cost estimator

Paste a prompt or document to estimate its tokens (Chinese, Japanese, Korean and Russian aware), see if it fits the context window and compare cost per call and per month across models.

FreeNo sign-upRuns in your browser

Runs in your browser: what you type or paste is not sent anywhere.

0 input tokens (estimate)

Paste some text to see the estimate.

    Cost by model

    Costs use the midpoint estimate and standard rates. Prompt caching, batch discounts, long-prompt surcharges, images and tool calls change the real bill.

    Why this is an estimate

    • Each model family uses its own tokenizer. English averages about 4 characters per token, while Chinese, Japanese and Korean often need about one token per character, so the same message can cost more in some languages.
    • Code, numbers, emoji and unusual symbols split into more tokens than plain prose.
    • For exact numbers, use the provider's token counting endpoint or read the usage field returned with every API response.
    • To cut costs: shorten repeated system prompts, use prompt caching, trim old chat history and ask for concise answers when you don't need long ones.

    Frequently asked questions

    How accurate is the estimate?

    Usually within about 20 to 30 percent for normal prose. The range shows the spread between tokenizers. For billing-grade numbers, use the provider's token counter.

    Why do Chinese, Japanese and Korean use more tokens?

    Tokenizers are trained mostly on English text, so common English words become a single token while CJK text is often split per character. Newer tokenizers are better, but the gap remains.

    Are the prices up to date?

    The default table shows the date it was last checked. Providers change prices and launch new models often, so verify on their pricing page and edit the table: your changes are saved in this browser.

    Is my text sent anywhere?

    No. Everything is calculated in your browser.

    Need this done properly for your company?

    The tools give you a quick answer. If you want it set up, automated or trained across your team, we can help.

    Start a project