Toolpuffin

    Loading...

    Up and down to choose, Enter to open, Esc to close.

    What Is a Token in AI? Rules of Thumb for Counting Tokens

    Updated November 2026

    Written by the Toolpuffin team. Tools in this guide are tested in the browser.

    AI models do not read text letter by letter or word by word. They read tokens. Knowing roughly how many tokens your text has helps you stay within a model's limits and understand how usage is counted. This guide explains what a token is and how to estimate the number for your own text.

    Try the tool: AI Token Counter

    What a token is

    OpenAI describes tokens as the building blocks of text that its models process. A token can be as short as a single character or as long as a full word. Spaces, punctuation and parts of words all count.

    Source: OpenAI Help: What are tokens and how to count them?

    Rules of thumb for English

    Rule of thumbRoughly
    Characters per token1 token is about 4 characters
    Words per token1 token is about three quarters of a word
    Words and tokens100 tokens are about 75 words
    Sentences1 to 2 sentences are about 30 tokens

    These numbers are OpenAI's rules of thumb for English. They are a guide, not a promise.

    Why the number differs

    Tokens are not standardised. Different models can split the same text into a different number of tokens. Text in other languages, and code, often needs more tokens for the same number of characters than English does, so the AI Token Counter uses a lower number of characters per token for them. For an exact count, use the tool of the model you actually use.

    Why tokens matter

    • A model can only read a limited number of tokens at once, so a very long prompt may not fit.
    • Use of an AI service through its API is usually priced per token.
    • A shorter prompt is cheaper and quicker to read, as long as it still holds what the assistant needs.

    Make a prompt shorter

    Remove what adds nothing: extra spaces, empty lines and invisible characters from copied text. Then check whether every sentence in the prompt is needed.

    More guides