Most agent demos I see share one quiet assumption: the agent has a knowledge graph, and there is one of them. In practice you often want a graph per conversation, per user or per task. That is where a provisioned graph gets expensive, because you pay for a minimum even when nothing is running.
On 27 November AWS launched Neptune Graph Sessions, which is aimed squarely at that problem. This is based on the launch post and the Neptune pricing page. I haven't created one yet.
What it is
Graph Sessions is a compute mode for Neptune Analytics. Per the announcement, it scales memory and CPU automatically and scales to zero when idle. You pick a starting size of 4 or 8 s-NCU (sessions Neptune capacity units) when you create the graph.
Two details matter:
- Headroom. Each graph gets memory headroom up to twice the starting size. A 4 s-NCU graph can use up to 8 s-NCU, and an 8 s-NCU graph up to 16. So the starting size does not need to cover your biggest graph.
- Billing follows usage. You are billed for the memory the graph uses, so a graph that fits in the smaller size is billed at the smaller size.
The comparison AWS makes is against the 16 m-NCU minimum of a provisioned graph. That is the number you are escaping.
Scale to zero
After 15 minutes idle the graph scales to zero. It resumes in seconds when the next query arrives, and your graph and data are kept, so you do not reload anything per session.
Seconds, not milliseconds. If a user is waiting on the first message, that resume time is part of your latency budget. I'd measure it before promising anything to a product owner.
What the pricing page adds
The Neptune pricing page describes Graph Sessions as running the Neptune Analytics engine in isolated Lambda MicroVMs. Each s-NCU is 1 GB of memory and 0.25 vCPU. Compute is billed per second while the graph is running. Stopped graphs are billed for storage only.
That connects nicely to the Lambda MicroVM work from earlier this week. Same isolation idea, applied to a database.
One caveat: the price per s-NCU hour did not render in the page I read, so I am not going to quote a number. Check the pricing page for your Region.
How I'd test it
You query it with openCypher like any other Neptune Analytics graph, and you can create it from the console, CLI or SDKs. My plan:
- Create one 4 s-NCU graph and load a realistic slice of your data.
- Watch whether it stays inside the 4 s-NCU, or drifts into the headroom.
- Let it idle for 15 minutes, then time the first query back.
- Multiply the per-second cost by your real number of concurrent agent sessions.
Step four is where the decision gets made. Per-user graphs are great until you have 50,000 users.
Open question: how are you modelling agent memory today, graph, vectors, or just a big context window?
Sources
Drafted with AI assistance. I review and edit every post.
