A chatbot has no real memory. Everything it "knows" in a chat has to be stuffed into one backpack it carries each turn — and the backpack has a size limit. Pack too much and stuff falls out. Meet the context window.
Tap a message to pack it into the backpack (or take it out). Each one has a token size. The AI can only "see" what fits under the limit. Change the model to get a bigger backpack!
🎒 Backpack fill (800 token limit):
Tap to jam a huge pasted article into the backpack on the tiny model. Watch what happens to your actual question at the bottom.
The tiny backpack (800 tokens) can't hold everything. You MUST include the ⭐ starred messages and leave at least 150 tokens free for the AI's answer. Drop the junk, keep the gold. Solve it to win!
Real chatbots fight the backpack limit every single turn. Here's how, from crude to clever:
Drop the earliest messages when full. ✅ Dead simple. ⚠️ The bot "forgets" how the chat started.
Replace old messages with a short summary. ✅ Keeps the gist, saves tokens. ⚠️ Details get blurry.
Models that hold 200K–1M+ tokens. ✅ Huge memory. ⚠️ Slower and pricier — attention cost grows fast.
You learned the context window — the AI's backpack. Everything it sees must fit: system prompt, history, documents, and room for the answer. Go over, and it forgets or refuses. This is why long chats drift and why "just paste the whole book" doesn't always work.