Skip to content

Enterprise AI memory add-on

Amem

Give the next request just the context it needs

Amem is AlpRouter’s AI memory for teams. Save preferences and work records with consent, then retrieve the memories your app needs for the next question.

Amem benchmark · Measured locally

Input and time for the same question

Mean input tokens per request.% fewer
Full history
4,743
Amem
69
Median time to the final answer.% shorter
Full history
4.54 s
Amem
0.21 s

Example input cost for 1,000 similar requests

$4.743 $0.069

Assumes $1 per million uncached input tokens. Output is billed separately.

Test conditions and accuracy

We compared 12 questions that needed only the preferred pressure unit from 96 simulated maintenance exchanges. The app omitted the history when using Amem. Both methods returned the correct reading and unit in all 12 cases.

Local 4-bit Qwen2.5 1.5B on an M1 Pro, one user at a time. We timed each request in Chrome until the final answer appeared. Results vary by model, history length and cache hits.

Read the benchmark method and full results

Switch models and keep your preferred answer format

A customer tells your GPT support bot, “Please use a checklist next time.” With their permission, your app can save that preference. When Claude handles the next conversation, your app can request the same format.

Use the preferences API for answer formats. For questions like “Which valve did we replace last time?”, use the facts API to retrieve the relevant inspection record and its source.

Customer support demo

Model for the next chat

GPT · Checklist

How do I request a return?

  • Select the item in your order history.
  • Enter your reason for the return and choose a pickup date.

Switch models to see how the saved format carries over. This demo uses sample replies.

Use Amem in your app

In an existing OpenAI or Claude app, use an Amem-only key to read the preferences a user agreed to save and send them to your model. Apps that call models through AlpRouter can apply preferences automatically in Chat Completions.

Save preferencesHTTP
PUT /api/v1/memory/preferences
Authorization: Bearer <APP_API_KEY>
x-alprouter-memory-user: <USER_UUID_V4>
Content-Type: application/json

{
  "consent": true,
  "preferences": {
    "language": "ko",
    "answerFormat": "checklist"
  }
}

204 No Content A successful write returns an empty body.

Response when reading the same preferencesJSON
GET/api/v1/memory/preferences200 OK
{
  "preferences": {
    "language": "ko",
    "answerFormat": "checklist"
  },
  "expiresAt": "2027-01-05T09:00:00.000Z"
}

Connect Amem to your team’s tools

Coding tools

If your team agrees in a code review to run tests against PostgreSQL, you can look up that decision next session. Choose the workspace to capture first.

Install a coding tool plugin

Voice sessions

Let the next agent find a customer’s request after a call. Connect final transcripts from a consented LiveKit, Pipecat or ElevenLabs session.

Connect a transcript

Vector stores

In self-hosted deployments, keep records in PostgreSQL and connect your team’s vector store for retrieval. Deleted memories are immediately excluded from search.

Configure the index and erasure

Memory extraction models

Choose the extraction model independently of your chat model. Operators can connect local inference or a provider such as AWS Bedrock for extraction and summaries.

Configure a model provider

Amem FAQ

When can Amem reduce input tokens?
Apps that resend long conversations to convey a preference can save input tokens. A pressure reading in bar only needs the measurement and the saved unit. You can save inspection results separately and retrieve them when a question calls for them.
Can I keep a preference when switching from GPT to Claude?
Yes. Use the same organization app key and user identifier to load the saved preferences across models. Your app can select the fields it needs for each Chat Completions request.
When are saved preferences deleted?
Preferences expire 30 days after the last write. Your app can delete them immediately when a user withdraws consent. Turning off Amem for an organization deletes all its saved preferences.

Contact Amem sales

Tell us which app you want to connect and how often you expect to save and look up memories each month. We’ll follow up with integration details and a quote.

We use your company name, reply email and message to respond to your inquiry.

Loading security check…