Context is finite
Inputs compete for a limited working budget.
Visualize how an LLM context window fills up and compare summarization, RAG, memory, and truncation strategies.
Work the problem before reading the explanation.
Turn the outcome into a rule you can reuse.
Inputs compete for a limited working budget.
They preserve less detail but free capacity.
External knowledge need not stay in context.
Persistent facts are not the same as active context.
Connect the experience to concepts, references, and transfer.
Concept guide
A context window is the finite amount of input information a model can process for a generation step. System instructions, user and assistant messages, retrieved passages, tool outputs, and other supplied content all consume that working budget.
An application must decide what to remove, compress, retrieve later, or persist elsewhere. The correct choice depends on which information is important for the next model decision.
RAG retrieves relevant external information when needed. Memory usually refers to information persisted across turns or sessions. Both can supply context, but neither is identical to the context window itself.
Good context design improves relevance and reliability while helping control token cost and latency. More context is not automatically better context.
No. Context is the current working input; memory is a persistence strategy that may later supply context.
No. RAG selects information to place inside the available context.
No. Summarization trades detail for compactness and can remove information that later becomes important.
The 200,000-token value is an educational example, not a claim about every model.
The lab uses a stable simulated token budget to make trade-offs observable.
LEARNING CONTEXT
More context capacity does not eliminate selection policy; every token still competes for attention and budget.
Mental models
Suggested backfill
No shipped prerequisite is required before entering this incident.
Transfer the model
A support thread grows beyond the working budget. Which evidence would you retain, summarize, retrieve again, or drop?
Carry the idea into another problem or build.
Decide what stays in the prompt, what becomes a summary, what goes to retrieval, and what belongs in persistent memory.
Next: see how agents use tools and observations in a loop.
Continue →