Have you ever noticed ChatGPT suddenly losing track of something you said earlier in a chat? It’s not a glitch—it’s a fundamental limitation of how AI language models process information. The key concepts are tokens and the context window.
Tokens are the basic units of text that models like GPT read. A word like “ChatGPT” might be one token, while longer words can be split into multiple tokens. The context window is the fixed number of tokens the model can consider at once—think of it as short-term memory.
When a conversation exceeds this limit, the oldest tokens are dropped to make room for new ones. That’s why early remarks disappear: the model literally “forgets” them to stay within its memory budget. This is not a bug but a design trade-off between performance and coherence.
Understanding tokens and context windows helps explain why long chats can falter, and why developers optimize prompts to stay within these invisible boundaries. Next time an AI seems forgetful, you’ll know it’s just running out of mental space.