Lesson 521 of 1234
Why AI Forgets the Start of a Long Chat
AI has a memory limit for how much of a chat it can remember at once.
Lesson map
What this lesson covers
Learning path
The main moves in order
- 1The big idea
- 2AI's Memory Suitcase: The Context Window
- 3The big idea
- 4Why AI Has a 'Memory Window' That Fills Up
Concept cluster
Terms to connect while reading
Section 1
The big idea
AI can only hold so much chat in its 'short-term memory' at once. If you talk to it for a really long time, it might forget what you said way back at the beginning. This is called the context window.
Some examples
- Tell AI your name, then chat for 30 minutes — it might forget your name.
- If a chat gets really long, AI may repeat itself.
- Newer AIs can hold longer chats than older ones.
- Starting a fresh chat clears its memory completely.
Try it!
Tell an AI three things about you: your favorite color, food, and animal. Chat about something else for a while. Then ask 'What's my favorite color?' Did it remember?
Key terms in this lesson
Section 2
AI's Memory Suitcase: The Context Window
Section 3
The big idea
AI has a 'memory suitcase' for each chat. Once it fills up, the oldest stuff falls out.
Some examples
- A small AI may remember only a few pages of chat.
- A big AI can remember a whole book at once.
- When the suitcase fills, AI forgets the start of your chat.
- Starting a fresh chat empties the suitcase.
Try it!
Try a long chat with AI. After many messages, ask it to repeat what you said at the very start. See if it still remembers!
Here's why "AI's Memory Suitcase: The Context Window" matters: Learning about AI is one of the most important skills you can build for the future! AI can only hold so many words at once — like a suitcase that fills up — and knowing how to apply this gives you a concrete advantage.
- Learn what "context window" means and why it's important
- Learn what "memory" means and why it's important
- Learn what "limits" means and why it's important
- 1Find out more about AI's Memory Suitcase: The Context Window by asking an AI a question about it
- 2Talk to a grown-up about what you learned
- 3Write down one new thing you learned today
Section 4
Why AI Has a 'Memory Window' That Fills Up
Section 5
The big idea
AI has a memory window — a fixed amount of words it can see at one time. When the window fills, the oldest words drop off.
Some examples
- A short chat fits easily inside the window.
- A super long story might push the beginning out of AI's view.
- If you told AI your name 50 messages ago, it might forget it.
- Bigger AI models have bigger windows — like a bigger whiteboard.
Try it!
Imagine you can only remember the last 10 sentences of a story. What would you forget first? AI works the same way!
Key terms in this lesson
End-of-lesson quiz
Check what stuck
15 questions · Score saves to your progress.
Tutor
Curious about “Why AI Forgets the Start of a Long Chat”?
Ask anything about this lesson. I’ll answer using just what you’re reading — short, friendly, grounded.
Progress saved locally in this browser. Sign in to sync across devices.
Related lessons
Keep going
Builders · 40 min
What a Token Actually Is (And Why It Matters for Your Prompts)
AI doesn't read words — it reads tokens. Knowing the difference makes you a better prompter.
Builders · 40 min
Why AI 'Forgets' Halfway Through a Long Chat
AI has a memory limit called the context window. Hitting it explains a LOT of weird behavior.
Builders · 40 min
AI and tokens vs words: why your prompt costs what it costs
Learn what a token actually is so you can predict cost and context limits.
