A context window is the maximum amount of information a language model can process in one prompt, measured in tokens. A token averages roughly three-quarters of a word, so a larger window can hold more supporting material. section 10.5.1
Why more context is not always better
Large windows can hold extensive knowledge bases, but sending everything with every question may overload the model, reduce performance, and increase token-based costs. Retrieval Augmented Generation instead retrieves only the information relevant to the user’s question before adding it to the prompt. section 10.5.1





















