Skip to content
AI Exercises
–points–day streak

What is a context window in AI?

The context window is how much text an AI can keep in mind at once: your messages, its replies and any files. Anything that doesn't fit is forgotten.

In real life

Like a whiteboard in a meeting: when it's full, the oldest notes are wiped to make room, and nobody remembers them.

Try it yourself

Window size

What the AI can see

34 of 64 tokens

  1. You: Hi! I'm Dana, and I'm planning a trip to Lisbon.

  2. AI: Nice to meet you, Dana! Lisbon is lovely. How can I help?

Keep sending messages and watch the oldest ones drop out once the window is full.

Where you will use this

  • Track 1, lesson 4: Files, images and long documentsComing soon
  • Track 1, lesson 11: Research and long tasksComing soon

Quick check: Context window

Question 1 of 3

In a very long chat, the AI forgets something you said at the start. Why?

In a very long chat, the AI forgets something you said at the start. Why?