Tokens & Context
What tokens and context windows are, and why relevant context improves an AI response.
Models process text as tokens. A token may be a word, part of a word, or punctuation.
The context window limits how much prompt, conversation, file content, and tool output the model can consider at once.
Relevant, focused context helps the agent understand the problem without burying useful details in noise.
Long conversations can fill the context window. Older details may be summarized, removed, or overlooked.
Giving the agent the missing source material is more reliable than asking it to guess.
Your score — Tokens & Context
/ (%)
Learn this topic through practical guides and real coding workflows inside AI Workshop.
This is a chapter of the free AI Fundamentals quiz. Answer each question, get immediate feedback with an explanation, and move on. Your progress is saved in your browser — nothing leaves your machine, and there is no signup.
We teach every topic in this quiz inside AI Workshop. Join AI Workshop to learn how to apply it in real projects.