Why ChatGPT forgets things within one chat


Hey Reader,

Today, I wanna talk about a crucial concept in AI that many people don't even know about: the context window.

Understanding this will revolutionize how you use AI tools like ChatGPT.

The context window is the maximum amount of information a model can use at once.

Think of it as the memory span of the AI during a conversation.

When you notice the AI forgetting earlier parts of your chat, it's because it has exceeded its context window.

Why context window is important

Understanding the context window is crucial for several reasons.

First, it helps maintain relevance, ensuring the AI retains pertinent information throughout the conversation, so you can get more accurate and coherent responses.

It's also essential for handling complex tasks. For tasks requiring detailed instructions or large datasets, a larger context window allows you to process more information with the AI at once, so you can handle complex queries.

Additionally, reducing hallucinations is a key benefit. By keeping essential details within the context window, you minimize the risk of the AI generating incorrect information.

The token limit breakdown

Models we use today have different context windows. Generally speaking, more powerful models have bigger windows but it's not directly related to their performance.

Here are a couple of important context windows for current models

  • GPT-3.5: 4,000 tokens (~17,000-22,000 characters) = Two short articles.
  • GPT-3.5 Turbo: 16,000 tokens – Accessible via API.
  • GPT-4 has two versions:
    • 8,000 tokens (~34,000-44,000 characters) – A book chapter.
    • 32,000 tokens (~150,000 characters) – A short novel.
  • GPT-4 Turbo and GPT-4o: 128,000 tokens – Can handle up to 600,000 characters, more than Harry Potter and the Philosopher's Stone.
  • Gemini Pro 1.1: 1,000,000 tokens – Vast memory for in-depth tasks.

For non-OpenAI models like Gemini and Claude, the context window also varies, with the Claude 3 family boasting 200,000 tokens.

How to check and maintain context and overcome hallucinations

If you're unsure whether your AI has forgotten earlier parts of your conversation, simply ask it to recall the first sentence. If it can’t recall it word-by-word, you've exceeded the context window.

When important details slip through the cracks, you can either copy-paste important parts to the next prompt, or connect to a database containing relevant information. This enables AI to pull in the required data dynamically, without manual input.

Hallucinations happen when AI fills in gaps with incorrect information. This could result from context window limitations too.

Enhance your AI skills

Understanding and optimizing the context window is just one part of mastering AI. To unlock the full potential, join our Prompt Master AI Course. Here's what you’ll gain:

  • AI Fundamentals: Get a solid grounding in generative AI and LLMs.
  • Prompt Engineering: Learn to craft prompts for all AI models like GPT, Claude, and Gemini.
  • Conversation Design: Guide chat-based models for optimal outputs.
  • Advanced GPT-4o Functions: Master features like Vision, Code Interpreter, and Browsing.
  • Custom GPT Training: Build user-friendly custom GPTs tailored to your needs.
  • Overcome LLM Hallucinations: Use retrieval-augmented generation to enhance accuracy.
  • No-code AI Agents: Automate tasks to save time and boost efficiency.
  • AI in the Workplace: Implement AI seamlessly into your organization.

Ready to become an AI pro? Join the Prompt Master AI Course today and transform how you work with AI.

Think faster, work smarter – become a Prompt Master.

Best, Dave

Promptmaster Newsletter

Sign up if you are overwhelmed with all these AI tools out there, and want a clear path on your AI journey.

Read more from Promptmaster Newsletter

Hey Reader, When I first found ChatGPT, I used it for things I was bad at. There was a 16 year old browser-based RPG that I was playing again, but some of the old extensions another player made didn't run in my browser. I didn't know how to program in that language, so I just copy-pasted the code and the error message I was getting to ChatGPT. This was GPT-3.5 in 2022 December. After days of copy-paste back and forth, I managed to get one extension going! Then I paused using it, because I...

avatar

Hey Reader, Entrepreneurs don't need more AI trainings and courses. You need help implementing AI into their business the right way. You are busy. You don't have the time to learn everything, and then figure out how to implement it. You want to take quick action and get AI running in your business right now. But you are not technical, so you can't integrate it. You are still stuck at prompting ChatGPT back and forth (with mixed or good results), and using all kinds of AI tools with fancy...

Hey Reader, Are you ready to finally take AI seriously in 2026? Not like a New Year's Resolution that lasts for 3 days, maybe a week, but actually creating real change in your life? James Clear has this amazing quote: "You don't rise to the level of your goals, you fall to the level of your systems." - Atomic Habits So I'd like to invite you to a community of small business owners who are actually building systems in their businesses and have AI do some of the work for them. If you are a...