Lattice
Skip to content

Context window

The number of tokens a model can consider at once: a ceiling on what you can send, not a target for what you should.

By Entry last reviewedmethod

What it implies

Long contexts degrade silently rather than gracefully. Models reliably answer from the beginning and end of a long document and perform near chance on the middle. A 50k-token context is therefore a few thousand tokens of reliable signal plus a large quantity that is present, billed, and largely ignored.

Related terms

Rules of thumb

  • A definition is only useful next to the decision it changes. Read the linked layer to see where this term bites.
  • If a vendor's definition differs from this one, ask what it measures. Marketing definitions rarely name a number.
  • Every optimisation spends latency, memory or quality somewhere. Find out which before you turn it on.

Ask an AI about this page

Opens the assistant with this page’s link and a question already filled in.