Uncensored Start chatting
Free tool · runs in your browser

AI chat memory calculator

AI chats do not have memory in the human sense. They re-read the conversation every turn, up to a fixed budget of tokens. Enter your model's context window and typical message lengths to see how far back it can actually see.

0back-and-forth turns remembered
0words of history
0book pages (~300 words)
0tokens free for history
Budget breakdown

■ system prompt   ■ reply reserve   ■ chat history

Words are converted at ~1.33 tokens per word (typical English). Once history exceeds the free budget, the oldest messages fall out of memory.

Why the AI forgets

Each reply is generated from a prompt that contains the system prompt, any character card, as much recent history as fits and your newest message. When the conversation grows past the context window, the oldest messages are left out, so the model genuinely cannot see them any more.

A long character card or a large reply reservation shrinks the space left for history. That is why a bloated card makes a character forget recent events faster.

How to stretch your budget

  • Trim the character card to the details that change behaviour.
  • Ask for shorter replies when the scene allows it.
  • Pin key facts in a short summary or memory note instead of relying on old messages.
  • Pick a model with a larger context window for long stories.

Common questions

How much context do I need for role-play?

16K-32K tokens covers most sessions comfortably. Very long campaigns benefit from 64K or more, plus a running summary.

Does a bigger context window make the AI slower?

Somewhat. Longer prompts take more time and memory to process, especially on local hardware.

Is this calculation exact?

It uses about 1.3 tokens per English word, which is close for most models. Names, code and other languages can use more.

Put your prompt to work.

Paste what you just built into the chat app and see how an uncensored model responds.