Skip to content

Tokens and the context window, decoded

What is a context window, and what is a token? Two words behind most AI pricing and limits: a token is a piece of a word, the window is how many fit at once.

By Nick

2 min read

AI Basics Beginner
On this page

Before you start

Two words sit under every AI price list and every usage limit. Once you know them, the numbers stop being mysterious.

Token

A token is a piece of a word. “Cat” is one token. “Uncomplicated” is three or four. A page of English is a few hundred. Everything you send and everything the model (the AI system on the other end) replies is counted in tokens, and that count is what you are paying for, whether per use or through a plan’s limit.

Paste a forty-page PDF and you have just spent tens of thousands of tokens before asking a question. That is why the same number of messages can feel cheap one day and expensive the next.

Context window

The context window is how many tokens fit on the desk at once: your messages, its replies, the files, the instructions. Every model has a fixed size. Fill it and the oldest things start falling off the far edge, which is why a long chat forgets its own beginning.

Bigger windows exist and they help. They do not help as much as you would think, because a model reading a huge pile is worse at finding the one line that matters than a model reading a short, relevant one.

What to do with this

  • Send the relevant pages, not the whole document.
  • Start a new chat per job, and hand over what matters.
  • Use the cheap model for the routine stuff, because it costs fewer tokens per answer and you have a lot of routine stuff.

Curious how much a thing costs before you send it?

Roughly how many tokens is the text below, and how much of a typical context window would
it use? One line, then stop.

[paste the text]
Example reply (trimmed). Your app will word it differently.

A two-page rental agreement pasted in, plus the prompt above

Roughly 1,300 tokens. That is a small fraction of a typical context window, well under 2 percent.

Common questions

How many tokens is a page?

Roughly 500 to 700 for a page of English. A long PDF is tens of thousands. A whole codebase can be more than the window holds, which is why coding agents read files selectively.

Why do I care if I am on a subscription?

Because the limit on your plan is counted in them. A long chat with a big PDF in it burns through your allowance far faster than short chats, even if you send the same number of messages.

Is a bigger context window always better?

It lets you paste more. It does not make the model better at finding the one line that matters in a pile. A tidy desk beats a big one.

What to do next

Related reading

Last reviewed 9 October 2026 by Nick.

Software changes fast. If something here is out of date, tell me and I'll fix it.

Get new guides by email

Occasional and practical. No spam, no hype, unsubscribe whenever.

Occasional practical guides from UncomplicateAI. You will get a confirmation email before anything else is sent. Unsubscribe any time. Privacy

You are not subscribed until you confirm the email. Unsubscribe any time.