Definition
Token
Also called: subword token
What Token means in practice
Before a model sees your text, a tokenizer splits it into tokens and maps each to a number. Common words such as “the” are usually one token; rarer words are split into pieces. Exactly how text is split differs from model to model.
You meet the term in three places: pricing (APIs charge per million input and output tokens), limits (context windows and reply lengths are counted in tokens) and usage dashboards. For planning, 1,000 English words is roughly 1,300 to 1,400 tokens.
One nuance: other languages, code and unusual formatting often need more tokens per word than plain English, so the same message can cost different amounts depending on what it contains.
Example
With a typical tokenizer, “I love ice cream!” is about five tokens: “I”, “ love”, “ ice”, “ cream” and “!”.
Used in a sentence: That PDF is 40,000 tokens, so it will use up most of the smaller model’s context window.
Often confused with
- Word
- Words are how people count; tokens are how the model counts. Short common words are often one token, but long or rare words can be several, so English token counts run about a third higher than word counts.
- Character
- A character is a single letter, digit or symbol. Tokens usually group several characters, which is one reason models can struggle to count letters in a word.
- Embedding
- A token is a piece of text; an embedding is a list of numbers representing meaning. Inside a model, each token is turned into a vector before processing.
Full guide
What are tokens in AI? →
How it works, examples, and common questions, explained in plain English.
Common questions
Is a token the same as a word?
No. A common word is often a single token, but long, rare or non-English words are usually split into several, and punctuation counts separately. As a rule of thumb from OpenAI, 100 tokens is about 75 English words.
What does “tokens per second” mean?
It measures how fast a model generates text. A model streaming 50 tokens per second produces roughly 35 to 40 English words per second. Providers and benchmark sites use it to compare response speed.
What are input and output tokens?
Input tokens are everything sent to the model: your message, the system prompt, earlier conversation and attached files. Output tokens are the text the model writes back. APIs count and price the two separately.
Sources and further reading
- What are tokens and how to count them? — OpenAI Help Center
- Token counting — Anthropic (Claude Docs)
Read more
- How many tokens is 1,000 words?
1,000 English words is roughly 1,300 to 1,400 tokens. The common rule of thumb, from OpenAI’s guidance, is that one token is about three-quarters of a word, or about four characters of English text. Exact counts vary by model, language and content type, so use a tokenizer or token-counting API when precision matters.
- AI token counter (free tool)
Paste any text to count tokens exactly, see how it splits, and estimate what it costs to send to an AI model.
- What is a context window in AI?
A context window is the maximum amount of text, measured in tokens, that a language model can consider at once. It covers everything in a single request: the system prompt, the conversation so far, any pasted documents or tool results, and the answer the model writes. Anything outside the window is invisible to the model.