A token in an LLM is a small unit of text, like a whole word, part of a word, or a punctuation mark, that the model reads as a number. Models don't see your sentences the way you do. They see a list of token IDs, and everything they do, from reading your brief to writing a draft, happens in tokens. This guide to the token in an LLM, explained plainly, will let you estimate how much text fits in a given number of tokens.
What is a token in an LLM?
A token is a piece of text that a tokenizer has turned into a numerical ID. The token in an LLM, meaning the thing the model actually works with, can be:
- A whole word.
- Part of a word.
- A punctuation mark.
- A space joined to the text next to it.
The first thing to let go of is the idea that a token is a word. It isn't a fixed number of characters or a syllable either. It's whatever piece the tokenizer's vocabulary has an entry for, which is the core of the token meaning in an LLM.
Two terms come up a lot. The tokenizer is the part that splits text into tokens and maps them to IDs, and the vocabulary is the full set of tokens it can produce.
If you're newer to the model side of things, our explainer on what a large language model is covers the bigger picture around all this.
How does text become tokens?
The tokenizer takes your exact text, splits it into pieces using rules and a vocabulary it learned earlier, and then looks up the ID for each piece. The model works on those IDs. When it writes, it produces one token at a time, adds it to the sequence, and uses the longer sequence to pick the next one, as Microsoft's documentation on tokens describes it.
Why not just use whole words? Because a vocabulary with every possible word would be huge, and it still wouldn't handle new or rare words. Splitting into smaller pieces means common words can stay in one piece while an unusual word gets built from a few smaller ones. The Hugging Face notes on tokenization algorithms give Turkish, with its long compound words, as an example.
One common method is byte-pair encoding, or BPE. While the tokenizer is being built, it starts with a base set of symbols and keeps merging the pairs that show up together most often, until the vocabulary reaches the size it was set to. After that the rules are fixed. When you send a prompt, the tokenizer just applies them. It doesn't learn a new vocabulary for your text.
What the splits look like
Published tokenizer examples show this better than a description can. Each example below is tied to a named encoding, because different encodings split the same text differently. These come from published examples, not from tests we ran.
Take the sentence tiktoken is great! under the cl100k_base encoding. It splits like this:
["t", "ik", "token", " is", " great", "!"]
That's 6 tokens for 3 words. The word tiktoken took three tokens, the spaces rode along with the words after them, and the exclamation mark got its own token.
Now one long word, antidisestablishmentarianism, under three encodings from the OpenAI Cookbook:
| Encoding | Token pieces | Count |
|---|---|---|
r50k_base | ant, idis, establishment, arian, ism | 5 |
cl100k_base | ant, idis, establish, ment, arian, ism | 6 |
o200k_base | ant, idis, est, ablishment, arian, ism | 6 |
The same word came out as 5 tokens in one encoding and 6 in the others. The last two both give 6 but cut the word in different places, so there isn't one tokenization that applies to every model.
Spaces confuse people too. The text 2 + 2 = 4 is 7 tokens under cl100k_base and o200k_base, because some spaces attach to the next piece and some stand alone.
How many words is 1,000 tokens?
For ordinary English, about 750 words. OpenAI gives a few rules of thumb for common English text: one token is roughly four characters, roughly three-quarters of a word, and 100 tokens is about 75 words. These are planning estimates, not guarantees.
You can turn that into two quick formulas:
Estimated tokens = English words ÷ 0.75
Estimated words = tokens × 0.75
Here's what that looks like in a table. These are arithmetic from the rule of thumb, not measured limits for any particular model.
| Tokens | Approximate English words | Approximate characters |
|---|---|---|
| 100 | 75 | 400 |
| 1,000 | 750 | 4,000 |
| 2,000 | 1,500 | 8,000 |
| 4,000 | 3,000 | 16,000 |
| 10,000 | 7,500 | 40,000 |
So a 1,500-word brief is roughly 2,000 tokens of text, and a 3,000-word article is roughly 4,000. A 4,000-token allowance fits about 3,000 words of plain English prose, but it doesn't promise you a 3,000-word document.
The shortcut gets shaky with non-English text, code, data tables, or unusual product terms. There isn't a safe ratio for those, so count the real text instead.
Why do token counts affect cost and limits?
Most AI services that charge by usage meter in tokens, and they usually count what you send and what the model writes separately. Input tokens are everything in the request. Output tokens are what the model generates. The two can have different rates, and some services price cached input as a third category. This applies to token-based API pricing, not every chat subscription.
When rates are quoted per million tokens, the cost looks like this:
Token cost = (input tokens × input rate ÷ 1,000,000)
+ (output tokens × output rate ÷ 1,000,000)
Say you ask for 30 articles, and each request carries 1,500 words of source material and asks for 3,000 words back. That's a made-up planning example, not something anyone measured. Using the English rule of thumb:
| Per article | Across 30 articles | |
|---|---|---|
| Input text tokens | 2,000 | 60,000 |
| Visible output tokens | 4,000 | 120,000 |
| Combined | 6,000 | 180,000 |
That leaves out your instructions, formatting and any hidden generation, so a real number would be higher. The material you feed in counts alongside the article you get back, so planning from the finished word count alone misses half the picture.
Limits work the same way. A cap on output tokens is a ceiling on how much the model may generate. It's not an instruction to write that much, and it doesn't turn into an exact word count. If you want about 1,500 words, say so in the prompt and treat the cap as a safety limit. The idea of a cap on total text is closely tied to the context window, which has its own explainer.
Also, the answer you can see may be smaller than the usage you're billed for. Reported output can include tokens for message structure or tool calls, and for some reasoning models it includes reasoning tokens that never show up as text. In OpenAI's usage reports, those cached and reasoning counts are breakdowns inside the input and output totals, so adding them on top counts them twice.
How can you check a token count?
There are three levels, and each one tells you something different.
| Level | Good for | Limit |
|---|---|---|
| Words or characters, times a ratio | Early planning | Not an exact count |
| A tokenizer for your model's encoding | Counting one piece of text | Can miss request overhead |
| A request-level counter plus returned usage | Counting the whole request | Exactness differs by service |
For a quick look, OpenAI's online tokenizer shows how a piece of text splits and gives you the token and character counts. The important part is matching the tokenizer to the model you use, since a count from one encoding isn't a universal count.
For a full request, use the counter the service provides. OpenAI's input counter returns the count the model will receive, including the formatting tokens for roles and messages. Claude's documentation describes a token counting endpoint that covers system prompts, tools, images and PDFs, and it calls the result an estimate that can differ slightly from the usage reported afterward. So read what each counter's documentation actually promises.
When you count a real request, include everything that gets sent: your instructions, the brief, source excerpts, example outputs, earlier messages, and any tool definitions. If the number comes out higher than you expected, look at what was included before blaming the tokenizer.
What to do with this
Take one real brief you use often and count it. Then run it, and compare your count with the usage the service reports for the whole request and the answer. That comparison shows you how far off your own estimates tend to be. If you want to see why this matters for AI search, it helps to know how AI search works differently from traditional search when it builds an answer. The AEO glossary defines more of the terms you'll run into along the way. When you're ready to act on all of it, answer engine optimization is the main topic, and the guide on how AEO, GEO and SEO fit together shows where it sits.
Related guides
- What Is Conversational Search?: Understand what conversational search is and how follow-up questions change the way people look for information.
- What Is Machine-Readable Content?: Understand what makes content machine readable and why crawlers and AI systems depend on it.
- Manual AEO vs Tool-Assisted AEO: What to Automate and What to Keep Human: Decide which AEO tasks to hand to software and which to keep with people, based on volume, judgment and risk.
- What Is Natural Language Processing (NLP)?: Understand what NLP is, the kinds of tasks it handles, and how it underlies modern search and AI tools.
- What Is Prompt Engineering?: Understand what prompt engineering is and the basic techniques people use to get better output from a model.



