‹ Back to all articles

Your GPU cluster isn’t expensive because GPUs are expensive

GPUs are expensive. That’s hardly news. What did stand out: Cast AI recently published its State of Kubernetes Optimization Report and found an average GPU utilisation of about 5% across tens of thousands of non-optimised Kubernetes clusters.

A concrete example: STACKIT’s GPU Server-n2.14d.g1-EU01 has 1× NVIDIA L40S with 48 GB of memory and on 17 September 2026 was publicly priced at €1.74 per hour excluding VAT. At a 5% duty cycle, that comes to about €34.86 per active GPU hour. And active still isn’t the same as useful or productive work.

A 30% reservation or committed-use discount won’t fix that. You just get a discount on capacity you don’t use 95% of the time (but hey, at least it was nicely reserved).

What does GPU utilisation actually measure?

With CPUs we’re used to looking at utilisation and drawing more or less sensible conclusions from it. With GPUs it’s less straightforward.

A metric like DCGM_FI_DEV_GPU_UTIL measures how much of the time at least one kernel was active. It doesn’t tell you how many Streaming Multiprocessors were doing useful work, whether the workload was mostly waiting on memory, how many tokens per second your model produced, or whether the job delivered anything at all.

A GPU can look busy according to that metric and still perform poorly. Conversely, an inference workload can have short bursts, hit good latency and still show a low average duty cycle.

So GPU utilisation is useful, but not enough. DCGM_FI_PROF_SM_ACTIVE measures the fraction of time at least one warp was active on a Streaming Multiprocessor. DCGM_FI_PROF_DRAM_ACTIVE measures how active the device memory interface was. Combine those with framebuffer or memory usage, power draw and an application metric such as tokens per second, jobs per hour, queue depth or latency.

So don’t just measure whether the GPU was active. Measure what you got back for it.

Why does Kubernetes hold on to a GPU that’s doing nothing?

The classic NVIDIA device plugin exposes a GPU to Kubernetes as an integer resource: nvidia.com/gpu: 1.

When a pod requests that GPU, Kubernetes reserves the entire card for that pod. That happens before the container makes its first CUDA call. Image pulls, init containers, model downloads and loading model weights into GPU memory all happen while the GPU may already be allocated.

After that, the card stays allocated for as long as the pod exists. Even when the application is waiting for requests, has an empty queue or is simply misconfigured.

So Kubernetes knows quite well which pod owns the GPU. That doesn’t mean it knows whether that pod is using it.

That difference between “allocated” and “active” is missing from many Kubernetes and FinOps dashboards. We put CPU requests next to CPU usage everywhere by now. With GPUs, teams often only look at how many cards they have and what they cost.

So measure GPU-seconds allocated next to GPU-seconds active. Add initialisation time and application output to that. Otherwise you’re optimising for a number that tells only a quarter of the story.

What happens before the first CUDA call?

A lot of lost GPU time sits before the first CUDA call. Kubernetes has already allocated the card, while the container still has to start and the model is still on its way.

Start with the boring stuff: build lean images, use multi-stage builds and don’t put model weights in your container image. An image of tens of gigabytes doesn’t suddenly become a good idea because your registry is fast.

Put model weights in object storage in the same region or on attached block storage. Object storage is simple and cheap, but the first download takes time. Block storage starts more predictably, but costs money even when no pod is running. Local NVMe, a node cache or preloading makes cold starts faster, in exchange for extra storage, cache invalidation and capacity you have to set up in advance.

The big three each have some form of lazy loading. On AWS, SOCI does lazy loading of container images; Run:ai Model Streamer streams model weights from S3. GKE has image streaming and documents Model Streamer with GCS. AKS has Artifact Streaming. That can improve time-to-first-byte, but it’s no free pass for gigantic images: everything you eventually need still has to go over the network and through the storage stack.

For STACKIT, no managed equivalent is documented. Keep images small, put the registry close by, use the containerd cache and pre-stage model storage where the startup SLO requires it.

Measure this path separately: pod scheduled, containers ready, first CUDA call and app ready. Otherwise a single “initialisation time” metric mostly tells you that time disappeared somewhere.

Can’t we just share one GPU?

Yes. Except “sharing” means three different things.

Time-slicingWorkloads take turns getting compute time on the same GPU, without isolation. Good for notebooks, development and bursty inference within one team.
MIGSplits the card into hardware-isolated pieces with their own compute and memory. Suitable for production inference and multiple tenants.
MPSLets CUDA processes run concurrently. Efficient for small, cooperating workloads, but with less isolation than MIG.

Time-slicing

With time-slicing, multiple workloads take turns getting compute time on the same physical GPU. This works well for notebooks, development and bursty inference workloads that spend a lot of time waiting.

Memory stays shared. So one workload can eat up the entire HBM pool and leave the other workloads with an Out Of Memory. There’s also no hard fault isolation, and with the classic device plugin configuration you can’t reliably attribute DCGM usage per container.

So use time-slicing for workloads within the same trust boundary, where variable latency and limited isolation are acceptable. Not because someone wrote “fractional GPU” in a quote.

MIG

Multi-Instance GPU splits supported NVIDIA cards into hardware-isolated pieces, with their own compute, memory and memory bandwidth. That makes MIG much better suited to production inference and different tenants.

The downside: not every GPU supports MIG, you have to choose profiles up front, and the wrong partitioning still leaves capacity unused. A workload that needs one and a half slices still gets two.

Choose MIG when isolation and predictability matter more than maximum flexibility.

MPS

NVIDIA Multi-Process Service lets CUDA processes run concurrently instead of just taking turns. That can be more efficient for small, cooperating workloads, but the isolation isn’t comparable to MIG and operational support differs per platform.

MPS is usable when you trust and understand the workloads. If “we’ll turn on MPS and see what happens” is the plan, there is no plan yet.

Which of this can you use on AWS, Google Cloud and Azure?

All the big public clouds have the building blocks by now. None of them bills only for the useful CUDA work. You pay for the VM or node as long as it exists, even when the GPU is sitting idle.

AWS EKS

EKS supports DCGM, time-slicing, MIG, MPS and the newer Dynamic Resource Allocation. KEDA can scale inference pods; Karpenter can then add or remove GPU nodes. Spot Instances are usable for interruptible training and batch jobs.

The combinations do have sharp edges, though. The latest DRA functionality doesn’t just work with dynamic Karpenter capacity or EKS Auto Mode. Time-slicing makes per-pod attribution harder. MIG is only available on supported GPU families.

On AWS I’d start with DCGM plus application metrics, then scale pods on queue depth or latency, and let Karpenter follow with the nodes. Only after that do you choose sharing and a purchasing model.

Google Kubernetes Engine

GKE currently has the most polished combination. It documents time-sharing, MIG and MPS as separate strategies and can send DCGM metrics to Cloud Monitoring as a managed feature. GKE also shows how many accelerator resources containers request and what the measured duty cycle is.

Autopilot can provision GPU nodes automatically, but it doesn’t make GPUs “serverless”: GPU workloads are ultimately billed for the full node. With time-sharing and MPS, certain container-level metrics are also missing. MIG, in turn, has its own observability limitations.

Use GKE if you want to consume as much of the GPU stack as possible as a managed service. Don’t expect Autopilot to fix badly chosen requests for you.

Azure Kubernetes Service

AKS supports the same basic GPU partitioning options: MIG, time-slicing, MPS, DCGM, KEDA and node autoscaling. In its GPU observability guidance, Microsoft explicitly recommends setting GPU-seconds used against GPU-seconds allocated. That’s exactly the metric I miss in most dashboards.

Part of the managed GPU node pools, managed MIG and managed observability is still in preview today, though. Time-slicing and MPS remain largely work for the NVIDIA GPU Operator.

So by all means use AKS if Azure is your logical cloud partner, but check per feature whether it’s really supported and production-ready. A page on Microsoft Learn isn’t an SLA yet, let alone a service definition.

And on STACKIT?

STACKIT has GPU machine types with, among others, A100, L40S and H100, and you can use them as a node pool in STACKIT Kubernetes Engine. The documented approach installs the NVIDIA GPU Operator on Ubuntu GPU nodes.

That gives you the NVIDIA device plugin, drivers and DCGM Exporter. Through the Prometheus Operator and a ServiceMonitor or PodMonitor, you can send the metrics to STACKIT Observability and show them in Grafana.

That’s a usable foundation, but today STACKIT abstracts less of the GPU stack than GKE. Fractional GPUs, managed MIG, time-slicing, MPS, DRA and GPU-specific health remediation aren’t documented as managed STACKIT product features. You can technically build several of them via the NVIDIA Operator, but then you manage them yourself.

Automatically scaling a separate GPU node pool to zero isn’t clearly documented either. Full cluster hibernation can bring the workers to zero, but the control plane stays and waking up takes a few minutes. That’s interesting for development or batch clusters, less so for online inference.

So on STACKIT I’d start with a separate GPU node pool, taints and tolerations, GPU Operator, DCGM and remote write to Observability. Then test MIG on the exact A100 or H100 flavour you use. Only add time-slicing for workloads where shared memory and weaker isolation aren’t a problem.

Does Kubernetes 1.37 help?

The DRA updates in Kubernetes 1.37 make Dynamic Resource Allocation more usable. Device taints and tolerations are stable, so a driver or administrator can mark a single bad GPU without taking the whole node out of service. Existing workloads can be evicted from such a device unless they explicitly tolerate the taint.

There’s also now a standard resource.kubernetes.io/numaNode attribute. So drivers from NVIDIA, AMD and other vendors no longer each have to invent their own name for the same topology information.

That helps with health and placement. It doesn’t raise utilisation by itself. A perfectly described idle GPU is still idle.

Our advice: measure first, then share, and only then buy discounts

My order would always be this:

  1. Measure allocated GPU-seconds and active GPU-seconds separately.
  2. Split initialisation time into pod scheduled, containers ready, first CUDA call and app ready.
  3. Keep images lean, keep model weights out of the image and measure download and load time per storage path.
  4. Add an application metric: tokens, jobs, queue depth or latency.
  5. Remove requests and pods that hold capacity without doing work.
  6. Make pod autoscaling and node autoscaling fit together.
  7. Then choose between time-slicing, MPS and MIG.
  8. Use Spot for interruptible workloads.
  9. Only buy reservations or committed use for the baseline that demonstrably stays around.

Cloud discounts lower your price per reserved hour. They don’t make that hour more useful.

That’s why at Krane Labs we don’t just look at how many GPU nodes a cluster has. We want to know how much of that capacity is reserved, active and productive, and why the difference exists. Only then can you design scheduling, sharing and autoscaling properly.

The GPU may be expensive. Running the card at 5% and then proudly announcing you got a 30% reservation discount is more expensive :)

Written by

Frank Louwers

Cloud and security architect. Brings business, risk and technology together.

Do you know what your GPUs really deliver?

Talk to a cloud architect

Not sure your platform is ready for what's next?

Interested in: