Context window
AI
A context window is the most text, counted in tokens, that a language model can consider at once: its instructions, the conversation and its reply.
A chat with a customer runs for an hour. Instead of sending the full history every time, the agent keeps a short summary of the early part and the last few messages in full, so it stays inside the context window.
The context window sets how much an AI agent can consider at once. It affects cost, speed and whether the agent keeps track of a long conversation.
Browse our complete glossary of e-commerce and subscription terms.
