Memory
Your app remembers each of its users.
Send your user's id with the request. The model records what matters during the turn, and that person's next conversation starts with it. One field, and no second service to run.
No monthly fee · memory included · billed as ordinary model usage
01 · How it works
One field on the request you already send.
Most gateways forward a request and forget it. This one keeps the conversation on the server, so it can also keep what the model learned about the person in it.
- 01
Send an id you choose
Add helpingio:memory_id to the request: a user id, a team id, any string you choose.
- 02
The model records facts during the turn
Who they are, where they live, what they prefer. It happens inside the model call, so there is no context for you to assemble.
- 03
The next conversation starts with them
A new conversation that sends the same id tomorrow begins with what this one recorded, and adds to the same memory.
import OpenAI from "openai";
const client = new OpenAI({
apiKey: process.env.HELPINGIO_API_KEY,
baseURL: "https://api.helping.io/v1",
});
const response = await client.responses.create({
model: "anthropic/claude-sonnet-5-5",
input: "I just moved to Lisbon.",
"helpingio:memory_id": user.id,
});02 · Any scope you choose
The id can be anything you want remembered.
A memory id is a string you choose. Everything that sends the same id with the same key shares one memory, so you decide what a memory follows.
user-8f2aA person
Each of your users gets a memory of their own, on every device they sign in from.
team-acmeA team
Everyone on the team shares what the model learned: how they ship, what they've decided.
acct-1d07A customer
Everyone at one of your customers shares a memory, kept apart from every other customer.
project-atlasA project
Facts follow the work, whoever on the project is asking.
agent-triageAn app or agent
One memory for an agent of your own, built up across every run it makes.
"helpingio:memory": trueOne conversation
Memory that stays inside a single conversation and never reaches another.
03 · What you can rely on
The parts that take a team to get right.
Storing a fact is the easy part. These are the rules that keep a memory correct and keep it with the right person.
A newer value replaces an older one
When someone moves city, the new city is what the model sees. Stale facts don't pile up beside current ones.
Memory never crosses API keys
Two keys never share memory, even for the same id. Staging and production stay apart without you doing anything.
The id never goes to a model provider
The provider sees what the model recorded as part of its context, like the rest of the conversation. It never sees the id.
Facts last until you remove them
They don't fade or expire on their own, and you can list exactly what's kept.
A long memory stays affordable
Each turn sees a selection of what was recorded and the model looks up the rest, so a turn's cost grows slowly as the memory does.
Deleting a conversation removes what it recorded
Its facts leave the memory at once, so a delete your user asks for really is one.
04 · Your users stay in control
Show people what's kept, and let them delete it.
Three routes are enough to build the settings screen your users will ask for, and to answer a deletion request the day it arrives. Pick one to see the call.
const memory = await client.post("/memory/list", {
body: { memory_id: user.id },
});
// memory.data: newest first, each fact with its id05 · What it costs
Memory is included.
You pay for the model's work.
There are no monthly fees, and memory has no line of its own on the bill. It is billed as ordinary model usage
and shows in each response's usage.
- $0
- monthly fee, with memory included
- 1 turn
- more when the model records a fact, at the model's listed price
- Input
- what's remembered counts as input tokens, capped per turn
Add one field.
No monthly fee. Sign up, add credits, create a key, and send helpingio:memory_id with your next request.