
A token is a chunk of text, such as a word, part of a word, or a punctuation mark, that AI tools like ChatGPT, Claude, and Grok read and write. Tokens set how much a chat can hold at once, called its context window, shape the usage limits in chat apps, and measure what API use costs.
Key takeaways
- A token is a piece of text, and one provider's rough rule for English is about four characters, or three-quarters of a word, per token.
- The context window is the model's working memory: everything in the chat, plus the reply, counts toward it.
- Chat apps set usage limits by plan and model, and in apps such as Claude, longer messages, files, and long chats use more of that allowance.
- API use is measured in input and output tokens, and each kind can have its own price.
What problem do tokens explain?
Long chats can start to drift, a chat app can say you have reached a limit, and an API bill can list tokens in the thousands. Each of these moments traces back to tokens. Once you see how tokens work, the limits, the drift, and the bill all make more sense, and each one gets easier to manage.
What is a token in AI, with an example?
A token is the unit a model uses to process text. A token can be a single character, part of a word, a whole word, or punctuation, and spaces change how text splits. When you send a message, the text is divided into tokens, the model works through them, and then it writes its reply as new tokens.
- A rough size guide. OpenAI's guide for English says one token is about four characters, or about three-quarters of a word.
- Counts vary. The same text can split into a different number of tokens depending on the model and the language.
- More than text. Images, files, and attachments in a chat count toward the total as well.
Paste a one-page letter into a chat, and every word, comma, and space becomes tokens the model reads, with its reply adding more on top.
What is a context window?
The context window is all the text a model can refer to while writing a reply, including the reply itself. Anthropic calls it the model's working memory. In a chat, every message you send and every answer you get stays in that window, so a long conversation fills it step by step.
- Sizes differ by model. Each model has its own context window, and the provider's model pages list it.
- More is a mixed blessing. Anthropic's guide says that as the token count grows, accuracy and recall can slip, so the content of the window matters as much as its size.
- Older turns can drop off. Anthropic notes that chat apps such as Claude can manage the window on a rolling basis, where the earliest messages make room for new ones.
Why do chat apps have usage limits?
Running a model takes computing power, so chat apps set an allowance for each plan and model, and bigger requests use more of it. ChatGPT, Claude, and Grok each set their own allowances. The help pages for ChatGPT and Claude say limits depend on your plan and the model you choose, and both apps tell you when you reach one.
- What uses more. Claude's help center lists message length, file size, current conversation length, tool use, and model choice as factors that affect usage.
- What happens at the limit. ChatGPT shows the reset time when it can, and after some limits it may continue with another available model.
How do input and output tokens affect cost?
For API use, the tokens you send are input tokens, and the tokens the model writes back are output tokens. Some models also think through a problem first, and those reasoning tokens count as output. You pay for both kinds, and the price per token depends on the model and the kind of token.
- Input and output can be priced differently. OpenAI's guide says input, cached input, and output tokens can each have their own rate.
- Hidden thinking counts. A short visible answer from a reasoning model can use more tokens than its text suggests.
- Total cost beats unit price. A model with a lower price per token can still cost more for a task if it writes longer answers.
If an app asks you to paste in your own key, your use is billed per token through an API key, and the provider's pricing page lists current rates.
How do you keep a long chat sharp?
Solution 1 is to start a fresh chat with a short summary whenever a conversation runs long. A new chat begins with an empty context window, so a tight summary of the key facts gives the model a clean, focused start. OpenAI's guide also suggests summarizing text before sending it when an input is too large.
- Ask the current chat for a summary of the decisions, facts, and open questions so far.
- Read it and fix anything off, since a summary can drop or blur a detail.
- Open a new chat and paste the summary first.
- Ask your next question below it.
A short brief about you and your preferences, pasted at the top of each new chat, is another simple way to get more out of every AI chat.
How do you make each message count?
Solution 2 is to send fewer, better messages. Claude's help center suggests planning the chat, combining related questions into one message, and reviewing a prompt before sending it. Each habit trims back-and-forth, which saves tokens on both sides and leaves more room in the context window for the details that count.
- Batch related questions. Ask all three questions about a trip in one message, rather than three separate ones.
- Trim what you paste. Share the paragraphs that matter, rather than a whole long document.
- Refer back rather than repeat. A phrase like "as mentioned earlier" points to a detail already in the chat.
- Ask for the length you need. A request for five bullet points keeps the reply, and its output tokens, short.
This Course is for anyone who already uses AI and wants to use it for the paperwork, plans, and tasks of a normal week, and to check what it gives them.
View the AI for Everyday Life Online CourseWhat does it look like in practice?
Say a parent has spent an evening planning a family reunion in one long chat. The answers start to forget the budget and the guest count given at the start. The parent asks for a short summary, checks it, and pastes it into a new chat, and the answers line up again.
- Before: one long chat, a pasted venue contract, and replies that drift.
- After: a new chat that opens with a short summary, one batched question, and a request for a five-item checklist.
What are common snags with tokens, and how do you fix them?
Most snags come from a chat that has grown too long, a pasted file that is larger than it looks, or a limit reached partway through a task. Each fix below is a small change to how you start, trim, or pace a chat, and the provider's help pages explain the details for your plan.
- If answers forget earlier details, try starting a new chat with a short summary at the top.
- If the app says your message is too long, try sending the most relevant part, or splitting it into smaller pieces.
- If you reach a usage limit, try checking the reset time the app shows, or continue with another available model.
- If an API bill looks high, try checking the usage page for long inputs or long replies.
What do people often ask about AI tokens?
Three questions come up often once people start noticing tokens. Each one comes back to the same idea: tokens measure how much text goes in and out of a model, so shorter, focused chats and clear requests help you stay within limits and keep answers sharp.
How many words is a token?
OpenAI's rough guide for English is about three-quarters of a word per token, and counts shift by model and language.
Are tokens the same as credits?
Tokens measure text, while credits are a way to pay ahead for use. Many API accounts let you buy credits that are spent as you use tokens.
When does a usage limit reset?
It depends on the app and plan. ChatGPT shows the reset time when it is available, and Claude's usage page shows session and weekly resets on paid plans with set limits.
What tip helps you use tokens well?
Keep each chat focused on one task, and start fresh when it runs long. A short summary or brief at the top of a new chat gives the model a clean context window. Batched questions save messages, and a clear length request keeps replies tight, so your allowance goes further.
The AI for Everyday Life Online Course starts with a module on setting up once and reusing often.

