Back Home

AI 基礎設施

Neptune Graph Sessions pause compute after 15 minutes of inactivity, while retained data still incurs charges

Graph Sessions spare agents that query graphs intermittently from paying for continuous compute. Whether they save money depends on request intervals, retained data, and tolerance for the wake-up delay on the first query.

Delince · CC BY-SA 3.0 · Image source
zh-Hant

A new option can automatically stop compute while preserving data for a relationship graph created for each agent, conversation, or task. AWS launched Neptune Graph Sessions on November 27, 2026: after 15 minutes without traffic, compute stops and resumes automatically when the next query arrives. For applications that query graphs sporadically, the practical change is that they no longer need to keep compute resources running throughout idle periods. AWS announcement

A new starting point for small task graphs

AWS lists GraphRAG assistants and AI agents as use cases. GraphRAG retrieves information using entities and relationships in a graph, then passes it to a model to generate a response. If separate conversations need their own knowledge scopes, they may create many small graphs that are used briefly, with long gaps between queries. AWS announcement

Graph Sessions is part of Neptune Analytics and uses its engine and the openCypher graph query language. The announcement lists starting capacities of 4 or 8 s-NCU, while the minimum for a provisioned graph is 16 m-NCU. These are different capacity and billing units, however, so the figures cannot be divided directly to infer a price reduction. AWS announcement, capacity documentation

Stopping compute does not zero out the bill

According to the official documentation, running compute is billed by the second based on memory usage, with a minimum set by the selected starting capacity. When compute stops, compute charges drop to zero, but storage is still billed per GB-month, with a 1 GB minimum charge for each session. To end that charge when the data is no longer needed, the session must be deleted. Billing documentation

The 15-minute threshold also affects costs. Based on these rules, if relying on automatic stopping alone, compute remains active for a period after a short query ends; requests that keep arriving within the threshold may also keep the graph running. If many tasks are stopped but never deleted, storage charges accumulate. So the key factor to assess is how long the actual gaps between requests are, rather than how quickly an individual query runs.

The first query waits for the graph to wake up

Graph data, vector indexes, and settings are retained while the session is stopped, so they do not need to be reloaded after it resumes. AWS says resumption takes less than 20 seconds, and the first query waits for startup to finish. This is the official description; this article did not measure latency. Lifecycle documentation

This gives background agents that can tolerate waiting another option. Interactive workflows that require immediate responses need to account for the wake-up delay in their client timeout settings. AWS also explicitly cautions that sessions running nearly all day may cost more than a small provisioned graph. The choice depends on whether the compute downtime is long enough to justify the wait time. Official guidance on choosing

Sources

  1. Amazon Neptune introduces Neptune Graph Sessions, smaller graphs designed for agents that scale to zero and resume automatically
  2. How Neptune Graph Sessions work - Neptune Analytics