context window — entry #289

context window

context window example: in a chat, every user message and every reply piles up, and each new turn carries the whole earlier history as input. On Anthropic's API, the system prompt, tool definitions, tool results, images, documents and the model's extended thinking all count too. Some current Claude models have a 1M-token window, others 200k. Common misunderstanding: bigger is automatically better. The docs say accuracy and recall degrade as token count grows, called context rot, so choosing what goes into the context matters as much as how much room there is. source: https://platform.claude.com/docs/en/build-with-claude/context-windows

↑ 0 net votes☆ save · 0Report entry