Short answer

  • An AI token is a small piece of text that a language model reads or writes as a single unit. It may be a whole common word, part of a longer word, a punctuation mark, a number, or a space attached to a word. Before a model processes your message, a program called a tokenizer splits the message into tokens. The model then works with those tokens, not with the words exactly as you typed them. As a rough guide for English text, one token is about four characters, or about three quarters of a word. That means 100 tokens are roughly 75 words, and 1,000 tokens are roughly 750 words. These are rules of thumb, not exact conversions, because different models split text differently, and other languages often need more tokens for the same meaning. Tokens matter because they are the unit for limits and, in many paid services, for billing. A context window is the total token budget for one request, including the instructions, the conversation so far, any documents supplied, and the reply being written. Input tokens are the tokens a model receives. Output tokens are the tokens it generates. When the budget is used up, a reply may stop early, an older part of a conversation may be dropped or summarized, or a request may be refused until it is shortened. An AI token is not a cryptocurrency token, and it is not something you own, hold, or trade.

Introduction

If you have used an AI chatbot, read a pricing page for an AI service, or seen a message that a conversation is too long, you have probably met the word token. It appears in phrases such as input tokens, output tokens, token limits, and context windows. In the world of language models, it means something practical: a token is the unit into which a language model breaks text before it works with that text.

That definition matters because tokens control how much text a model can consider at once, how long a reply can be, and, in many paid services, what the work costs. A person who understands tokens can write clearer prompts, avoid surprise cutoffs, and make sense of a bill measured in millions of units rather than in pages or words. This article explains tokenization, compares tokens with words and characters, and explains context windows, pricing, and limits. It also clears up a common confusion: an AI token is not a cryptocurrency token. No current vendor price is stated as fact here, because prices change by model and by date.

What a Token Is, in Plain Terms

A language model does not read text the way a person reads a page. A person sees words and follows sentences. A model, at its lowest level, works with numbers. Each token in its vocabulary has a number, called a token ID. When you send a message, the tokenizer converts your text into a sequence of those numbers. The model processes the sequence, predicts the next token, then the next, until the reply is complete. A final step converts the token sequence back into readable text.

Think of it like cutting a sentence into tiles. Each tile may hold a whole short word, or only part of a long word. The model receives the tiles in order, and it learns patterns from how tiles follow one another. That is why the same idea can cost different numbers of tokens in different models: each model has its own tile set, built from its own training data and its own tokenizer. A token is therefore a working unit, not a unit of meaning. The piece “un” in “unbelievable” means little by itself. Meaning emerges from the sequence and from the context around it.

How Tokenization Works

Tokenization is the process of splitting raw text into tokens. It happens before the model does any reasoning or writing, and it happens again in reverse when the model produces text: the model generates tokens, and those tokens are decoded back into characters you can read.

Modern large language models mostly use subword tokenization. Instead of treating every whole word as one unit, and instead of treating every single letter as one unit, the tokenizer uses pieces in between. Common words become single tokens. Rare, long, or newly invented words are built from smaller familiar pieces. This compromise solves two problems. If every distinct word needed its own token, the vocabulary would have to be enormous, and it would still fail on any word it had never seen. If every letter were its own token, even a short paragraph would become a very long sequence, and the model would have to do far more work to process it. Subword pieces sit between those extremes: frequent sequences become single tokens, and anything unfamiliar can still be represented by falling back to smaller pieces, even down to individual characters.

The most widely used method for building a subword vocabulary is byte pair encoding, usually shortened to BPE. The Stanford University CS224n course notes describe the idea clearly: start with a vocabulary containing only characters and an end of word symbol, then repeatedly find the most common adjacent pair of symbols in a large body of text and merge that pair into a new subword, until the vocabulary reaches the desired size. Common words end up as part of the vocabulary, while rarer words are split into components. In the worst case, the notes explain, a word is split into as many subwords as it has characters, so no word is ever completely unrepresentable.

A simplified illustration makes the process concrete. Imagine a tiny training corpus in which the letters t and h appear together very often, and the pair th then appears next to e very often. An early merge might create the token “th”. A later merge might create “the”. Once “the” exists as a token, the tokenizer no longer needs three separate steps for that word. The same logic applies to word endings such as “ing” and “ed”, and to frequent whole words such as “and” and “with”. Frequency, not grammar, decides what becomes a token.

Tokens Versus Words Versus Characters

Words are what you count when you estimate reading time. Characters are what you count when a form limits a field to a certain length. Tokens are what a language model counts, and the relationship among the three is approximate, not fixed. For English text, the widely repeated rule of thumb is that one token is about four characters, or about three quarters of a word. Turned around, 100 tokens are roughly 75 words, and 1,000 tokens are roughly 750 words. A 1,500 word article is roughly 2,000 tokens. These conversions help with rough planning, and they are dangerous if treated as exact, because punctuation, formatting, numbers, code, and spacing all shift the ratio.

A worked example shows why the ratio moves. Consider the sentence: “The cat sat on the mat.” A reader counts seven words. A tokenizer will likely treat most of those short common words as single tokens, with spaces attached to the following word in many tokenizers, so the token count stays close to the word count. Now consider a single long word such as “antidisestablishmentarianism”. A reader counts one word. A tokenizer, faced with a rare long word, will split it into several pieces, so the token count is much higher than the word count. The sentence and the single word tell opposite stories about the token to word ratio, and both are correct for their own text.

Worked examples in this article are illustrative, not measured counts for a named model. They show the principle, and they should not be quoted as exact token counts for any particular system. With that caution, the pattern is consistent: short common words usually cost one token each, longer or rarer words cost several, punctuation often costs a token or attaches to a neighboring piece, and numbers and code often cost more tokens per character than ordinary prose.

Take the greeting “Hello, how are you?” A reader counts four words plus punctuation. An illustrative split might be “Hello”, ”,”, ” how”, ” are”, ” you”, and ”?”, giving about six tokens for four words. The comma and question mark each take a token in this illustration, and the spaces ride along with the words that follow them. Take the word “unbelievable”. A reader counts one word. An illustrative split is “un”, “believ”, and “able”, giving three tokens for one word. Take the word “cat”. A reader counts one word, and the illustrative split is simply “cat”, giving one token. Together, the examples show the full range: a token can equal a word, exceed a word, or be only a fragment of a word.

Why Token Counts Matter

Token counts matter for limits, cost, speed, and quality. Shortening a prompt saves tokens and cost, but removing essential context can make the answer worse. The skill lies in spending tokens where they add value and saving them where they do not.

Limits are the most visible reason. Every model has a maximum number of tokens it can handle in a single request, called the context window and explained below. Think of every request as a budget: instructions plus history plus documents plus the reply must all fit inside it. A request that ignores the budget will fail, truncate, or lose early material, no matter how good the question is.

Cost applies mainly to paid interface use and metered plans. Many providers charge by the token, usually quoted per million tokens, with separate rates for input and output tokens. A long input with a short reply and a short input with a long reply can cost very different amounts, even when the total token count looks similar, because input and output rates usually differ. This article states no current vendor price as fact, because rates differ by model, change over time, and may include discounts for cached input, batch processing, or volume use. The structure matters more than any single price: tokens in, tokens out, and any special categories the provider defines.

Speed is the third reason. A model generates output one token at a time, predicting each next token from the tokens before it. A longer reply therefore takes longer to produce than a shorter reply, even before network delays are considered. Input size also affects processing time, because the model must consider the full input before it starts writing.

Context Windows Explained

A context window is the maximum number of tokens a model can consider in a single request. Everything inside the window is visible to the model when it generates the next token, and everything outside the window is not. The window is measured in tokens, not in words, messages, or pages, which is why two conversations of similar length in words can use very different amounts of window.

Everything in a request counts toward the window. That includes the system instructions that set the behavior of the assistant, the conversation history, any documents or tool results supplied with the request, and the reply as it is being generated. A common mistake is to count only the visible chat messages and forget the hidden parts, such as long system instructions or pasted tool output. Those hidden parts spend the same budget as the words you typed.

Context windows have grown greatly over time. Early widely used chat models worked with windows of a few thousand tokens, enough for a short conversation or a brief document. Later models expanded to tens of thousands and then to hundreds of thousands of tokens, enough for long documents or extended conversations. Some current models advertise windows around one million tokens, enough in rough terms for many hundreds of pages of English text. These figures are only a general picture of growth, not a specification for any named current model, because advertised windows change with each release and providers count the window in slightly different ways. Always check the documentation for the specific model you are using.

It is also important to separate the context window from the maximum output length. A model may accept a very large input but still limit each reply to a smaller number of output tokens. If a reply stops in mid sentence, the most likely cause is that an output limit was reached. Asking for the continuation, or asking for a shorter version, usually resolves it, provided the total budget still allows room.

Pricing by Token: The General Concept

Token pricing follows a simple structure, even though actual rates vary widely. Providers typically quote a price per million tokens, separately for input and output. Input tokens are the tokens supplied to the model. Output tokens are the tokens the model generates. Some providers also define additional categories, such as tokens used for internal reasoning in models that think before answering, or tokens saved through caching of repeated input. The exact categories and rates depend on the provider and the model, and they change over time, so this article describes the structure only and gives no current price as fact.

Three general patterns are worth knowing. First, output tokens usually cost more than input tokens, because generating text token by token takes more computation than reading supplied input. The size of the gap varies, so no single multiplier should be assumed. Second, repeated input can sometimes be charged at a lower rate through caching, because a provider can reuse work already done on a prompt prefix seen before. Caching changes the price, not the token count: the tokens still occupy window space, even when they cost less. Third, some providers offer lower rates for work that can wait, such as batch processing, where requests are handled when capacity is available rather than immediately.

A worked illustration, using invented round numbers for arithmetic only, shows how the structure works. Suppose a provider charged, purely for illustration, 2 units per million input tokens and 8 units per million output tokens. A request with 10,000 input tokens and 2,000 output tokens would then cost 10,000 divided by 1,000,000 multiplied by 2, plus 2,000 divided by 1,000,000 multiplied by 8, which equals 0.02 plus 0.016, or 0.036 units in total. These numbers are not real prices for any provider or model. They show only that both sides of the request are billed, and that a long reply can dominate the cost of a short prompt.

Token Limits and What Happens at the Limit

There are three distinct limits to keep apart: the context window limit, the output limit, and any rate or usage limit imposed by a plan or provider. Confusing them leads to fixes that do not work.

When a request exceeds the context window, a programmatic interface will usually reject the request with an error stating that the input is too long. Nothing is generated, and the input must be shortened before trying again. A chat application, by contrast, often handles the problem silently: it may drop the oldest messages, summarize earlier turns, or truncate a pasted document, so the request fits. That silent handling explains why a long chat can seem to forget instructions given at the start. The instructions have fallen outside the window, or they have been summarized away, and the model can no longer see them.

When an output limit is reached, generation simply stops. The reply may end in mid sentence, with no warning beyond the abrupt ending. This differs from a context window failure, because the input was accepted and work was done. The remedy is also different: ask for a continuation, raise the output limit if the interface allows it, or ask for a shorter answer that fits within the limit. If the reply plus the input together would exceed the total window, raising the output limit alone will not help, because the total budget still binds.

Rate limits are a third category. A provider may limit how many requests, or how many tokens, can be sent per minute, per day, or per billing period. Hitting a rate limit usually produces a temporary error, and the correct response is to wait and retry, or to spread the work out, rather than to shorten a single request. A short request can hit a rate limit if it is one of many sent too quickly, and a very long request can pass a rate limit check while still failing the context window check. First, check which limit was hit. Then shorten the input, request a continuation, or slow down, as the case requires. Resending the same oversized request unchanged reliably wastes time.

How to Estimate Tokens, and How to Use Fewer

Estimation is useful when a limit or a budget is at stake, and unnecessary for an ordinary short question. The simplest estimate uses the rule of thumb: divide the character count by four for English prose, or multiply the word count by about 1.33, since 1,000 words are roughly 1,333 tokens. Both methods give the same rough answer for plain English, and both become less reliable for code, numbers, tables, and non-English text. Treat the result as a planning figure with a generous margin, not as a guarantee.

For an exact count, use a counting tool matched to the model you will actually use. Providers and open source libraries supply tokenizers and counting endpoints for their own models, applying the exact vocabulary and merge rules for that model. Paste the full request, including system instructions and any documents, not only the visible question, because the full request is what will be counted. Count formatting as well as words, because line breaks, indentation, and markup add tokens. Count conversation history as well as the latest message, because history is resent with each turn in many systems. And leave headroom for the reply: a request that uses 95 percent of the window for input leaves almost no room for an answer, even when it technically fits.

Reducing token use is usually a matter of editing. Remove duplicated instructions and repeated context. Replace a long document with the relevant excerpt, and say what was omitted. Use clear, direct language rather than long preambles, and avoid asking for the same information twice in one prompt. Break very long jobs into smaller steps, summarizing as you go, rather than carrying the full history of every step into each new request. These steps save tokens, and they often improve answers, because the model can focus on the material that matters.

An AI Token Is Not a Crypto Token

An AI token is a piece of text inside a language model. A cryptocurrency token is a digital asset recorded on a blockchain, which may represent value, access, ownership, or governance rights in a particular project. The two share only a word. They do not share a technology, a market, or a function, and one cannot be converted into the other.

The confusion is understandable because both uses appear in technology news, and both involve counting. If an article discusses prompts, context windows, or model billing, it means AI tokens. If it discusses wallets, exchanges, or blockchain networks, it means crypto tokens. A third use adds to the confusion: an access token in software security is a temporary credential that proves identity to an application or an interface. That use is also unrelated to AI tokens, except that it borrows the same everyday idea of a token as a small thing that stands in for something larger. Unless the context is blockchain or login security, assume token means the language model unit described here.

Common Misunderstandings About AI Tokens

The first misunderstanding is that a token equals a word. It does not, except by rough approximation for common English words. A token can be a whole word, part of a word, a punctuation mark, or a space attached to a word. Treating tokens as words will underestimate the cost of rare words, code, and numbers.

The second misunderstanding is that token counts are universal. They are not. Each model has its own tokenizer and vocabulary, so the same paragraph can have different token counts in different systems. Comparing context windows or prices across providers without accounting for different tokenizers is therefore misleading.

The third misunderstanding is that a bigger context window always gives better answers. A bigger window gives more room, but it also brings higher cost, longer processing, and a greater risk that the relevant detail is buried. For many tasks, careful selection of context beats sheer volume.

Frequently Asked Questions

What is an AI token in simple terms? An AI token is a small chunk of text that a language model reads or writes as one unit. It can be a whole common word, part of a longer word, a punctuation mark, or a number. A tokenizer splits your message into tokens before the model processes it, and the model writes its reply one token at a time.

How many words is one token? There is no exact conversion. As a rough guide for English, one token is about three quarters of a word, so 100 tokens are roughly 75 words and 1,000 tokens are roughly 750 words. The ratio varies by model, language, and type of text, so use it for estimation only.

How many characters is one token? As a rough guide for English, one token is about four characters. A short common word may be one token, while a long rare word may be several tokens. Numbers, code, punctuation, formatting, and non-English scripts often change the ratio, so character count divided by four is an estimate, not an exact count.

Are tokens and words the same thing? No. Words are units of human language. Tokens are units of model processing. Most short common words happen to be one token each, which is why the two counts look similar for plain English, but longer words, rare words, code, and punctuation break the equivalence quickly.

What is tokenization? Tokenization is the step that converts raw text into tokens before a model processes it, and converts generated tokens back into readable text afterward. Most modern language models use subword tokenization, often built with byte pair encoding, in which frequent character sequences become single tokens and rare words are built from smaller pieces.

What is a context window? A context window is the total token budget for a single request, including instructions, conversation history, supplied documents, and the reply being generated. Everything outside it is not visible to the model, which is why very long conversations can seem to forget early instructions.

What are input tokens and output tokens? Input tokens are the tokens supplied to the model, including the prompt, instructions, history, and documents. Output tokens are the tokens it generates in its reply. Many paid services charge separately for the two, usually pricing output tokens higher, although exact rates vary by provider and model.

What happens when I exceed the token limit? It depends on the interface. A programmatic interface usually rejects an overlong request, and you must shorten the input. A chat application may instead drop or summarize older messages so the request fits. If a reply stops in mid sentence, an output limit was probably reached, and asking for a continuation usually helps.

Why do different models give different token counts for the same text? Each model uses its own tokenizer and vocabulary, learned from different training data. A word that is a single token in one model may split into several tokens in another. Token counts are therefore model specific.

Do AI tokens have anything to do with cryptocurrency? No, beyond sharing a word. An AI token is a unit of text processed by a language model. A cryptocurrency token is a digital asset on a blockchain. An access token in software security is a temporary login credential. The three uses are unrelated, and context is the reliable guide to which meaning is intended.

How can I reduce the number of tokens I use? Remove duplicated instructions and repeated history, replace long documents with the relevant excerpts, clean up pasted formatting, and break very long jobs into smaller steps with summaries between steps. Leave room for the reply.

How do I count tokens exactly? Use the counting tool for the specific model you are using, supplied by its provider or through its tokenizer library. Paste the full request, including instructions, history, and documents, because the full request is what counts.

Sources & references

  • OpenAI, Tokenizer and guidance on tokens in language models, https://platform.openai.com/tokenizer (rule of thumb for English text: 1 token is about 4 characters or about three quarters of a word, 1,000 tokens are roughly 750 words; tokens may be characters, parts of words, or whole words; token counts vary by model and language). Note: independently verified by QA on 29 Oct 2026, when QA opened this page and confirmed the rule of thumb verbatim: one token generally corresponds to ~4 characters of text for common English text, roughly 3/4 of a word (so 100 tokens ~= 75 words).
  • Stanford University, CS224n Lecture 10 notes on subword modeling and byte pair encoding, https://github-wiki-see.page/m/bancron/stanford-cs224n/wiki/Lecture-10 (page opened and verified 29 Oct 2026; subword tokens as the dominant modern paradigm; byte pair encoding steps from characters plus an end of word symbol through repeated merging of the most common adjacent pair; common words become vocabulary items while rarer words split into components; worst case split into as many subwords as characters).

Emma Hudson

Editor of Amberaisle — clear, thoughtful explainers for curious readers. More about the editor →