Skip to content
meridian academy

Prompting 101 ยท Module 1: Foundations

How AI works in plain words: tokens, context window, memory

Lesson 2 of 5โฑ 9 min๐Ÿงฐ Any chatbotFree preview

Tokens, the context window and memory explain why AI forgets, why long chats go wrong, and why the same question gets a different answer each time. Then you'll find and set your own memory settings.

Your AI:
Steps in this lesson are shown for ChatGPT.

Solves: Not knowing why answers change or get forgotten.

1The idea

You don't need the maths. Three plain ideas will make you a much better prompter.

1. Tokens: how AI reads and writes

Models read and write in tokens, chunks of text about three quarters of an English word. "Unbelievable" might be three tokens. Arabic usually takes more tokens per word than English.

Limits are counted in tokens, so long chats and big files use up a free allowance faster. Tokens also explain why models are shaky at counting letters or hitting an exact word count. Ask for "about 100 words", not "exactly 97".

The model writes one token at a time, each time picking a likely next one, with a little randomness.

Think like the AI

Be the chatbot for a moment

A chatbot writes one small piece at a time, always picking a likely next piece. Guess the next word, then see what the model would have picked.

Our cafรฉ is open every day from 8am untilย 

Which word comes next?

2. The context window: what it can see right now

The context window is everything the model can see at once: your instructions, the whole conversation so far, its own replies and any files you uploaded. Today's windows hold hundreds of pages.

Three things follow from that:

  • It only knows what's in the window (and what it learned in training).
  • Very long chats drift. Early details get less attention.
  • New task, new chat. A fresh chat with a short summary often beats message number 80.

3. Memory: what carries over between chats

A new chat doesn't contain your old conversations. But ChatGPT and Claude both have a memory feature, on by default on personal plans. It saves things about you ("works as a dentist", "prefers short answers") and adds them to future chats. ChatGPT can also refer to your past chats, and so can Claude on paid plans.

Memory saves time, and it can surprise you when an old detail shapes a new answer. You can read it, edit it and switch it off.

Mission

Find out what ChatGPT remembers about you

Open ChatGPT's memory settings, read what it has saved, and decide what stays.

Use:ChatGPT (web or app)

  • โ–ธDo it in the real settings, not by asking in a chat
  • โ–ธDelete at least one memory you wouldn't want shaping future answers, if there is one

You've done it when:

Mission

Find out what Claude remembers about you

Open Claude's memory settings, read what it has saved, and decide what stays.

Use:Claude (webdesktop or app)

  • โ–ธDo it in the real settings, not by asking in a chat
  • โ–ธCorrect or remove at least one thing you wouldn't want shaping future answers, if there is one

You've done it when:

Projects and custom instructions are saved briefings that load automatically. You'll set them up in Module 6.

Rule of thumb: one task per chat, repeat the key rules when they matter, and start fresh with a summary when things drift.

2Quick check

Question 1

1. What is the context window?

Question 2

2. Two hours into planning a party, the AI ignores a rule you gave at the start. What helps most?

Question 3

3. Does a chatbot remember what you said in a different chat last week?

Tools change often: Memory settings paths checked on help.openai.com (Memory FAQ) and support.claude.com (chat search and memory, incognito chats) on 2026-11-21.

Stuck or unsure about your result? Ask a real person on WhatsApp