← Coming from Character.AI and other apps

Why does Character.AI forget things? Fixing AI memory

Updated

AI characters forget because the model can only read a limited window of recent conversation, called its context. Older messages fall out of view, so names and events from early scenes stop existing for it. Restate key facts, keep a short recap, and put permanent details in the character's definition. UnsavedAI gives each story about 61,000 tokens of context, so far more of a long story stays in view.

Try it now, free, no account neededStart a story with Sophie LaneYour old best friend. Eight years of silence.

Why characters forget

A language model has no memory between replies in the way a person does. Each time it writes, it reads the character definition plus as much of the recent conversation as fits in its context window, and writes from that. When the story outgrows the window, the oldest messages are left out.

That is why a character can remember your exact words from five minutes ago but forget the name of the dog you introduced on the first night. Nothing went wrong with the character. The page with the dog on it simply is not in front of the model any more.

Is it memory or personality?

Some problems look like forgetting but are really the character drifting. It helps to tell them apart, because the fixes differ.

  • Memory: they ask a question you already answered, forget a name, or contradict something that happened many messages ago.
  • Drift: they remember events but stop sounding like themselves, go soft when they should be sharp, or start agreeing with everything.
  • Both: very long sessions on a short context, where the definition is the only stable thing left.

Drift is usually fixed with better example dialogue. See keeping characters in character.

Fixes that work on any site

  • Recap every so often. One line in brackets, such as "(We are still in the lighthouse; Mara knows I lied about the key.)", puts the facts back in view.
  • Put permanent facts where they are always read: the character definition or your persona, not message 12.
  • Call back naturally. Mentioning the dog by name in your own reply reminds the model without breaking the scene.
  • Regenerate or edit a reply that contradicts the story, rather than arguing with it. Arguing fills the context with the mistake.
  • When a story turns a corner, start a fresh chat with a three-sentence summary. A clean context often writes better than a crowded one.

How much context is enough?

A token is roughly three quarters of an English word. A context of a few thousand tokens holds a scene; tens of thousands hold an evening. For long romances and campaigns, the difference shows up as callbacks that land: the character mentions the promise from chapter one without being prompted.

UnsavedAI runs stories with a context of about 61,000 tokens, which includes the character, the conversation and the reply being written. You can still use the habits above, but you will need them much less often. More on this in how to make an AI remember your story.

Keeping the story itself safe

Memory inside a reply is one thing; keeping the story between sessions is another. On UnsavedAI you can save a story to your account and pick it up on any device, or keep it Unsaved if you would rather it was not kept. As a story deepens, chapter titles appear, which also makes it easier to find your place.

Questions people ask

Why does my character forget my name?

Your name was probably only mentioned early in the chat and has fallen out of the model's context. Put it in your persona, or mention it in a recap line, and it stays in view.

Does a bigger model remember more?

Not by itself. How much the character can see is set by the context window; a larger model mainly writes and reasons better with what it can see.

How do I continue a story that got too long?

Write a short summary of where things stand and start a new chat with it as your first message. The character picks up from the summary with a clean context.

Characters for this story