Week 1 • Lesson 3 of 6 • 40 mins

Understanding Context Windows & Memory

The hidden mechanic that 99% of users miss. How to manage AI memory like a professional.

The Secret Mechanic: Context Windows & Memory

This is the lesson that separates amateurs from professionals. If you understand context management, you'll get 10x better results from the exact same AI tools everyone else is using.

1. What is a Context Window? (The Real Explanation)

Imagine the AI has a whiteboard. Everything you say and everything it responds with gets written on this whiteboard. The AI can "see" everything on the whiteboard when deciding what to say next.

But here's the catch: the whiteboard has a fixed size.

Once it's full, the AI has two choices:

  1. Stop accepting new information (hit a limit)
  2. Start erasing the oldest stuff to make room for new stuff

Most modern AI tools do option 2. This is called "context window rollover" or "truncation."

What this means in practice:

  • You start a chat about marketing strategy
  • You give it your brand guidelines, target audience, competitor analysis
  • You have a long back-and-forth refining ideas
  • 10,000 words later, you reference something from your initial brand guidelines
  • The AI has no idea what you're talking about
  • You: "WTF, I literally told you this at the start!"
  • AI: "I apologize, but I don't see that information in our current conversation."

The AI isn't being dumb or difficult. It literally can't see the beginning of your conversation anymore.


2. Context Limits in 2025 (The Actual Numbers)

These are approximate, and they change, but here's the landscape:

ChatGPT:

  • GPT-4o: ~128,000 tokens
  • GPT-4o mini: ~128,000 tokens
  • Token = roughly ¾ of a word
  • So ~96,000 words total (input + output combined)

Claude:

  • Claude 3.5 Sonnet: ~200,000 tokens (~150,000 words)
  • Claude 3 Opus: ~200,000 tokens
  • Haiku: ~200,000 tokens

Gemini:

  • Gemini 1.5 Pro: 2,000,000 tokens (yes, 2 million)
  • Gemini 1.5 Flash: 1,000,000 tokens
  • This is ~1.5 million words - roughly 15 full novels

Why the massive differences matter:

  • Small project: 128k is plenty
  • Upload a 100-page PDF: You need 200k+
  • Analyze an entire codebase: You need 1M+
  • Synthesize multiple books: You need 2M

3. The "Context Collapse" (Why Your Conversations Get Weird)

Symptoms that you've exceeded effective context:

Early Warning Signs:

  • AI asks you to repeat information you already provided
  • Contradicts something it said earlier
  • Becomes vague or generic after being specific
  • Stops following instructions you gave at the start

Advanced Symptoms:

  • Starts hallucinating details to fill gaps
  • Tone shifts (was casual, becomes formal)
  • Formatting breaks down (was using bullet points, switches to paragraphs)
  • Loses track of tasks ("What were we working on again?")

The Breaking Point:

  • Outright errors
  • Nonsense responses
  • "I apologize, but I'm not sure what you're referring to"

Pro tip: If you're getting weird output, it's often context collapse, not the AI "getting dumb." Start a fresh chat.


4. Professional Context Management Techniques

Technique #1: The Project Bible (Claude-Specific)

Claude has a feature called "Projects" that's genuinely game-changing for ongoing work.

How it works:

  • Create a project (e.g., "Blog Writing" or "Product Launch")
  • Upload core documents: brand guidelines, product specs, target audience profiles, writing samples
  • Add "Project Instructions" - permanent rules for this project
  • Every chat in that project has access to these docs
  • The docs DON'T count against your per-conversation limit

Example setup for a content writer:

Project: Blog Writing
Uploaded Docs:
        - Brand voice guide.pdf
        - Target audience research.pdf
        - SEO keyword list.csv
        - Previous popular articles(5 examples)

Project Instructions:
        - Write in a conversational tone, as if talking to a smart friend
- Always include a hook in the first 2 sentences
    - Target 1200 - 1500 words
    - Include 3 - 5 subheadings
    - No corporate jargon("leverage," "synergy," etc.)
    - End with a clear call- to - action

Now every conversation in this project starts with this context baked in. You don't need to re-explain your brand voice every single time.

Technique #2: The Summary Reset

When a conversation is getting long but you're not done:

Step 1: Ask the AI to summarize

"We've covered a lot. Please summarize:
1. The main goal of this project
2. Key decisions we've made so far
3. What we still need to accomplish
4. Any specific constraints or preferences I've mentioned

Keep it under 300 words."

Step 2: Copy that summary

Step 3: Start a NEW conversation

Step 4: Paste the summary as your first message

"Continuing from a previous conversation. Here's where we are:
[paste summary]

Now let's work on [next task]."

This gives you a fresh context window while maintaining continuity.

Technique #3: The Instruction Header

For repeated tasks, create a reusable instruction block:

[ROLE: Senior Marketing Analyst]
[TASK: Email newsletter]
[AUDIENCE: B2B SaaS founders, 30 - 45 years old, technically savvy]
[TONE: Professional but punchy, no fluff]
[CONSTRAINTS: Max 300 words, 3 key points, one CTA]
[FORMAT: Subject line, preheader, body, P.S.]

[TOPIC]: This week's topic is...

Save this template. Paste it at the start of each new conversation. It front-loads the context so the AI knows exactly what mode to be in.

Technique #4: Chunking for Large Documents

If you need to work with a document that's too large:

Option A: Use Gemini (huge context) Option B: Use Claude Projects (upload the doc as project knowledge) Option C: Chunk it strategically

For option C:

  1. Split document into logical sections
  2. Process each section separately
  3. Have AI create summaries of each section
  4. Feed all summaries into a final synthesis conversation

Example:

  • Upload Chapter 1 → "Summarize key points in 200 words"
  • Upload Chapter 2 → Same
  • Continue for all chapters
  • New conversation → Paste all summaries → "Now synthesize these into an overall analysis"

Technique #5: The Context Pruning

If mid-conversation you realize you went down a rabbit hole that's eating context:

"Ignore everything we discussed about [topic X]. That was a tangent. Let's refocus on [original goal]."

This doesn't delete the old messages, but it tells the AI to deprioritize them mentally.


5. Memory vs. Context (Understanding the Difference)

Context = Everything in the current conversation Memory = Some AI tools now have longer-term storage across conversations

ChatGPT's Memory Feature:

  • Turned on by default (can be disabled)
  • Learns from past conversations
  • Stores facts like "User prefers Python over JavaScript" or "User works in fintech"
  • Persists across all your conversations
  • You can view and delete memories

Pros:

  • Don't need to re-introduce yourself
  • AI adapts to your preferences over time

Cons:

  • Can be creepy
  • Might learn wrong things
  • Privacy concerns

Claude doesn't have persistent memory (as of 2025), which is why Projects are so important.

Pro move: If using ChatGPT memory, periodically review what it's learned about you. Delete anything wrong or sensitive.


6. Common Mistakes (Context Edition)

Mistake #1: The Infinite Chat

You have one chat that's been going for 3 weeks, covering 15 different topics. The AI is hopelessly confused but you keep adding to it because "it knows our project."

Fix: Start fresh conversations for distinct tasks. Use Projects or summary resets to maintain continuity without bloat.

Mistake #2: Context Stuffing

You paste your entire 50-page business plan because you think "more information = better output."

Reality: The AI will skim and miss key details. It's better to give it a focused 500-word summary.

Fix: Be surgical with context. Only include what's necessary for the current task.

Mistake #3: Assuming Persistence

You had a great conversation yesterday. Today you open a new chat and expect it to remember.

Reality: Unless you're using Projects or Memory features, it's a blank slate.

Fix: Either continue the same conversation (if within context limits) or explicitly reference past discussions.

Mistake #4: Not Testing the Boundaries

You don't know when you're approaching the context limit until output gets weird.

Fix: For critical work, check message count. If you're past 20-30 exchanges, consider a reset. Quality degrades before it breaks entirely.

Mistake #5: Ignoring Model-Specific Features

ChatGPT has Memory. Claude has Projects. Gemini has massive raw context. You're using all of them the same way.

Fix: Learn each tool's context management features and use them appropriately.


7. The Context Audit (Practical Exercise)

Take one of your recent long conversations with AI. Analyze it:

Questions to ask:

  1. How many total exchanges (your message + AI response = 1 exchange)?
  2. At what point did quality start to degrade?
  3. Were there tangents that wasted context?
  4. Could you have structured this as 3 separate focused chats instead?
  5. Did you re-explain things the AI should have remembered?

Most people find:

  • 50%+ of context is wasted on redundancy or tangents
  • Quality drops notably after 15-20 exchanges
  • They could have achieved the same results in â…“ the length with better structure

8. Advanced: The Context Strategy Matrix

Scenario Best Tool Strategy
One-off quick task ChatGPT Single conversation, no special setup
Ongoing project (weeks/months) Claude Projects Upload core docs, set instructions once
Massive document analysis Gemini Leverage 2M context window
Daily repeated tasks ChatGPT with custom instructions Set global preferences
Sensitive/private work Local Llama Everything stays on your machine

What's Next:

You now understand the mechanical limitation that trips up most users. But even with perfect context management, there's another huge failure point: safety and privacy.

Most people are unknowingly putting themselves or their companies at risk. Next lesson, we fix that.

Hands-on Practicals

The Context Collapse Test

Open a fresh chat with any AI. First message: 'My favorite color is Neon Purple. Remember this.' Then paste five long Wikipedia articles (pick random topics - quantum mechanics, ancient Rome, photosynthesis, whatever). After each article, ask the AI to summarize it in 50 words. After the 5th article, ask: 'What is my favorite color?' Document: (1) At what point did it forget? (2) Did it admit not knowing or did it guess? (3) How did the quality of summaries change from article 1 to article 5? This viscerally demonstrates context limits.

The Summary Reset Challenge

Find a long conversation you've had with AI (at least 15-20 exchanges). Practice the summary reset technique: Ask it to summarize the conversation in 10 bullet points. Copy that. Start a NEW chat. Paste the summary. Ask a follow-up question based on the original conversation. Compare: Does the AI still 'understand' the project? What nuance was lost in the summary? What was preserved? This teaches you what information is worth preserving.

Set Up Your First Project

If you have Claude (free tier works), create a Project for something you do regularly - content writing, data analysis, job applications, whatever. Upload 2-3 core documents that you'd normally need to reference. Write 3-5 Project Instructions. Use it for a week. Track: How much time did this save? What worked? What didn't? Most people never use this feature and they're leaving huge efficiency gains on the table.

Knowledge Check

What happens when an AI conversation exceeds its context window?

Why is Gemini's 2 million token context window significantly more useful than ChatGPT's 128k for certain tasks?

What is Claude's 'Projects' feature designed to solve?

When should you start a NEW conversation instead of continuing an existing one?