← All issues

How AlpRouter Amem carries “show me a table” into the next chat

A customer comparing two products asks to see future comparisons in a table. A week later, a different model handles their next question. How does it get that instruction? Amem, AlpRouter’s enterprise pilot add-on, attaches a short instruction based on a preference the customer agreed to save. The app can then choose which past records the question needs.

A blue line connects a stack of maintenance records to a single card showing a pressure gauge and the unit bar.
In AlpRouter’s Amem experiment, the preferred pressure unit was the only detail the next question needed from 96 earlier exchanges.

What to remember and what to look up

Amem can store the customer’s preferred response language, pressure unit and answer format. If a customer saves a preference for tables, the app can ask for that format whether GPT handled the last chat or Claude handles this one.

Now suppose the customer asks for a table comparing the same two products they looked at yesterday. Amem can supply the format. The app still needs to retrieve the two product names from the previous conversation or a saved comparison. With both pieces, the model has enough context to fill in the table.

How average input fell from 4,743 tokens to 69

In a simulated equipment-support workflow, AlpRouter supplied a current gauge reading in two units and asked for the value in the operator’s preferred unit. It ran the same 12 questions twice on the same model. One version sent all 96 earlier exchanges containing the preference. The other sent the new question and the saved unit. Both returned the correct value and unit on all 12 questions. Average input per request fell from 4,743 tokens to 69, a 98.5% reduction.

Median time until the complete answer appeared in the browser fell from 4.54 seconds to 0.21 seconds. This was a single-user local test of the 4-bit Qwen2.5 1.5B model on an Apple M1 Pro. A separate multilingual test produced 7 correct answers out of 9 when the saved unit applied, and 8 out of 9 when the question requested a different unit. For an app that displays instrument readings, check both the number and the unit in the languages operators use.

Estimate the input cost for your own workload

At an assumed $1 per million uncached input tokens, 1,000 requests like those in the test would cost $4.743 in input with full history and $0.069 with the saved unit. The difference is $4.674 for input under those assumptions. Use your model’s input, output and cache rates to estimate your bill.

Any history the app continues to send still counts toward the input. Before pricing a pilot, look through recent support questions. Count how many could be answered with a saved preference and how many needed a prior order or maintenance record.

Start a pilot with one answer format

A participating organization enables Amem, then the app server saves the preference with the user’s consent. On the next Chat Completions request, use the same organization key and user identifier and set x-alprouter-memory-fields to answerFormat to include only the saved format. The app can delete the preference if the user changes their mind. Saved preferences expire 30 days after the last save.

Get the next issue

Send your request to help@alpsoft.io from the address where you want to receive the newsletter. You can unsubscribe from the same address.