Parking idle agents can cut GKE costs, or raise them
By AgentRiot Editorial
Google’s model finds a 40% node-bill saving for lightly used coding sessions. Busy hours, CPU guarantees and what actually survives suspension decide whether that saving holds.

A hundred coding agents can need 34 GKE nodes while doing agent work for only about 22% of the working day. Parking their idle sandboxes cuts the modeled worker pool to 15 nodes, plus one always-on control-plane node. But leave that pool running around the clock, or compare it with CPU-overcommitted Pods, and parking can cost more.
That is the useful tension in Google’s November 16 analysis by Drake Williams and Ivan Nardini (opens in new tab). Its 40% saving is a node-bill model for a particular workload, not a measured production migration result. The buying decision turns on how often developers prompt, how their activity overlaps, and how much CPU each agent must receive when its neighbors are busy.
There is a separate persistence decision. Agent Substrate can checkpoint running processes, but the ordinary task path in Google’s AX layer preserves workspace files and restarts processes. A session that appears continuous to a developer need not have a continuously preserved process underneath it.
What the 40% model actually assumes
The workload evidence comes from Banruo Liu and colleagues’ Copilot study (opens in new tab), submitted July 30. Its sampled June 2026 traces cover 3.2 million users. The authors include researchers at Microsoft Azure and Microsoft Azure Research, with Liu’s work done during a Microsoft internship.
The study reports a median user-idle share of 80.1% for multi-turn sessions. It also reports a mean turn duration of 396.3 seconds, against a median of 63.4 seconds. That gap matters: long turns pull the mean upward. Neither statistic says every coding agent consumes the same resources or follows an eight-hour office schedule.
Google combines that mean turn duration with an assumed two prompts an hour and an eight-hour workday. Sixteen mean-length turns total 6,340.8 seconds, or about 1.76 hours: 22.02% of the day. This is turn wall-clock time, including the inference-and-tool loop, not a measurement of continuous local CPU utilization. The other 77.98% is waiting under those assumptions.
| Model input | Published assumption | Consequence |
|---|---|---|
| Fleet and demand | 100 sessions; two prompts per hour; eight-hour day | Sparse turns create room to share compute |
| Per-session resources | 1 vCPU and 1 GiB | Full-resource Pods fit three per c3-standard-4 node after GKE reservations |
| Idle policy | Suspend after two minutes | A session holds worker capacity for about 29% of its open time |
| Burst sizing | Independent sessions; 99th-percentile occupancy plus 15% headroom | Capacity exceeds average demand |
| Operating schedule | Worker pool goes to zero after hours; one control-plane/PostgreSQL node stays on | Sleeping actors alone do not deliver the modeled node saving |
These are Google’s cost-model inputs (opens in new tab), priced at Google Cloud list prices in us-central1. The work-hour-only, one-Pod-per-session baseline needs 34 nodes and costs about $1,288 monthly. The parked case uses 15 worker nodes during its operating schedule and a separate always-on node for the control plane and PostgreSQL. The exact bill also depends on monthly operating hours, the control-node configuration and which node-associated charges are included; those inputs are not fully disclosed in the article.
The idle timeout accounts for a meaningful part of occupancy. Adding two minutes after each 396.3-second turn gives roughly 28.68% worker-held time at two prompts an hour, close to Google’s rounded 29%. That simple calculation explains the direction; it does not reproduce the model’s burst distribution, monthly billing schedule or saturation estimates.
The busiest hour can erase the saving
An average of 29 occupied session slots does not justify capacity for only 29. Some developers will prompt together, and a long-running turn remains resident while others start. Google sizes for a tail of concurrent demand, then adds headroom.
Its assumptions produce the following outcomes in the published scenario comparison (opens in new tab):
| Demand or operating choice | Pool requirement or pressure | Modeled node-bill result |
|---|---|---|
| Two prompts/hour | 15 worker nodes; pool full about once per 3,500 turns | 40% below the full-resource Pod baseline |
| 2.5 prompts/hour, same pool | Existing 15-node pool full for 3% of turns | Original capacity no longer buys the same service level |
| Four prompts/hour, resized | 27 worker nodes; agent work about 44% of the hour | Saving falls to 4% |
| Around 4.5 prompts/hour | Parking overhead offsets sharing benefit | One Pod per session becomes cheaper |
| Pool kept on for all 730 monthly hours | Worker nodes remain billable overnight | About twice the work-hour-only Pod baseline bill |
The 2.5-prompt case is especially revealing. A modest increase in activity makes the unchanged pool fill much more often. It does not mean a resized pool cannot work. It means the original price and original capacity cannot be carried forward unchanged.
Nor is “pool full” an exact user-error rate. Substrate’s request-parking documentation at version 1.0.0 (opens in new tab) describes retries when resuming an actor encounters transient capacity exhaustion. The default retry budget is five seconds, with unresolved capacity failures surfacing as HTTP 503. An already committed restore can finish beyond that retry budget, so five seconds is not a universal resume-latency ceiling. The bounded request queue can also reject excess demand.
Independent activity is another consequential assumption. A team starting after stand-up or launching agents against the same release deadline can create correlated demand. The Copilot study’s mean duration does not validate independence for that team. Capacity should follow observed concurrent worker occupancy at busy times, including the idle grace period, rather than a fleet-wide average prompt rate alone.
There are also two distinct shutdowns. Suspending an actor frees capacity inside a worker; reducing worker Pods and eventually nodes changes the cloud bill. Google says the GKE autoscaling option follows worker Pods, not the number of suspended actors. The GKE installation guide (opens in new tab) does not turn an idle-session policy into a complete business-hours scheduler. The model’s after-hours scale-to-zero job is part of the saving, not optional housekeeping.
Cheap Pods may already win, with less CPU certainty
The strongest counterexample uses ordinary Kubernetes resource requests. As the upstream Kubernetes resource documentation (opens in new tab) explains, the scheduler places Pods using requests. A container can use more than its CPU request when capacity is available, up to its limit; a CPU limit caps consumption rather than reserving that entire amount.
Google’s alternative gives each Pod a 0.25-vCPU request and a 1-vCPU limit. Twelve fit per node in its example, putting 100 agents on nine nodes. That is fewer than the full-resource parked pool, without building an actor suspension policy.
The price difference buys a different contention outcome. Twelve agents cannot all receive a full CPU simultaneously from that node. During overlapping builds and tests they must share, even though each has a 1-vCPU limit. Calling that limit a CPU guarantee would misstate what the cheaper configuration provides.
Substrate has a similar choice, expressed differently. Its API guide (opens in new tab) says actor placement books declared CPU and memory limits against remaining worker capacity, including runtime overhead. Actors do not have a separate requests field. Google’s model sets pool capacity to real available resources, so it prices full-limit capacity rather than CPU overcommit.
Operators can instead overdeclare pool capacity and share the underlying CPU more aggressively. Google does not price that parked-and-overcommitted case. The nine-node Pod example therefore disproves a universal parking advantage; it does not establish an intrinsic Kubernetes-Pod advantage over every possible actor configuration.
Compare both designs at the same minimum CPU availability and acceptable slowdown under contention. Memory needs separate treatment: the Kubernetes documentation distinguishes CPU throttling from memory-pressure OOM termination. A CPU-sharing experiment is not permission to assume memory can be oversold without consequences.
Substrate checkpoints and AX resumes are different
Substrate separates a logical actor from the warm worker that hosts it. Suspending the actor allows its state to be stored while that worker accepts other actors. But snapshot fidelity determines which state returns.
The Substrate API guide (opens in new tab) distinguishes MEMORY snapshots, which restore saved processes, from VOLUMES and ROOTFS snapshots, which restore persisted data and start new processes. Compatibility and placement constraints still apply; “restore anywhere” should not be read as unconditional portability of a live process image.
Requested MEMORY fidelity is also a best-effort ceiling, not a guarantee that every checkpoint contains process memory. The published snapshot configuration (opens in new tab) permits lower fidelity under pressure. Applications need to check what was actually captured.
| Approach | What persists | What the next turn must tolerate |
|---|---|---|
| Pod stopped, persistent volume retained | Files on that volume | New process and application reconstruction |
| Substrate MEMORY checkpoint | Saved process state and supported snapshot data | Compatible restoration and its latency |
| Ordinary AX task suspension | Durable workspace files under /workspace | Fresh container and process tree |
AX makes the last distinction explicit in its runner guide (opens in new tab). Its actor-template builder (opens in new tab) selects SNAPSHOT_FIDELITY_VOLUMES. The runner prepares a workspace once, records initialization on the durable volume and skips destructive reinitialization after resume.
For a coding agent, modified source files can survive while an in-memory plan, shell process or running language server does not. Conversation continuity must come from state the application persists and reloads. AX is a useful orchestration layer, but using it does not automatically exercise Substrate’s full process-checkpoint capability. User-managed actor templates can change the snapshot configuration. Google describes AX as still ahead of its first stable release; budget management and approval-policy stabilization should not become purchasing assumptions about shipped behavior.
Suspension also needs an owner. The open inactivity-suspension issue (opens in new tab) and Google’s analysis say an external harness or controller must call the suspend API. A quiet actor does not automatically give back capacity after two minutes merely because the model assumes that timeout.
Durability is another setting to examine before scaling workers down. When checkpointing a running actor, synchronous suspension waits for the snapshot to finish uploading; the default asynchronous mode returns with a node-local snapshot and uploads later. An already-suspended actor (opens in new tab) is returned unchanged in either mode, even if its upload is pending, so a second synchronous suspend is not a durability barrier. Verify durable snapshot completion before removing its node. Reclaiming a node before durable upload is a different risk from merely reusing its worker capacity.
Credential isolation requires equally precise language. Substrate’s egress credential injection (opens in new tab) can replace placeholder headers with real credentials at the gateway, keeping those injected secrets outside the actor. That protects this configured request path, not every secret an operator might put in an image, file or environment variable. AX’s runner passes spec.env to the command, so placing an actual key there defeats that particular separation.
What a buyer should price before switching
At two prompts an hour, 40% of the rounded $1,288 baseline is about $515 a month. At four prompts an hour, 4% is only about $52. Those are approximate node-cost margins derived from Google’s rounded figures, not complete platform savings or new cloud quotes.
Snapshot storage and operations, transfer traffic, suspend-and-restore CPU, wake-up latency and any provider-specific snapshot or wake fees belong beside the node calculation. So do control-plane resilience, observability and the engineering cost of maintaining idle detection, graceful suspension and recovery. GKE’s managed-cluster charges are separate from the application control-plane/PostgreSQL node. Procurement must also account for applicable taxes and non-node platform charges, replacing list prices with its actual discounts. No universal price for those items follows from the published node comparison.
LLM inference and cache economics are separate again. Parking a tool sandbox does not itself preserve a remote model server’s KV cache or reduce token charges. The Copilot study reports strong within-turn cache reuse and weaker reuse across turn boundaries, with additional disruption from model switches and compaction. Sandbox residency and model-cache residency should not be booked as the same saving.
Fleet size changes the decision because the control plane has a fixed floor. Google places its modeled break-even at about 37 coding sessions. Its lower figure of 13 chat sessions assumes only about one minute of work per hour; that is a different hypothetical workload, not another measured Copilot result.
For a lightly used fleet that needs predictable CPU during active turns, parking deserves a trial sized from real busy-hour traces. Require proof that the application resumes correctly, that snapshots become durable before node removal, and that warm capacity meets the intended latency and error budget. Compare that result with right-sized Pods under the same contention target.
For an already overcommitted Pod fleet, frequent coding turns, or agents whose lost process state is expensive to reconstruct, the published model gives no reason to switch on cost alone. The defensible purchase is whichever design delivers the required concurrent CPU and recovery behavior at the lower all-in cost. A sleeping session is only cheaper when the machines behind it actually stop costing money.

