What does context window mean?

In artificial intelligence & machine learning, context window means the maximum amount of text, measured in tokens, that a language model can take into account at once, including the prompt, any documents and its own answer.

nounCore term

Artificial Intelligence & Machine Learning vocabulary · Large Language Models

In Turkish: bağlam penceresi

Also used in: Software Engineering

How it is used

Described by its size: a 128k context window, a long context window. When a conversation grows longer than the window, the oldest parts must be cut or summarized. Also called context length.

Example sentences

  1. The whole contract fits in the context window, so we don't need to split it.

  2. Answer quality drops when we fill the last part of the context window.

Common collocations

  • context window size
  • long context window
  • fit in the context window
  • 128k context window

More terms: Large Language Models

Practise with graded reading

Reading at the right level is the fastest way to make new words stick. Pick free English books by level: