Home › SEO Tools › AI Token Counter

AI Token Counter

Estimate how many tokens a prompt or document uses and what it costs at your model’s price.

Cost

Prices change often. Copy the current ones from your provider’s pricing page.

Token estimate by method

Context window

    How to use the AI token counter

    Paste a prompt or document and the tool estimates its tokens. Add your model’s prices to see what a run costs.

    1. Paste your text, or open a text file.
    2. Enter the input and output prices from your provider’s pricing page.
    3. Enter how long you expect the reply to be, in words.
    4. Enter how many times a month you will run it.
    5. Check the cost and how much of the context window you use.

    What is a token?

    A token is a small chunk of text that an AI model reads or writes. It can be a whole word, part of a word, or a punctuation mark.

    Models do not count words or characters. They count tokens, and you are billed and limited by them.

    Tokens to words: rules of thumb

    MeasureRoughly equals
    1 token4 characters of English
    1 tokenThree quarters of a word
    100 tokens75 words
    1,000 tokens750 words
    1 page of text (500 words)About 670 tokens

    These ratios are for plain English. Code, numbers, unusual names and other languages use more tokens for each word.

    How the estimate works

    The tool counts two ways: characters divided by four, and words multiplied by 1.33 with an allowance for punctuation. It shows both and uses the midpoint.

    Each model family has its own tokenizer, so no single count is exact for all of them. Expect real figures within 10 to 20% of the estimate.

    How AI pricing works

    TermMeaning
    Input tokensEverything you send: instructions, context and the question
    Output tokensEverything the model writes back
    Price per 1 million tokensThe usual billing unit. Output costs more than input
    Context windowThe most tokens a model can handle in one go, input plus output

    Cost per run = input tokens ÷ 1,000,000 × input price, plus output tokens ÷ 1,000,000 × output price.

    Ways to use fewer tokens

    • Cut repeated instructions and long preambles.
    • Send only the part of a document the task needs.
    • Ask for a shorter reply, or a set format.
    • Use a smaller, cheaper model for simple jobs.
    • Use prompt caching or batch pricing if your provider offers it.

    When you need an exact count

    For billing forecasts on large volumes, use your provider’s own tokenizer or its token-counting API. Those match what you will be charged.

    For planning prompts, budgets and content jobs, an estimate is enough. That is what this tool is for.

    Why this AI token counter is different

    Many token counters are tied to one model, or send your text to a server. This one is neutral and private.

    • A token range, not a falsely exact number.
    • Cost per run and per month, with your own prices.
    • Output tokens included, since they cost the most.
    • A context window check.
    • Your text never leaves the browser.

    It works as a token calculator and a prompt token counter. Build prompts with the Marketing Prompt Generator, or count words with the Word Counter.

    Private by design

    The AI token counter runs in your browser. Nothing you type or paste is sent to a server, and there is no sign-up.

    Your last settings are saved on this device only. The tool is ready when you come back.

    Frequently asked questions

    What is a token in AI?

    A chunk of text that a model processes. One token is about four characters, or three quarters of an English word.

    How many tokens is 1,000 words?

    About 1,330 tokens for plain English. Code and other languages use more.

    How accurate is this token counter?

    It is an estimate, usually within 10 to 20%. Each model splits text in its own way.

    How do I work out the cost of a prompt?

    Multiply input tokens by the input price and output tokens by the output price. Prices are quoted per million tokens.

    Why do output tokens cost more?

    Writing text takes more computing than reading it, so providers charge more for output.

    What is a context window?

    The most tokens a model can handle at once, counting your input and its reply together.

    Is my text sent to a server?

    No. The count runs in your browser.

    Is the counter free?

    Yes. There is no sign-up and no limit.

    Last reviewed 2026-11-30 · How we build and check our tools