Lesson 1090 of 1455
Context Window Discipline: What Fits in AI's Memory
Pasting a 50-page document plus your question often gets a worse answer than pasting just the relevant 2 pages.
Builders · Prompting · ~10 min read
The big idea
Models have a 'context window' — how much text they can read at once. Modern Claude and GPT can hold 200k+ tokens, but performance degrades the more junk is in there. Curating the context (only what matters) beats dumping everything in.
Some examples
- You paste a whole textbook to ask one question — Claude misses the answer that was on page 4.
- You paste only chapters 3 and 4 — Claude nails it.
- You include 10 PDFs of documentation — the model gets confused which one matters.
- You include only the 1 PDF that's relevant + a clear question — the model is sharp.
Try it!
Take a long document and a question about it. First, ask with the whole doc. Then, ask with only the section you think is relevant. Compare quality.
Key terms in this lesson
Key terms in this lesson
End-of-lesson quiz
Check what stuck
8 questions · Score saves to your progress.
Lesson help
Questions are best handled with a grown-up here.
For this age range, Tendril keeps freeform AI chat paused until parent/guardian consent and child-safe moderation are fully verified. Use the quiz, notes, and related lessons below, or ask a parent, guardian, teacher, or librarian to work through the question with you.
Progress saved locally in this browser. Sign in to sync across devices.
Related lessons
Keep going
Creators · 40 min
Context Window Budgeting: What to Include, What to Cut
Long context windows tempt teams to dump everything in. Smart prompting means choosing what context actually helps — and ruthlessly cutting what doesn't.
Creators · 40 min
Multi-Turn Conversation Design: Memory, State, and Sessions
Single-turn prompts are easy. Multi-turn conversations require thinking about state, summary, and what to surface back to the model — design choices that determine whether the conversation stays coherent.
Builders · 26 min
Few-Shot Prompting: Teach by Example
Instead of describing what you want, show the AI two or three examples. Few-shot prompting is often the fastest way to get consistent output.
