---
id: con-context-window
schema: concept/1
layer: garden
status: established
name: Context window
aka: ["context length", "token limit", "how much it can read at once", "long context"]
summary: >
  The amount of material an AI can hold in view during one conversation. Anything beyond it gets
  dropped or summarised, and very long chats can make earlier details easier to lose.
first_seen: "2023"
relations:
  builds_on: [con-large-language-model]
  evolved_from: []
  related: []
  parallels:
    - idea: "working memory"
      field: "psychology"
      note: "People can juggle only so much at once; past that, things slip."
    - idea: "the whiteboard in a meeting room"
      field: "meetings"
      note: "Whatever gets erased to make space is gone unless someone wrote it down elsewhere."
implementations:
  - { provider: google, name: "Gemini long-context models" }
  - { provider: anthropic, name: "Claude long-context models" }
competencies: [cmp-describe-the-task]
origin:
  kind: ai-proposed
  by: "seed agent 2026-10-16"
  rationale: "Explains everyday puzzles: why long chats drift, why huge uploads get skimmed, why a fresh chat helps."
---

Each AI conversation has a limit on how much text it can consider at once, measured in tokens (roughly, pieces of words). Your messages, the AI's replies, uploaded files and instructions all count toward it. Modern windows are large but finite.

Even well inside the limit, size has costs. In a very long conversation, details from the start can carry less weight, and a mistake made early can keep echoing. When a big file is uploaded, the tool may only pull in the parts it judges relevant.

Start a fresh chat when you switch topics. When a chat gets long and muddled, ask for a summary of decisions so far, then paste that summary into a new chat. Point to the exact section of a long document that matters.

## Example

A program manager has been refining a project plan in one chat for two hours. The AI starts reintroducing a task she cut an hour ago. She asks for a clean summary of the current plan, opens a new chat with it, and the drift stops.

## How it connects

- It sets the size of the box that **context engineering** fills.
- **Memory** and **projects** are ways to carry information across chats without stuffing one window.
- Lost details in long chats can look like **hallucination**.

## Try it

Open a long chat you already have and jot down the decisions you think you've made in it. Then ask: "List the decisions we've made so far." Note anything it forgot or invented.
