3. Context Windows and Tokens
Budget prompt size, attachments, and long conversations.
By Jacques Botte, founder of Toptronic®. Last updated 12 September 2026.
The lesson
A token is a small chunk of text. Context window is the model's working memory for the current request.
Long context is useful, but it costs money, time, and memory. Put the highest-value facts first and remove old noise.
For coding, include file names, exact error text, acceptance criteria, and what must not change.
Check yourself
Question 1: What is a context window?
- A GPU fan setting
- The model working memory for the current request — correct
- A Windows desktop panel
- A license file
Answer: The model working memory for the current request
The context window is the amount of prompt and conversation the model can consider.
Question 2: Why can very long prompts be expensive or slow?
- They use more input tokens and processing — correct
- They make the keyboard slower
- They disable Markdown
- They shrink the model
Answer: They use more input tokens and processing
More tokens usually mean more cost, latency, and attention burden.
Question 3: For coding help, which context is most valuable?
- Only the word fix
- A random screenshot without explanation
- No project details
- Exact file paths, errors, constraints, and acceptance criteria — correct
Answer: Exact file paths, errors, constraints, and acceptance criteria
Specific technical context helps the model solve the actual problem.
← Previous lesson · All 83 lessons · Next lesson →
The full course — 83 lessons and 249 quiz questions — ships inside the app. Get TPEE to study it offline.