Card book

Context window

In the kitchen: How many tickets fit

How much the AI can see at once, like a rail that only holds a few tickets.

What it is

The context window is the limit on how much context fits, measured in tokens. As a conversation grows, whatever doesn't fit gets pushed out, and the oldest messages go first.

In the AI Kitchen

In the AI Kitchen, the rail only holds a few tickets. When a new one goes up, the oldest falls off, and whatever it said goes with it.

In real life

When an AI forgets something you asked for at the start of a long chat, it is often because that message was pushed out of the context window.

Where to try it

Related concepts