LLM & Transformer Fundamentals·Question 70 of 109Quick-fire

What is the context window, and what happens as you fill it?

Quick-fire answer from the Awesome Generative AI Guide (MIT)

Type it the way you would explain it to an interviewer. A few sentences is enough; you can't break anything.

Model answer: the part to lead with

The context window is the maximum number of tokens (input plus output) a model can attend to in a single call. Longer windows let you pass more instructions, history, and retrieved data, but they are not free: cost and latency grow with input length, and quality can degrade well before the hard limit. Models tend to use information at the start and end of a long context better than the middle, and very long noisy contexts can actively hurt reasoning. So the goal is the right, minimal context, not the maximum.

Full worked answer

The context window is the maximum number of tokens (input plus output) a model can attend to in a single call. Longer windows let you pass more instructions, history, and retrieved data, but they are not free: cost and latency grow with input length, and quality can degrade well before the hard limit. Models tend to use information at the start and end of a long context better than the middle, and very long noisy contexts can actively hurt reasoning. So the goal is the right, minimal context, not the maximum.

Learn more: Chroma "Context Rot" research

What a good answer covers

  • The context window is the maximum number of tokens (input plus output) a model can attend to in a single call
  • Longer windows let you pass more instructions, history, and retrieved data, but they are not free
  • Models tend to use information at the start and end of a long context better than the middle, and very…
  • So the goal is the right, minimal context, not the maximum

Key terms: Learn more

Quick-fire answer from the Awesome Generative AI Guide (MIT) · answer text last updated 6 November 2026 · scoring and review schedule by LLM Prep