What Is a Context Window? Why AI Chats Forget
The context window is a model’s working memory. Everything the model uses to write its next reply, the system prompt, any character card, the chat history and your new message, has to fit inside it, along with room for the reply itself.
Why it matters for chat
When a conversation outgrows the window, the app drops the oldest messages. The model is not being careless when it forgets your character’s name from two hours ago. It literally cannot see that part of the chat any more.
Typical sizes
Open models commonly support 8K to 128K tokens, and some go further. Bigger windows remember more, but they use more memory and can be slower, especially on local hardware.
Rule of thumb
One English word is about 1.3 tokens. A 32K window holds roughly 24,000 words in total, shared between instructions, history and reply. See exactly how many turns that is with the chat memory calculator.
Related
More terms: Alignment · Content filter · Guardrails · Hallucination · Jailbreak · Refusal · Full glossary