Skip to content
mentoor

Topic 2 of 4 · 3 min read

Models remember nothing between calls

Goal: Explain why a model forgets between chats and how memory features and projects bring earlier information back into context.

A model keeps nothing between calls. Every turn, the app sends the whole conversation again, and "memory" features just paste saved text back into that conversation.

Check yourself · 1 of 3

Why does a brand new chat not know what you discussed yesterday?

Choose one answer

Why it matters

People are surprised when a new chat has forgotten yesterday's work, or when a long chat suddenly loses an early instruction. Both come from the same fact: the model has no state of its own. Only the text you send it exists for that turn.

How it works

When you send your fifth message, the app builds a new request that holds the system prompt, messages one to four with the replies, and your new message. The model reads all of that fresh, writes a reply, and is done. It does not carry anything forward. The app stores the history and resends it.

This has three effects:

  1. A new chat starts empty. Nothing from the old chat is there unless the app adds it.
  2. Long chats hit a limit. The history must fit inside the context window. When it does not, the app cuts or summarises old messages, and details vanish.
  3. Cost and speed grow with history, because more text is read on every turn.

Memory features and projects (saved notes, uploaded files, custom instructions) work by retrieval and insertion. The app keeps text somewhere, picks what looks relevant and adds it to the start of the context. The model "remembers" only because the text is in front of it again. If the app picks the wrong note, or leaves it out, the model behaves as if it never knew.

Before and after

Before: "Yesterday I told you my budget. Use that."
The model has no yesterday. It will guess a budget or ask.

After: "My budget is 2,000 euros, I fly from Madrid, and I dislike night flights. Plan three options."
Everything it needs is in this turn.

What goes wrong

  • People trust memory to be complete. It is a short list of saved notes chosen by the app, and it can be wrong, stale or missing.
  • People keep one very long chat for everything. Old, unrelated text distracts the model and early instructions get lost. Start a new chat for a new task and paste a short summary.
  • People assume deleting a chat erases what a provider stores. The model forgets, but the app and provider may keep data under their own policies. Check the privacy settings of the tool.

Optional code branch

With an API you hold the history yourself:

history = [{"role": "user", "content": "My budget is 2000 euros."}]
reply = call_model(history)            # model sees one message
history.append({"role": "assistant", "content": reply})
history.append({"role": "user", "content": "Plan three trips."})
reply = call_model(history)            # you resend everything, or it forgets

Examples

The forgotten budget

On Monday you tell an assistant your budget. On Tuesday you open a new chat and ask for a plan. The model has no Monday. Without a memory feature or a pasted note, it guesses.

A project that works

A team creates a project in their assistant with a style guide and three sample reports attached. Every chat in the project starts with that text inserted. The model follows the style because the guide is in the context, not because it learned it.

Key points

  • The model has no memory of its own; each call stands alone.
  • Apps give the illusion of memory by resending the full history every turn.
  • A new chat starts empty unless the app inserts saved text.
  • Memory features and projects retrieve saved notes or files and paste them into the context.
  • If the saved text is not chosen or is out of space, the model behaves as if it never knew it.

Common mistakes

  • Saying "as I told you before" in a fresh chat.
  • Treating memory as a perfect database of everything you said.
  • Piling unrelated tasks into one endless chat.
  • Assuming a forgotten chat means the provider holds no data.

Check yourself · 2 of 3

How does a "memory" feature in a chat app usually work?

Choose one answer

Check yourself · 3 of 3

You are on turn 60 of one long chat and the model ignores a rule from turn 2. What is a sensible fix?

Choose one answer

Practice items, not counted towards your mastery.

Start here