Context window is the maximum token count a model can process. Models range from 4k to 1M+ tokens. Longer context enables whole-codebase analysis and book-length documents. However, quality degrades in the middle of long contexts ("lost in the middle"). Strategies include chunking, RAG, summarisation chains, and context compression.
The 5-Mode Loop
4 of 5 modes available
Read · See · Animate · Test · Build
Read
Master the theory