Skip to content
AGI Fans

Tokens and context windows: what the numbers mean

What a token is, how many words fit in a context window, why output limits are smaller, and how tokens set the price and the limits of an AI model.

Updated · 4 min read · How guides are written

A token is the unit a language model reads and writes: a word, a piece of a word, or a punctuation mark. A context window is the maximum number of tokens a model can take into account at one time. Those two ideas explain most of the numbers in a model announcement, including the price.

What is a token?

Models do not process letters or whole words. Text is split into tokens from a fixed vocabulary, built so that common words are a single token and rare words are assembled from fragments. The method most models use descends from byte-pair encoding, adapted for language models in a 2015 paper on translating rare words.

OpenAI’s help centre gives rules of thumb for English:

  • 1 token is approximately 4 characters
  • 1 token is approximately three-quarters of a word
  • 100 tokens are approximately 75 words

These are estimates. Three things push the count up:

  • Other languages. Text in languages less represented in the training data usually takes more tokens per word.
  • Code and data. Symbols, indentation and long identifiers are token-hungry.
  • Unusual strings. Names, URLs and numbers get broken into many small pieces.

Every model family has its own tokenizer, so the same text has a different token count on different models. You can see a tokenizer at work in OpenAI’s tokenizer tool, which colours each token as you type.

What is a context window?

Anthropic’s documentation defines the context window as “the amount of text a language model can look back on and reference when generating new text”, and distinguishes it from the data the model was trained on. It is the model’s working memory for one request.

Everything counts against it:

  • the hidden instructions from the application (the system prompt)
  • the whole conversation so far, both sides
  • any files, search results or tool outputs that were added
  • the model’s own reasoning, if it thinks before answering
  • the answer it is writing

When a chat gets long enough to fill the window, the application has to drop or summarise the early parts. That is why a model can “forget” something you said an hour ago: it is no longer in front of it.

Rough sizes

Using the 100 tokens to 75 words estimate:

TokensRoughly, in English
1,000750 words, a page and a half
10,0007,500 words, a long magazine article
100,00075,000 words, a short novel
1,000,000750,000 words, several long novels

Window sizes have grown from a few thousand tokens to hundreds of thousands or more. The current figure for any model is on its lab’s reference page; treat a number in an old article as out of date.

Input limit, output limit

A model has two limits. The context window caps the total. A separate maximum output caps how much it can write in one response, and is usually far smaller than the window. A model that can read a whole book cannot necessarily write one in a single reply.

A bigger window is not better attention

Being able to fit a million tokens is not the same as using them well.

  • A 2023 Stanford-led study, Lost in the Middle, found that models were best at using information placed at the start or end of a long input, and noticeably worse when the relevant passage was in the middle.
  • A 2025 report from Chroma, Context Rot, tested 18 models and found that performance became less reliable as input length grew, even on simple tasks.

The practical lesson is that a focused prompt with the right material beats a huge one with everything. This is also why retrieval, which selects relevant passages instead of supplying whole libraries, remains useful even with very large windows. RAG vs fine-tuning vs long context compares the approaches.

Why tokens set the price

API access is billed per token, quoted per million, with separate rates for input and output. A few things follow:

  • Output costs more than input, often several times more, because generating is more work than reading.
  • Long conversations get expensive. Each new message resends the whole history as input, so the cost of a chat grows faster than its length.
  • Reasoning is billed. When a model thinks before answering, those tokens are charged as output even if you never see them.
  • Caching helps. If the start of your prompt is identical across requests, providers can reuse the work and charge much less for it. OpenAI’s prompt caching guide describes how.

Subscriptions to chat apps hide all this behind usage limits, but the limits exist for the same reason.

What to check in an announcement

When a model launch quotes token numbers, look for four things:

  1. Context window: total tokens it can consider.
  2. Maximum output: tokens per response.
  3. Price per million tokens, input and output separately, plus any cached or batch rate.
  4. Whether the full window is available to you, since the largest size is sometimes reserved for certain tiers or billed at a higher rate.

How to read a model release announcement covers the rest of the checklist, and What is an LLM? explains what the model does with the tokens once it has them.

Common questions

How many words is 1,000 tokens?

About 750 words of ordinary English, by OpenAI’s rule of thumb that 100 tokens is roughly 75 words. Code, unusual words and other languages can use noticeably more tokens for the same amount of text.

Does a bigger context window make a model smarter?

No. It lets the model take more text into account at once. How well it uses that text is a separate matter, and studies have found that accuracy can fall as the input gets longer.

What happens when a conversation exceeds the context window?

Something has to go. Depending on the product, the oldest messages are dropped, earlier parts are replaced by a summary, or the request is refused. The model itself has no memory beyond what is in the window.