Learn AI Math

Short-Term Memory

What is Short-Term Memory?

In one sentence: In AI, short-term memory is the information a model can use right now, which is basically what is in its current context.

Like remembering a phone number just long enough to dial it, the model only "remembers" what is in the context window. When the chat ends or overflows, that memory is gone.

What does Short-Term Memory look like?

A chatbot remembering your name from earlier in the same conversation uses short-term memory.

Why does Short-Term Memory matter?

Understanding this helps you know why AI forgets between chats.

Last updated · Fact-checked by The AI Math

Linking to this page from a lesson or article?

Like this explanation? Get one every week.

The AI Math newsletter turns confusing AI news into plain English. No hype, no jargon walls.