Toolpuffin

    Loading...

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

    Paste a text, or type a token count you already have, and see how much of a context window it takes up: 8k, 32k, 128k, 200k and 1M tokens, plus a size of your own. You can keep some tokens free for the answer, because the reply uses the same window as your prompt in most models. The count is an estimate, so leave some room.

    Features

    • Percentage used and tokens left for five common window sizes
    • Your own window size, for the model you use
    • Keeps tokens free for the answer
    • Works from a text or from a token count you already know

    How to use Context Window Meter

    1. Paste your text, or choose a token count and type it.
    2. Set how many tokens to keep free for the answer.
    3. Read how much of each window is used.

    Frequently asked questions

    What is a context window?

    The amount of text, counted in tokens, that an AI model can take in at once: your prompt, earlier messages, any text you attach and the answer it writes. If the total is too long, the model cannot use all of it.

    How accurate is the count?

    It is an estimate from the number of characters, about 4 per token for English, so the real number can be higher or lower. Leave some room, or choose "A token count" and type the count your provider gives you.

    Which window size does my model have?

    That differs per model and changes over time, so no model names are built in. Look it up in the documentation of your provider and type it in as your own size.

    Is my text sent anywhere?

    No. The text is counted in your browser and never sent anywhere. You can check this yourself: switch off your internet connection after the page has loaded and the tool still works.

    Guides

    Related tools