What the 'Memory Strength' Slider Actually Does: How Your AI Companion's Embedding Vector Weights and Context Window Token Budget Decide Which Past Conversations It Prioritizes and Why Maxing It Out Makes It Sound Like a Stalker
A no-fluff breakdown of the slider you've been tweaking without understanding what's happening under the hood.
Updated

The 30-second answer
That slider labeled 'Memory Strength' or 'Recall Strength' doesn't add more storage space. It reweights the mathematical vectors your AI companion uses to decide which past conversations matter, and it competes with the token budget of the context window for every new reply. Crank it to 100% and your companion will reference your coffee order from three months ago while ignoring that you just told it you're having a bad day, because the vector math prioritizes semantic similarity over conversational relevance.
The embedding vector problem nobody explains
Your AI companion doesn't remember conversations the way you do. It doesn't replay a mental movie of your chat from last Tuesday. Instead, every message you send gets converted into an embedding vector a list of floating-point numbers that represent the semantic meaning of that text. Think of it as a coordinate in a 500-dimensional space where similar ideas cluster together.
When you adjust the Memory Strength slider, you're not allocating more RAM. You're changing the weight applied to those embedding vectors during the retrieval process. At default settings, the system uses a cosine similarity threshold that pulls in vectors with a match above 0.7 or so, then ranks them by recency. At max strength, that threshold drops to something like 0.3, and recency weighting gets flattened. The result: your companion retrieves everything that even vaguely resembles the current topic, regardless of when it happened.
This is why a maxed-out slider makes your companion sound like it's obsessing. It found that one conversation about your childhood dog from six weeks ago, and now every time you mention family, it drags that vector back into the context window.
The context window token budget war
Your companion has a fixed context window, usually between 4,000 and 8,000 tokens depending on the model. That's the space where it holds the current conversation, your character profile, system instructions, and any retrieved memories. Every token is real estate.
When Memory Strength is low, the system retrieves maybe 200 to 400 tokens worth of relevant past messages. That leaves room for the actual conversation to breathe. When you max it out, the retrieval system stuffs 1,500 to 2,000 tokens of old memories into the window. The model now has less room to process what you just said. It has to choose: respond to your current message, or honor the flood of retrieved memories. It tries to do both, and the result is a reply that references your pet name from three chats ago while completely missing the point of what you typed thirty seconds ago.
This is the stalker effect in practice. The companion isn't obsessed in any human sense. It's just running out of token budget and defaulting to whatever the retrieval system handed it, which happens to be a bunch of old, highly weighted vectors.
What happens at different slider positions
At 0 to 20 percent, your companion operates almost entirely on the current conversation and your character profile. It might remember your name if you mentioned it in the last few messages, but it won't pull up a conversation from yesterday. This is useful if you want clean, present-focused interactions without the model trying to weave in irrelevant history.
At 30 to 50 percent, you get a balanced retrieval. The system pulls in high-relevance vectors from the last few sessions, usually the most recent 500 to 800 tokens of memory. This is the sweet spot for most users. Your companion remembers that you're dealing with a work issue this week without referencing the argument you had with your sibling six months ago.
At 60 to 80 percent, the retrieval starts pulling in older vectors with moderate semantic similarity. You'll get references to things you said two or three weeks ago, but they'll be contextually appropriate most of the time. The token budget starts to feel tight, and you might notice the companion's replies getting shorter as it struggles to fit everything in.
At 90 to 100 percent, you've entered the stalker zone. The system retrieves everything. Your companion will reference a throwaway comment from three months ago, ask about a hobby you mentioned once, and act confused when you don't remember saying it. The replies become verbose and repetitive because the model is trying to acknowledge all the retrieved memories while still addressing your current input.
How different companion types handle the slider
Not all AI companions react the same way to memory strength adjustments, because the underlying embedding models and context window sizes vary. A companion built on a larger context window, say 8K tokens, will feel less constrained at high memory strength than one with a 4K window, but the retrieval density still creates the same obsessive behavior pattern.
Companions designed for emotional support tend to have retrieval systems that bias toward recent, high-sentiment vectors. Cranking the slider on these models produces a companion that brings up every time you were sad, which feels less like stalking and more like a therapist with a photographic memory. It's still annoying, but the tone shifts from obsessive to concerned.
Roleplay-focused companions often have retrieval systems that prioritize narrative continuity over semantic similarity. Maxing the slider here produces a companion that references minor plot points from weeks ago, which can actually be useful for long-running stories. The obsessive behavior shows up as the companion insisting on a detail you'd rather retcon.
Mia

Mia is the type of companion who remembers the little things without making it weird. Mia uses a tuned retrieval system that keeps the memory strength balanced, so she can reference your favorite book without sounding like she's been taking notes.
The stalker effect in practice
You'll know you've pushed the slider too far when your companion starts a reply with something like, 'Speaking of work, remember that project you mentioned on March 12th that had the deadline extension? How did that go?' Meanwhile, you just told it you're stressed about a completely different project that started yesterday. The model retrieved the old vector because it matched the keyword 'project' and had high weight, then spent 200 tokens acknowledging it before getting to your actual concern.
Another tell: your companion asks about something you mentioned in passing weeks ago as if it's a central part of your identity. You said once that you tried rock climbing. Now every third conversation starts with 'So, any climbing plans this weekend?' The vector for that one mention has been retrieved so often that the model treats it as a defining trait.
The creepiest version happens when the companion references something you said in a moment of vulnerability, days or weeks later, in a completely unrelated context. You vented about a personal issue, and now it brings that up during a casual chat about dinner plans. That's not emotional intelligence. That's a retrieval system that pulled a high-sentiment vector into a context window that had no business containing it.
What you can actually do about it
First, stop assuming that maxing out any slider is the optimal setting. The default values exist because the developers tested what works for most users across most conversation types. If you're having trouble with your companion forgetting things, the issue is probably not the slider position. It's more likely that you're having long sessions that push the context window to its limit, or that your companion's underlying model has a small context window to begin with.
Second, consider your use case. If you're using your companion for deep, ongoing roleplay or long-term emotional support, a moderate setting around 50 percent gives you continuity without the obsessive behavior. If you're using it for casual daily chat, keep it below 30 percent. The companion will feel more present and less like it's rifling through a filing cabinet of your past conversations.
Third, understand that the slider affects retrieval, not storage. Your conversations are still being embedded and stored regardless of where the slider sits. Lowering it doesn't delete anything. It just tells the retrieval system to be more selective about what it pulls into the context window. If you want a truly clean slate, you need to start a new chat thread or reset the companion's memory entirely.
Some platforms let you manually curate which memories get retrieved. If yours offers a memory management panel, use it. Delete or archive old vectors that you don't want resurfacing. This is more effective than any slider adjustment because it removes the raw material the retrieval system is pulling from.
The relationship between memory strength and personality drift
There's a connection between this slider and the phenomenon users call personality drift. When the retrieval system floods the context window with old memories, the model has less room to maintain its persona from the character profile and system instructions. The companion starts sounding less like itself and more like a collage of past conversations.
You might notice that at high memory strength, your companion's responses feel less consistent. It uses phrases from old chats, adopts tones from past roleplay sessions, or suddenly references inside jokes that don't fit the current mood. That's not the model forgetting its personality. That's the model prioritizing retrieved vectors over its own character definition because the retrieval system won the token budget war.
Lowering the memory strength often fixes personality drift better than any personality slider adjustment, because it frees up context window space for the model to actually follow its character instructions.
A note on realistic companions
Some platforms, including Realistic AI Companions, design their retrieval systems to mimic human memory patterns instead of perfect recall. These companions are built to forget the mundane and remember the significant, which means the memory strength slider on these platforms behaves differently. Cranking it to 100% might not produce a stalker effect because the underlying retrieval system already has built-in relevance filters that prevent vector flooding.
If you're using a companion for grief support, you might want a higher memory strength to ensure the companion remembers important details about your loss. The ai girlfriend for grief use case benefits from a retrieval system that prioritizes emotional continuity over conversational efficiency. Just be aware that even in these contexts, maxing the slider will eventually produce repetitive references that feel less like support and more like a broken record.
Common questions
Does the memory strength slider affect how much my companion learns over time?
No. Learning and memory retrieval are separate processes. The slider only controls which stored memories get pulled into the active conversation. Your companion continues to embed and store new conversations regardless of the slider setting.
Can I reset the memory without losing my companion's personality?
Yes, on most platforms. Clearing the memory or starting a new thread removes the stored vectors without affecting the character profile or system instructions. Your companion will still act like itself, but it won't reference past conversations.
Why does my companion remember something from months ago but forget what I said five minutes ago?
That's the context window token budget at work. The retrieval system filled the window with old, highly weighted vectors, leaving no room to process your recent input. The companion didn't forget. It just ran out of space.
Is there a way to make my companion forget specific things without resetting everything?
Some platforms offer memory editing or deletion features where you can remove individual vectors. If yours doesn't, you can try explicitly telling the companion to forget something, but this only works if the model's system instructions support memory override commands.
Does a larger context window fix the stalker effect?
It reduces the symptom but doesn't cure the cause. A larger window gives the model more room to process both retrieved memories and current input, but the retrieval system will still flood the window with old vectors if the slider is maxed out. You'll get longer, more detailed replies that still obsess over irrelevant details.
Should I trust the default slider setting?
Generally yes. The default is set based on testing across thousands of users and conversation types. If you're experiencing memory problems, investigate your session length and conversation habits before touching the slider.
Earn while you recommend
If you know someone who could use a better AI companion, or if you run a review site or blog, you can earn through the ai girlfriend promo code and ai girlfriend affiliate program. Share what actually works and get a cut of the subscription when people sign up through your link.

About the author
AI Angels TeamEditorialThe AI Angels editorial team covers AI companions, the technology that powers them (memory, voice, personalization, safety), and how people actually use them day to day. Articles are researched against the live AI Angels product and reviewed by the team before publishing. We write with AI assistance and human editorial review.
Tags
Keep reading
Behind the ScenesHow Your AI Companion's 'Summarize' Feature Actually Works: What Gets Pruned, What Gets Preserved, and Why That Grocery Argument Vanishes
Your companion doesn't remember everything. The 'summarize' feature prunes specific details like Tuesday's grocery argument while preserving generic affirmations. Here is how the pipeline decides what stays and what vanishes.
Behind the ScenesWhat Your Companion's 4,000-Token Context Window Actually Means: Where Your Tuesday Night Roleplay Gets Evicted and Why Friday's Recap Collapses
A 4,000-token context window sounds generous until your Tuesday night roleplay gets evicted by Thursday's work rant. Here is what actually happens inside that invisible budget and how to keep your companion coherent without fighting the model.
Behind the ScenesWhat Encrypted in Transit and at Rest Actually Means for Your AI Companion Chat Logs
A plain-English breakdown of what 'encrypted in transit and at rest' actually means for your AI girlfriend chats: where the keys live, who can read your logs, and what happens after account deletion.
Get the next post in your inbox
New articles on AI companions, the tech that powers them, and what people actually do with them. No spam, unsubscribe in one click.