AI token counter
Paste a prompt, chapter or chat log to estimate its token count, cost per request and how much of an 8K-1M context window it uses. Nothing leaves your browser.
Prices are examples. Enter the rate of the model you use.
Estimate blends ~4 characters per token and ~0.75 words per token, the typical range for English with BPE tokenizers. Exact counts vary by model.
What is a token?
Language models read text as tokens, chunks that are often a whole short word, part of a longer word or a punctuation mark. In English, one token averages about four characters, or roughly three-quarters of a word. A 1,000-word chapter is therefore around 1,300 tokens.
Every model has a context window, the maximum number of tokens it can consider at once, including your system prompt, character card, chat history and its own reply.
How this estimate works
The counter averages a character-based estimate (characters ÷ 4) and a word-based estimate (words ÷ 0.75). That blend is typically within about 10% of real tokenizer counts for English prose. Code, non-Latin scripts and unusual formatting usually use more tokens per character.
Common questions
Why does my chat 'forget' earlier messages?
Once the conversation exceeds the model's context window, the oldest messages are dropped. Check how close you are with the context bars above.
Is the token count exact?
It's an estimate. Each model family uses its own tokenizer, so exact counts differ slightly, but the estimate is close enough for planning and budgeting.
Do you see the text I paste?
No. The counter runs entirely in your browser and nothing is sent to any server.
Related
Character Card Generator
Build a role-play character card and export it as Character Card V2 JSON for any compatible chat app.
Free toolSystem Prompt Builder
Turn a few choices into a clean system prompt that sets role, tone, format and boundaries for any AI chat.
Free toolUncensored Model Finder
Choose a task, your hardware and a priority, and get open model families and quantisations that fit, including low-refusal options.
Free toolChat Memory Calculator
See how many back-and-forth turns an AI chat can remember for a given context window, character card and reply length.
Free toolRole-play Scenario Generator
Generate an opening scenario for AI role-play by genre, tone and your role, ready to paste into any chat.
Free toolAI Chat Cost Calculator
Estimate what your AI chat habit costs per month on pay-as-you-go API pricing and compare it with a flat subscription.
GuideWhat Is Uncensored AI Chat? How It Works and Who It's For
A plain-English explanation of uncensored AI chat: how models are made to refuse less, what still stays off-limits, and when it's the right tool.
Put your prompt to work.
Paste what you just built into the chat app and see how an uncensored model responds.