What is a context window in AI coding tools?
A context window is the maximum amount of text (code, comments, conversation) an AI model can "see" at once when generating a response. Larger context windows let the model consider more of your codebase — for example, Claude 3.5 Sonnet has a 200K token window (~150,000 words). Most coding tools use a subset of your files as context to stay within limits.