Tokens, context windows, memory and cost
Learn what a token is, why a chat tool can only hold so much text at once, how to split a long transcript, how memory differs from a fresh chat, and why long chats cost more.
L1–L4 are part of the Pro pass
L0 Explain simply
Analogy: A desk of fixed size. Picture a desk that holds only so many pages. Reading material and your notes need space. If the work exceeds that space, you need a plan for what to include and what to leave elsewhere. The desk reminds you to check capacity; it does not prove how a particular application handles excess input.
Text models process pieces called (AI) tokens. A token can be part of a word, a whole word, punctuation or another text piece; it is not a fixed number of letters. The is the model's bounded working context for an operation, measured in tokens. Input, generated output and other included material must meet the actual model's limits; the visible user message is not necessarily the whole input.
Daily List is a fictional training app. Sam pastes six interview transcripts into a chat tool and receives an answer discussing only two. That is an incomplete answer for the requested coverage. It does not establish that four transcripts fell out of the window: input handling, instructions, retrieval or generation could also matter.
is an application feature that can make saved information available across conversations. It differs from the context supplied for one operation. A new chat is not proof that no system instructions, saved information or connected material will be supplied. Memory availability and saved history must be checked in the actual product.
The picture has a limit. A real desk lets you see its pages. An application may select, summarise or retrieve context, and not everything visible in the interface must be used in the same way. A large window does not prove complete comprehension.
PLAIN WORDS · 3 in this section
- punctuation
- marks such as commas and full stops in writing
- retrieval
- fetching stored information back again
- summarise
- give the main points briefly
PICTURE IT
The picture is the one the lesson above opens with. The table below shows how each part of it matches the work.
THE REAL JOB The desk reminds a newcomer to check actual working capacity and source coverage separately; it does not diagnose an omission or require every long task to be split.
- Check actual input and limits
- Choose appropriate chunks
- Check each summary and source
- Combine with coverage checks
- Compare total workflow cost
HOW THE PICTURE MAPS
| In the picture | In the work |
|---|---|
| The desk of fixed size | The context window |
| Reading material on the desk | Included material measured in tokens |
| Your notes and the reply taking space | Input and output sharing the window |
| Planning what fits on the desk | Check actual model limits and required output |
| Saved information outside the desk | Chat memory differs from current context |
WHERE THIS PICTURE STOPS
- The desk is visible, but an application may select, summarise or retrieve context rather than use every visible message in the same way.
- A window is measured in model-dependent tokens, not pages or a fixed number of letters.
- Saved memory, visible history, current context and provider retention are distinct; a fresh chat does not necessarily start empty.
HOOK
Check capacity, preserve sources, verify coverage.
REMEMBER IT THIS WAY
A rule of thumb: if you see this, think that.
An omitted source needs investigation: check accepted input and limits, then verify source coverage and meaning.
| In the trick | What it stands for |
|---|---|
| Investigate the omission | An omission is not a diagnosis of overflow |
| Check the input | Check what inputs are included, the required output capacity and separate service/model limits |
| Verify coverage | Preserve source identifiers, meaning, exceptions and cross-source contradictions |
Capacity checks do not establish comprehension, and a layered summary can lose evidence even when every input fits.
TELL A FRIEND
The desk is a reminder of bounded context, not proof of silent dropping. Check actual input and limits, preserve sources and exceptions, and verify coverage before trusting a combined answer.
OFTEN MIXED UP WITH What a large language model is, and is not. That topic explains what the model is. This one explains how much of your text it can hold at once.
Sources & standards — 2 sources
- Implementation-specific
Understanding and counting tokens ↗ — OpenAI · Complete substantive token-count help page read 7 November 2026: encoding/language variation, context/output limits and input/output/cached/reasoning categories. Vendor-specific; no current price/limit catalogue.
Current help page read 2026-11-07; undated living page. Actual read scope: Complete substantive page, 123 rendered lines Limits: Vendor/product scope; not a universal pricing catalogue. No figure copied or integrated.
- Simplified educational illustration
Payments Signal editorial teaching models — Payments Signal · Desk metaphor, Daily List and named people, six-transcript omission and proposed split/combine checks are fictional educational examples; no diagnosed overflow, measured usage/quality or guaranteed product-memory behaviour.
Used wherever diagrams, scenarios, figures, or example values are didactic constructions rather than sourced facts; every such use carries a simplifications disclosure. All people, companies, banks, and list entries in examples are fictional.
PRACTISE AND KEEP
Sources for this topic — 4 sources
- Implementation-specific
Understanding and counting tokens ↗ — OpenAI · Complete substantive token-count help page read 7 November 2026: encoding/language variation, context/output limits and input/output/cached/reasoning categories. Vendor-specific; no current price/limit catalogue.
Current help page read 2026-11-07; undated living page. Actual read scope: Complete substantive page, 123 rendered lines Limits: Vendor/product scope; not a universal pricing catalogue. No figure copied or integrated.
- Implementation-specific
Claude prompting best practices ↗ — Anthropic · Selected introduction/clear instructions/context/examples and complete long-context section read 7 November 2026; documents-first/query-last and quote extraction are Claude recommendations, not universal correctness guarantees.
Living page read 2026-11-07. Actual read scope: Introduction and clear instructions/context/examples, plus complete long-context section lines 144–195 (recommendations and both examples). Other sections not reviewed. Limits: Living page not fully reviewed. Do not repeat volatile model catalogue or construe advice as enforced permissions. No figure copied or integrated.
- Regulatory guidance
Anonymisation and pseudonymisation ↗ — Data Protection Commission, Ireland · Main anonymisation/pseudonymisation body and student example table: removing names/coding does not necessarily eliminate identification. Irish/EU scope, no actual dataset certification.
Undated current guidance read 2026-11-07. Actual read scope: Complete substantive main body lines 9–23 and literal student example table. Limits: Irish/EU GDPR guidance, not a certification of any synthetic dataset or full UK legal advice. Linked detailed note not yet read; ICO main page and PDF attempts 403. No figure copied or integrated.
- Simplified educational illustration
Payments Signal editorial teaching models — Payments Signal · Desk metaphor, Daily List and named people, six-transcript omission and proposed split/combine checks are fictional educational examples; no diagnosed overflow, measured usage/quality or guaranteed product-memory behaviour.
Used wherever diagrams, scenarios, figures, or example values are didactic constructions rather than sourced facts; every such use carries a simplifications disclosure. All people, companies, banks, and list entries in examples are fictional.
Deepest material on this page: L4 — Standards & sources. Where a topic stops short of implementation depth, that is a deliberate coverage decision, not an oversight — see coverage.