What is a Context Window

I’ve been chatting with AI a lot lately. And I mean a lot.

Sometimes I find myself scrolling back through endless messages, trying to find where we left off on a particular topic.

And sometimes I get responses that seem totally off-base, as if the AI has forgotten what we were talking about.

Sound familiar?

If you’re diving into the world of large language models (LLMs) like ChatGPT or Claude, you might’ve run into similar issues. Today, I want to talk about why this happens and how you can get the most out of your AI chats. It all comes down to something called the context window.

What’s a context window?

The context window is like the AI’s short-term memory.

It’s the amount of conversation the AI can “see” and use to form its responses. When you chat with an AI, it’s not remembering everything you’ve ever said to it. It’s working with a limited snapshot of your conversation.

Tthis window isn’t infinite. It’s measured in tokens (roughly, pieces of words), and once you hit that limit, older parts of the conversation start falling out of view.

Why does this matter?

  1. Relevance: The AI can only respond based on what it “sees” in the context window. If important information falls out, its answers might become less relevant.
  2. Hallucinations: When the AI loses context, it might start making things up to fill in the gaps. We call this hallucinating, and it can lead to some pretty bizarre responses.
  3. Efficiency: A cluttered context window full of old, irrelevant chat can make it harder for the AI to focus on your current question.

Different models, different windows

Not all AIs are created equal. Some have larger context windows than others:

  • GPT-3.5: About 4,000 tokens (roughly 3,000 words)
  • GPT-4: Up to 32,000 tokens (about 24,000 words)
  • Gemini 1.5: 1 million tokens

But bigger isn’t always better. A larger window means more potential for confusion if you’re not managing your conversations well.

When should you start a new chat?

  1. Changing topics: If you’re switching gears to a new subject, start fresh.
  2. Long conversations: If you’ve been chatting for a while, consider a reset.
  3. Getting odd responses: If the AI seems confused, it might be losing context.
  4. Complex tasks: For big projects, break them into smaller, focused chats.

Practical tips for better AI chats

  • Be specific: Clear, focused questions help the AI understand what you need.
  • Summarise: If you’re in a long chat, briefly recap the important points.
  • Edit: Remove irrelevant parts of the conversation if you’re reusing a chat.
  • Start fresh: Don’t be afraid to begin a new chat. It’s often more efficient.

What’s in it for you?

By understanding how context windows work, you can:

  • Get more accurate and relevant responses
  • Avoid frustrating misunderstandings
  • Save time by structuring your chats more effectively
  • Make the most of the AI’s capabilities

The bottom line

AI is a powerful tool, but it’s not magic. Understanding its limitations helps you use it more effectively. Next time you’re deep in a chat and things start to go off the rails, remember the context window. A fresh start might be just what you need to get back on track.

And remember, practice makes perfect. The more you chat with AI, the better you’ll get at managing these conversations. So go on, start a new chat, and see the difference for yourself.

💡
Your AI Transformation Starts Here
Get The Free AI Toolkit for Strategic Breakthrough Zero Guesswork, Maximum Impact
💡 Your AI Transformation Starts Here:

Get The Free AI Toolkit for Strategic Breakthrough
Zero Guesswork, Maximum Impact

Get Instant Access
Written by Alastair McDermott

I help business leaders and employees use AI to automate repetitive tasks, increase productivity, and drive innovation, all while keeping a Human First approach. This enables your team to achieve more, focus on strategic initiatives, and make your company a more enjoyable place to work.

Table of Contents

More posts like this.

Bridging the Divide Between Human and AI
AI Essentials

How Larger Context Windows Unlock AI Capabilities

Many AI users are running into invisible walls with AI. Those unseen walls are made of token limits. The moment your model can analyse everything – not just snippets of your information  – is the moment your insights stop feeling generic and

Bridging the Divide Between Human and AI
AI Strategy

How Businesses Can Prepare for AGI

Google DeepMind’s AGI Safety Blueprint: What Business Leaders Need to Know AGI is coming faster than most people realise. While the public and many business leaders still debate whether truly general AI is even possible, major AI labs like Google DeepMind are

Bridging the Divide Between Human and AI
AI Strategy

I Won’t Help You Fire Your Staff

I don’t want to see a single human being laid off because of AI. Plain and simple. Some will call this naive. After all, the “inevitable future” is already unfolding – ChatGPT and Gemini are writing marketing copy, Claude is writing software,

Bridging the Divide Between Human and AI
AI Essentials

Why AI Accuracy Doesn’t Always Matter

“That’s about as insane of a statement as anyone can make.” That’s what someone said to me after I posted: “[AI] accuracy doesn’t matter in some fields.” (It was a robust conversation 🙂) And fair enough – on the surface, it does

Get regular updates on AI strategies that work.

You're almost there!

I turn AI tech & strategy into clear, actionable insights. You’ll discover how to leverage AI, how to integrate it strategically to get a competitive edge, automate tedious tasks, and improve business decision-making.

– Alastair.