Google finds that coding agents on Kubernetes wait 78% of the day
A Google Cloud post works out what it costs to run 100 coding agents on GKE, with one Pod per session or with sandboxes that give their machine back while they wait. The answer turns on one number a team can measure: prompts per hour.

A web server answers a request in milliseconds and keeps nothing, so Kubernetes scales it by traffic. A coding agent's session works differently. It stays open for a developer's whole workday, keeps its memory and files between prompts, and works only when a prompt arrives. A study of GitHub Copilot agent traces by Banruo Liu and colleagues found the agent waiting for the user about 80% of the time, with each turn taking 396.3 seconds of agent work on average. At 2 prompts an hour over an 8 hour day, the post's assumption, the agent works 22% of the day and waits for the other 78%.
The post, published on 16 November by Drake Williams and Ivan Nardini, compares three ways to run 100 such agents. One Pod per session keeps the state but holds 1 vCPU and 1 GiB all day: 3 Pods fit on a c3-standard-4 node, so 100 agents need 34 nodes and about USD 1,288 a month. Scaling the Pod to zero between prompts frees the node, but the process and its memory are lost and the next prompt starts a new agent. The third way is parking, with Agent Substrate, which was donated to the CNCF this month along with gVisor and OpenRL and is generally available on GKE at version 1.0. In Agent Substrate an actor is the sandbox for one agent, and workers are warm Pods that each host several actors. SuspendActor snapshots an idle actor to object storage and frees its worker, and the next request restores it on any warm worker. Gateways add credentials on the way out, so the agent never holds the keys.
With a 2 minute idle timeout, each session holds a worker 29% of its open time, and a pool sized for bursts needs 15 nodes, plus one node that runs around the clock for the control plane and its PostgreSQL database. That saves 40% of the node bill. The pool is full about once in 3,500 turns, and then a request waits up to 5 seconds before failing with HTTP 503. The saving shrinks quickly as developers prompt more often: at 4 prompts an hour the pool grows to 27 nodes and saves 4%, and around 4.5 prompts an hour one Pod per session becomes the cheaper option. Because the control plane costs the same for any fleet, parking pays from about 37 coding sessions.
Two things are left to the team. Agent Substrate does not suspend an idle actor by itself, so the agent harness must call suspend after its own timeout, and the autoscaling in the install guide follows worker Pods rather than parked actors, so a pool left running all 730 hours of a month costs about twice the one-Pod bill. Overcommit also changes the comparison: Pods that request 0.25 vCPU under a 1 vCPU limit pack 12 to a node, which fits the same 100 agents on 9 nodes, at the price of agents slowing each other down during builds and tests.
