What Is a Token in AI?
A token is a small piece of text that an AI language model reads and generates. A token can be a whole word, part of a word, a single character or a punctuation mark. AI models break everything you type into tokens, and tokens are how their limits and costs are measured: how much text a model can handle at once, how long its answers can be and, for businesses using AI services, how much each request costs.
What a token is
Language models do not read text the way people do. Before a model processes your message, a component called a tokenizer splits the text into tokens and converts each one into a number the model can work with. OpenAI's documentation for its open-source tokenizer puts it simply: language models "see a sequence of numbers (known as tokens)."
OpenAI describes a token as something that "can represent a character, part of a word, a whole word, or punctuation." Common words are often a single token. Longer or less common words are usually split into pieces. OpenAI's tokenizer documentation gives the example of "encoding," which is often split into "encod" and "ing," because "ing" is a common piece of English.
The model then works entirely in tokens. It reads your prompt as tokens, predicts the next token, adds it and repeats until its reply is complete. When the model is done, the tokens are converted back into readable text. The LATHIC Glossary has the short definition of a token.
Why AI uses tokens instead of words
Splitting text into word pieces solves a practical problem. There are far too many possible words, names, typos, technical terms and new slang terms for a model to store each one separately. By breaking text into reusable pieces, a model can handle words it has rarely or never seen.
Many tokenizers use a method called byte-pair encoding, which builds a vocabulary of frequently occurring pieces of text. Researchers Rico Sennrich, Barry Haddow and Alexandra Birch popularized this subword approach for neural language processing in a 2016 paper, and OpenAI describes its tiktoken library as a byte-pair encoding tokenizer. Different AI companies use different tokenizers, which is one reason token counts vary between models. The process of splitting text is called tokenization.
Tokens vs words
Tokens and words are not the same, and there is no universal ratio between them. How many tokens a piece of text uses depends on the language, the kind of content and the specific model's tokenizer.
AI companies publish rough rules of thumb for English text:
| Source | Rule of thumb for English |
|---|---|
| OpenAI | About 4 characters or three-quarters of a word per token; 100 tokens is about 75 words |
| Google (Gemini models) | About 4 characters per token; 100 tokens is about 60 to 80 English words |
| Anthropic (Claude models) | About 4 characters or 0.75 words per token, varying by language and content |
These are estimates, and even a single company's figures can shift. Anthropic says the newer tokenizer it introduced with its Claude Opus 4.7 model produces about 30% more tokens for the same text than its earlier models. By Anthropic's estimate, a million tokens holds roughly 555,000 words on its current tokenizer, compared with about 750,000 words on earlier models.
Other factors change the count too:
- Language. A 2023 study found that the same text translated into different languages can require very different numbers of tokens, up to 15 times as many in some cases. Some languages need many more tokens than others for the same content.
- Unusual words and names. Rare words, technical terms and names are often split into several tokens.
- Numbers, code and formatting. Long numbers, code, symbols and tables can use more tokens than ordinary prose.
Why tokens matter
Most people never need to count tokens, but tokens explain several things people notice when using AI.
Why chatbots have limits
Every model has a context window: the maximum amount of text, measured in tokens, it can consider at once. That includes your messages, any documents you upload and the model's own replies.
Context windows vary widely. As of September 2026, Anthropic lists a 200,000-token context window for its Claude Haiku 4.5 model and 1 million tokens for its larger current models, while Google lists an input limit of just over 1 million tokens for Gemini 2.5 Pro. Consumer apps may apply their own, lower limits.
When a conversation or document exceeds the context window, the model cannot take everything into account at once. Depending on the product, you may see an error, the app may drop or condense earlier parts of the conversation, or the model may lose track of details from much earlier.
Why answers have a maximum length
Models also have a limit on how many tokens they can generate in a single response. If a long answer stops mid-sentence, it may have reached that limit. The LATHIC Glossary covers this setting under max tokens.
Why AI services charge by the token
Businesses and developers who use AI models through an API, a way for software to connect to an AI service, usually pay per token. Prices are typically quoted per million tokens, and OpenAI notes that "input, cached input, and output tokens can have different prices." Output tokens, the ones the model generates, usually cost more than input tokens.
Prices vary by provider, model, type of token and time. For illustration, on September 10, 2026, Anthropic listed Claude Haiku 4.5 at $1 per million input tokens and $5 per million output tokens, and Google listed Gemini 2.5 Pro at $1.25 per million input tokens and $10 per million output tokens for prompts up to 200,000 tokens. Prices like these change frequently, and discounts or higher rates can apply in different situations.
A lower price per token does not always mean a cheaper result. OpenAI cautions that models "can tokenize the same text differently and generate different amounts of output or reasoning."
Most people using consumer chat apps do not pay per token. Services such as ChatGPT and Claude offer free and paid subscription plans with usage limits. Anthropic, for example, says every Claude plan has usage limits that reset on a rolling five-hour window.
What are tokens in ChatGPT?
Tokens in ChatGPT are the same units of text described above. The OpenAI models behind ChatGPT break your messages, uploaded content and their own replies into tokens. Tokens determine how much of a conversation or document the model can consider at once. ChatGPT subscriptions are generally not billed per token; developers who use OpenAI's models through its API are.
AI tokens vs crypto tokens
An AI token and a cryptocurrency token share a name but are completely different things.
| AI token | Crypto token | |
|---|---|---|
| What it is | A piece of text a language model processes | A digital asset recorded on a blockchain or similar system |
| Purpose | Measuring and processing text | Representing value, rights or access |
| Has monetary value itself? | No. It is a unit of measurement | Can have market value |
| Example | "encod" and "ing" as parts of "encoding" | A stablecoin or other digital asset |
European Union law, for example, defines a crypto-asset as "a digital representation of a value or of a right that is able to be transferred and stored electronically using distributed ledger technology or similar technology." AI tokens are nothing of the kind. The phrase "AI tokens" is also sometimes used for cryptocurrency projects with an AI theme, which are unrelated to the text units language models use.
How to estimate tokens
For everyday purposes, a rough estimate is enough. For precise counts, use the token counting tools that AI providers offer for their own models. Because tokenizers differ, Anthropic advises recounting prompts against the specific model you plan to use rather than reusing counts from earlier models.
To see how tokens fit into the way language models generate text, see What Is a Large Language Model?. For the wider category of AI that generates content, see What Is Generative AI?.
Related AI terms
- Token: the short LATHIC Glossary definition
- Tokenization: the process of splitting text into tokens
- Context window: the maximum number of tokens a model can consider at once
- Output tokens: the tokens a model generates in its response
- Cost per million tokens: how AI API pricing is typically quoted
- Large language model: the kind of AI model that works with tokens
Frequently Asked Questions
How many words are 1000 tokens?
It depends on the model and language, so there is no exact answer. Using OpenAI's rule of thumb for English, 1,000 tokens is roughly 750 words. Google's guidance suggests about 600 to 800 English words, and Anthropic's current tokenizer fits roughly a quarter fewer English words into the same number of tokens than its earlier models. Other languages often fit fewer words into 1,000 tokens.
What are tokens in ChatGPT?
Tokens in ChatGPT are the small pieces of text, such as words, parts of words and punctuation, that its underlying models read and generate. They determine how much conversation or document text the model can handle at once. Subscription plans for ChatGPT are generally not priced by the token, while API use is.
How many tokens is $1?
There is no fixed number, because prices vary by provider, model, and whether tokens are input or output, and they change over time. As an illustration, at Claude Haiku 4.5's listed API prices on September 10, 2026, $5 per million output tokens and $1 per million input tokens, $1 buys 200,000 output tokens or 1 million input tokens. Consumer chat apps are usually sold as subscriptions rather than by the token.
What are AI tokens?
AI tokens are the units of text that AI language models process. A token can be a word, part of a word, a character or a punctuation mark. Tokens measure how much text a model can take in, how long its responses can be and how much AI services charge. They are unrelated to cryptocurrency tokens.
What is a token in an LLM?
In a large language model, a token is the basic unit of text the model works with. A tokenizer splits input text into tokens and turns them into numbers, and the model generates its response by predicting one token at a time. The number of tokens determines what fits in the model's context window.
Sources
- OpenAI Help Center, "What are tokens and how to count them?" https://help.openai.com/en/articles/4936856-what-are-tokens-and-how-to-count-them
- OpenAI, tiktoken repository (README). https://github.com/openai/tiktoken
- Sennrich, Haddow and Birch, "Neural Machine Translation of Rare Words with Subword Units," ACL 2016 (arXiv 1508.07909). https://arxiv.org/abs/1508.07909
- Google AI for Developers, "Understand and count tokens," updated September 4, 2026. https://ai.google.dev/gemini-api/docs/tokens
- Anthropic, Claude Platform Docs, "Pricing," accessed September 10, 2026. https://platform.claude.com/docs/en/about-claude/pricing
- Anthropic, Claude Platform Docs, "Models overview," accessed September 10, 2026. https://platform.claude.com/docs/en/about-claude/models/overview
- Anthropic, Claude Platform Docs, "Token counting." https://platform.claude.com/docs/en/build-with-claude/token-counting
- Petrov, La Malfa, Torr and Bibi, "Language Model Tokenizers Introduce Unfairness Between Languages," arXiv 2305.15425 (NeurIPS 2023). https://arxiv.org/abs/2305.15425
- Google AI for Developers, "Gemini 2.5 Pro" model page. https://ai.google.dev/gemini-api/docs/models/gemini-2.5-pro
- Google AI for Developers, "Gemini Developer API pricing," accessed September 10, 2026. https://ai.google.dev/gemini-api/docs/pricing
- Anthropic, "Claude pricing" (plans and usage limits), accessed September 10, 2026. https://claude.com/pricing
- European Securities and Markets Authority, Interactive Single Rulebook, MiCA Article 3 "Definitions." https://www.esma.europa.eu/publications-and-data/interactive-single-rulebook/mica/article-3-definitions