A single H100 is $25-40k to buy, or $2-4/hr to rent. Across the clusters I have instrumented, 60-70% of allocated GPU-hours are idle: jobs that finished but kept their allocation, notebooks left open over the weekend, inference deployments sized for a peak that happened once.

The fix is not another dashboard. Dashboards show you the waste; they don't remove it. The fix is a reaper.

Step 1: measure what "idle" actually means

dcgm-exporter gives you per-GPU utilization (DCGM_FI_DEV_GPU_UTIL) and memory usage. The naive query, utilization < 5%, is wrong on its own: it catches pods mid-data-load, inference servers between requests, and anything with bursty compute. Idle has to be a sustained condition:

  • GPU utilization under ~5% for a sustained window (hours, not minutes), and
  • framebuffer usage low or flat (a loaded model is not idle even at 0% util), and
  • the allocation still held by a pod.

Prometheus can express all three. The reaper is a small controller that evaluates this on a loop and labels offending pods.

Step 2: the double gate, or how the reaper doesn't cause the outage

The failure mode of every homegrown reaper is the same: it kills something a human was about to use, and now the team routes around it forever. The design that survives contact with reality has two gates:

  1. Warn, don't kill. First idle window crossed: annotate the pod, post to the team's channel with the owner, the GPU count, and the burn rate. Humans clean up most of these within a day.
  2. Evict only the opted-in. Workloads carry an explicit label saying the reaper may evict them after a second, longer idle window. No label, no eviction. Batch training and dev notebooks opt in; anything a human is interactively using does not have to.

This sounds overly cautious until the first time the reaper would have killed a VP's demo. Then it sounds like the only way it could ever have shipped.

Step 3: what you get back

On a 16-GPU dev cluster running the numbers above, safe reclaim typically returns 4-8 GPUs' worth of capacity, either as cloud spend you stop paying or as queue time your researchers stop waiting on. The pack math is not subtle: one reclaimed H100-week is about $500.

The shortcut

The full implementation, the Prometheus queries, the controller logic, the two-gate policy, and the manifests validated against upstream Kubernetes, is in my GPU Cost-Optimization Pack ($39, free updates): https://probizgen.gumroad.com/l/GPUCost-OptimizationPack

It pairs with the monitoring pack that gets the DCGM metrics flowing in the first place: https://probizgen.gumroad.com/l/GPUMonitoringStarterPack

Black Friday: 30% off this pack (and everything else in the store, including the $79 three-pack bundle) with code BF30 through Monday Nov 30: https://probizgen.gumroad.com/l/GPUCost-OptimizationPack/BF30

Disclosure: I built and sell these packs. The measurement queries and the two-gate design above are the substance; the pack is the days of implementation you skip.