productinterview.tools
MenuClose

What Is a Context Window? Limits, Memory and Long Context

The maximum number of tokens a model can take in at once, prompt and answer together; anything outside it, the model can't see.

1 min read
On this page
  1. How it works
  2. Why it matters, by role
  3. How interviews test it
  4. Common confusions
  5. Related concepts
  6. Sources

How it works

  • Every request sends the model its instructions, history, documents and tool results.
  • When that exceeds the window, something must be cut or summarised.
  • Even inside the window, details in very long inputs can be missed.

Full lesson: How LLMs work.

Why it matters, by role

  • Applied AI PMProduct Manager. Decides what a product should do, for whom, and why. Read the full explanation: Explains "forgetting" and memory design.
  • AI Product Engineer: Context selection and summarisation.
  • Forward Deployed EngineerForward Deployed Engineer. An engineer embedded with customers who scopes, builds and ships AI solutions into production. Read the full explanation: RAGRetrieval-augmented generation. Fetching relevant documents and putting them in the model's context before it answers. Read the full explanation vs long context choices for customers.

How interviews test it

Common confusions

  • The model has no memory between requests; the app re-sends context.
  • Bigger windows cost more and can still miss buried details.

Sources