Skip to content
Mastering Claude

Home / Never running out of tokens

Never running out of tokens10 minFondation

Understanding the token and the context window

Every word read or written consumes a token, and reopening an old session reloads, and therefore repays, its whole context window.

Claude does not read whole words but tokens, small fragments of text. Every question asked, every answer received and every file attached is first split into tokens before being processed, and it is this splitting that determines what is deducted from your quota and what fills the conversation's working memory. On a subscription plan, the one most organisations follow, the token is not billed per unit: it consumes a quota, which does not make the question any less concrete, an exhausted quota stops the work just as surely as a refused payment. Some organisation plans are instead billed by consumption, and there the count does become an actual expense: whoever manages your accounts knows which one you have.

The context window, a limited working memory

The context window is the space that holds everything Claude can see at once to answer: the message you have just written, the full history of the current conversation, and the files you have attached. This space has a ceiling, and that ceiling varies with the model used, the figure below gives the measured values. Once the window is full, there is no more room to continue without making a choice: summarise, clean up, or start again on a lighter base.

Reopening an old session reloads everything

The most common trap for someone discovering the tool fits in one sentence: picking up the thread of an already long session does not only cost the new message being written, it reloads everything that has already been exchanged before it. A session open for several days, loaded with dozens of exchanges and several files, therefore recounts its entire history with every new question, even a short one. This is the mechanism that explains why an old session gradually becomes slower and heavier on quota, with nothing appearing to have changed on the user's side.

What actually piles up

A simplified example shows what accumulates in a session left open for several days:

Jour 1 : questions 1 à 20, plus un fichier joint
Jour 2 : la session reprend, questions 1 à 20 rechargées en entier, puis questions 21 à 45
Jour 3 : la session reprend encore, questions 1 à 45 rechargées en entier, puis questions 46 à 60

Every resumption puts everything that came before back in front of Claude, never just the last question asked. One nuance matters for your quota: Anthropic's documentation states that content attached to a project is cached, and that only new or non cached portions are counted. The weight remains real, but it is not paid twice over identically. It is this accumulation that makes an old session heavier to carry than its content for the day would suggest.

The rest of this module explains what to do with this observation: what to do once the limit is reached, see what to do when the limit is reached, and how to spread out your work to avoid hitting it too often, see the right habits for saving.

Figure 1

What fills the context window

Current message
The question or instruction you have just written.
Session history
The full set of previous exchanges in this same conversation.
Attached files
The documents you have added to the conversation.
Model ceiling
The limit beyond which nothing more can be added without making room.
Each layer adds to the previous ones without replacing them, up to the ceiling specific to each model.
Figure 2

Window size by model

1 000 000tokens
context window of the most recent models, Fable 5.1, Opus 5 and Sonnet 5, on paid plans
support.claude.com, 2026-09-02
500 000tokens
context window of the previous generation, Opus 4.8, 4.7, 4.6 and Sonnet 4.6, in conversation
support.claude.com, 2026-09-02
200 000tokens
context window of other models, including Haiku 4.5
support.claude.com, 2026-09-02
Three window tiers by model, recorded on 2 September 2026. Address at the end of the lesson.
Calibrate it yourself

A person opens a Claude session that has stayed active for three days, with several dozen messages exchanged and two files attached. She adds a single short question to it.

Write in one sentence what this situation establishes, and in one sentence what it does not establish.

What to remember
  • The token is the unit Claude counts for reading and writing, it matches neither a whole word nor a single character.
  • The context window groups the current message, the conversation history and the attached files into a single space.
  • The ceiling of this window changes with the model chosen, which makes the choice of model relevant beyond answer quality alone.
  • Resuming an old session reloads its entire history, not just the most recent question added to it.
Do this now

Open your account settings, find the page that shows your usage, and note what is displayed there: the share of the current window already consumed, and that of the weekly limit.

What still needs checking

These points depend on an interface or a rule that may have changed since this was written. Check them on your own screen before relying on them.

  • The exact path to this page was Settings then Usage as recorded on 2 September 2026, in English in the interface. A menu gets renamed: look for the page that displays your usage rather than a label learned by heart.
Check the source

Every datable claim in this lesson links here to the public text behind it. A source that does not open proves nothing.