FinOps for GPUs and LLM Tokens: A Practical Cost-Control Guide

How to control AI infrastructure spend: measure real GPU utilization, remove idle GPUs, pick the right instances, share GPUs with MIG or time-slicing, use spot for training, autoscale inference, and manage LLM tokens with budgets, caching and routing.

By Gepton Team · Sep 29, 2026 · Updated Nov 13, 2026 · 8 min read

On this page (6 sections)
  1. Why AI cost needs its own FinOps practice
  2. Part 1: GPU cost control
  3. 1. Measure real GPU utilization
  4. 2. Remove idle GPUs
  5. 3. Choose the right instance type
  6. 4. Share GPUs: MIG, time-slicing and DRA
  7. 5. Use spot capacity for training
  8. 6. Autoscale inference on the right signal
  9. Part 2: LLM token cost control
  10. 7. Put a gateway in front of model calls
  11. 8. Set token budgets
  12. 9. Cache what repeats
  13. 10. Route to the right model
  14. Part 3: Tagging, showback and unit economics
  15. A 30-day starting plan
  16. Common mistakes

In short: AI spend has two meters. Self-hosted models burn money through GPU hours, so the job is to keep GPUs busy, share them where workloads are small, turn them off when idle and use interruptible capacity for training. Hosted models charge per token, so the job is to send fewer, shorter requests to the lowest-cost model that meets the quality bar, cache what repeats and give every team a budget. Both need tagging and showback so each product sees its own cost per unit of value. This guide explains each lever as a concept and a set of steps; it does not quote prices, which change often.

Why AI cost needs its own FinOps practice

AI workloads break some habits that work for ordinary cloud spend. A single GPU node can cost more than a rack of general-purpose instances, so one forgotten notebook matters. Token bills grow with usage and prompt design rather than with infrastructure, so they sit outside the usual rightsizing tools. And the owners are often product or data teams who have never been part of a cost review.

Practitioners have noticed. The FinOps Foundation's State of FinOps 2026 survey found that 98 percent of respondents now manage AI spend, up from 31 percent two years earlier, and named AI cost management the top skill teams need to build. The FinOps Framework applies directly: inform (make cost visible), optimize (reduce waste and rates), operate (build it into how teams work).

Part 1: GPU cost control

1. Measure real GPU utilization

You cannot fix what you do not measure, and the default metric can mislead. The common "GPU utilization" figure reports the share of time any kernel was running, not how much of the GPU was busy. A GPU can show high utilization while most of its compute sits idle.

  1. Deploy the NVIDIA DCGM exporter (included in the NVIDIA GPU Operator) and scrape it with Prometheus.
  2. Track GPU memory used, streaming multiprocessor (SM) activity and, where available, tensor core activity, alongside plain utilization.
  3. Add labels for namespace, workload and team so every GPU hour can be attributed.
  4. Build one dashboard per GPU node pool: allocated GPUs, actually busy GPUs and GPUs with no pod at all.

2. Remove idle GPUs

Idle GPUs are usually the largest and easiest saving. Typical sources are notebooks left running over weekends, inference replicas sized for peak all day, development clusters that never scale down, and GPU nodes kept alive by a single small pod.

  • Set idle timeouts on notebooks and development environments.
  • Let the node autoscaler (Karpenter or Cluster Autoscaler) remove empty GPU nodes, and taint GPU nodes so only GPU workloads land on them.
  • Scale non-production GPU pools to zero outside working hours.
  • Alert when a GPU has been allocated but below a low activity threshold for hours.

3. Choose the right instance type

Match the GPU to the job rather than defaulting to the largest one available.

  • Inference for small and mid-size models often fits on smaller or older GPUs, especially with quantization (FP8, INT8 or 4-bit formats) that reduces memory needs.
  • Training and fine-tuning of large models need high-memory GPUs and fast interconnects; small fine-tuning jobs with parameter-efficient methods such as LoRA often do not.
  • Purpose-built accelerators such as AWS Inferentia and Trainium or Google TPUs can cost less per unit of work for supported models, at the cost of framework and portability constraints.
  • Consider GPU availability in your region, not only specifications. For teams with data-residency needs in India, check which GPU families are offered in the Indian regions of each provider.

4. Share GPUs: MIG, time-slicing and DRA

Many workloads, such as small inference services, notebooks and CI tests, need only part of a GPU. Kubernetes offers several ways to share one:

MethodHow it worksChoose it when
Multi-Instance GPU (MIG)Splits a supported data-center GPU into fixed hardware partitions, each with its own memory and fault isolationYou need predictable performance and isolation between tenants
Time-slicingAdvertises one GPU as several replicas; workloads take turns, with no memory or fault isolationWorkloads are small, bursty and trusted, or the GPU does not support MIG
NVIDIA MPSLets processes run concurrently on one GPU with limits on compute shareMany small inference processes need to run at the same time
Dynamic Resource Allocation (DRA)Kubernetes API, GA in version 1.34, for requesting devices by attributes rather than whole countsYou want finer-grained, attribute-based GPU scheduling on recent clusters

The NVIDIA GPU Operator documentation describes how to configure time-slicing and MIG, and notes that the two can be combined. The Kubernetes 1.34 release made the core of DRA generally available.

5. Use spot capacity for training

Spot or preemptible instances cost much less than on-demand capacity but can be reclaimed at short notice; AWS, for example, gives a two-minute interruption notice. Training and batch jobs can tolerate this if they are built for it:

  1. Checkpoint model state to object storage at regular intervals, so an interruption loses minutes, not hours.
  2. Make the job resume automatically from the latest checkpoint.
  3. Allow several instance types and zones to improve the chance of getting capacity.
  4. Use a job queue such as Kueue on Kubernetes so jobs wait for capacity and quotas instead of failing.
  5. Keep latency-sensitive inference on on-demand or reserved capacity, with spot only for extra replicas.

For steady, predictable GPU demand, commitment models (reserved capacity, savings plans or capacity reservations for ML) lower the rate. Commit only to the baseline you have measured.

6. Autoscale inference on the right signal

CPU usage says little about a GPU inference server. Scale on signals that reflect load:

  • queue depth or waiting requests exposed by the serving engine (vLLM, Triton or KServe);
  • request rate and latency against your SLO;
  • GPU memory or KV-cache usage for LLM serving.

KEDA or the Horizontal Pod Autoscaler can use these metrics. Scale-to-zero saves the most but adds a cold start while the model loads into GPU memory, which can take a long time for large models; keep a warm minimum for user-facing endpoints. Serving engines with continuous batching, such as vLLM, raise throughput per GPU, which cuts cost as much as autoscaling does.

Part 2: LLM token cost control

7. Put a gateway in front of model calls

Route all model calls through an LLM gateway, either an open-source proxy or a cloud AI gateway. It gives you one place to log tokens per request, attach team and feature tags, enforce rate limits, switch providers and apply caching. Without it, token spend is scattered across API keys and invoices.

8. Set token budgets

  • Give each team or product a monthly token budget with alerts at thresholds, and hard limits for experiments.
  • Set a maximum output length on every call; unbounded responses are a common source of waste.
  • Trim context: send only the conversation turns and retrieved passages the model needs. Summarize long histories instead of resending them.
  • Review retrieval settings in RAG systems; retrieving many large chunks inflates input tokens on every request.
  • Watch agent loops. An agent that retries tools or re-reads large documents can use many times the tokens of a single call, so cap steps per task.

9. Cache what repeats

  • Provider prompt caching. Major model providers can cache a repeated prompt prefix, such as system instructions, tool definitions or a long document, and bill cached input tokens at a lower rate with lower latency. Put stable content first and variable content last to benefit.
  • Exact-match response caching for identical requests, such as common FAQ questions or repeated classification inputs.
  • Semantic caching, which reuses answers for similar questions. It saves more but can return a wrong or stale answer, so use it only where that risk is acceptable and set expiry times.
  • Batch processing. Work that does not need an immediate answer, such as nightly document processing or evaluations, can often use a provider's batch interface, which is priced lower than real-time calls.

10. Route to the right model

Not every request needs the most capable model. Classification, extraction, routing and short summaries often work well on small, fast models, while complex reasoning needs a larger one.

  1. Build an evaluation set from real requests with expected outcomes.
  2. Measure quality, latency and cost per request for two or three candidate models.
  3. Route by task type, or use a cascade: try a smaller model first and escalate when confidence is low or validation fails.
  4. Re-run the evaluation whenever you change models or prompts, so savings never quietly reduce quality.

For high, steady volume on a narrow task, a self-hosted open-weight model on your own GPUs can cost less than per-token pricing. It moves cost from tokens back to GPU hours, which brings Part 1 back into play.

Part 3: Tagging, showback and unit economics

  • Tag everything. GPU node pools, namespaces, training jobs and gateway requests all carry team, product, environment and feature tags.
  • Allocate shared cost. Use OpenCost or your provider's cost allocation for Kubernetes to split GPU node cost by namespace. The FinOps Foundation's FOCUS specification gives cloud and SaaS billing data a common schema, which helps combine GPU and model provider costs.
  • Show back monthly. Each team sees its GPU hours, token use and trend, with the top drivers named.
  • Track unit cost. Cost per request, per resolved support ticket, per document processed or per active user tells you whether spend is creating value. Total spend alone does not.
  • Review before launch. Add a cost estimate to design reviews for new AI features: expected requests, tokens per request, model and caching plan.

A 30-day starting plan

  1. Week 1: deploy GPU metrics with team labels; route model calls through a gateway that logs tokens.
  2. Week 2: find and remove idle GPUs; set notebook timeouts and scale non-production pools to zero at night.
  3. Week 3: set output limits, trim context and turn on provider prompt caching; test a smaller model on one high-volume task.
  4. Week 4: publish the first showback report with cost per unit for each AI feature, and agree budgets.

Common mistakes

  • Trusting the default GPU utilization figure as a measure of efficiency.
  • Reserving large GPUs for workloads that fit on a slice of one.
  • Running training on spot without checkpoints.
  • Switching to a lower-cost model without an evaluation set.
  • Semantic caching on answers that must be exact or personal.
  • Treating AI spend as one line item with no owner.

Our Cloud Cost Optimization and FinOps service covers GPU and token spend alongside the rest of your cloud bill, MLOps and AI Infrastructure covers building efficient serving platforms, and AI Cost Optimization focuses on model and prompt choices. The GPU on Kubernetes Blueprint, in early access, is designed as a reference setup for the GPU practices above.

Frequently asked questions

What is a good GPU utilization target?

There is no single number, because it depends on the workload. Training jobs can keep GPUs busy most of the time; interactive inference needs headroom for traffic spikes and latency targets. What matters more is spotting GPUs that are allocated but doing little, and nodes with no GPU pods at all. Track SM activity and memory use per workload, set a target per node pool with the owning team, and review it monthly.

Should we use MIG or time-slicing to share GPUs?

Use MIG when you need isolation and predictable performance, for example when different teams or customers share a GPU, and when your GPU supports it. Use time-slicing for small, trusted, bursty workloads such as notebooks or tests, or on GPUs without MIG, accepting that there is no memory or fault isolation between replicas. The two can be combined. On recent Kubernetes versions, Dynamic Resource Allocation offers a more flexible way to request devices.

Is it safe to train models on spot instances?

Yes, if the training job is built for interruption. Save checkpoints to durable storage regularly, resume automatically from the latest one, allow several instance types and zones, and use a job queue so work waits for capacity. Without checkpoints, one interruption late in a long run can waste more than spot saves. Keep user-facing inference on on-demand or reserved capacity.

How do we reduce LLM token spend without hurting quality?

Start with changes that do not affect answers: cap output length, remove unnecessary context, put stable prompt content first so provider prompt caching applies, and cache exact repeats. Then test smaller models on specific tasks against an evaluation set built from real requests, and route or cascade only where quality holds. Re-run the evaluation after every model or prompt change.

When does self-hosting an open-weight model cost less than an API?

Usually when volume is high and steady, the task is narrow enough for a smaller open model, and you can keep GPUs well utilized. At low or spiky volume, per-token pricing often costs less because you pay nothing when idle. Compare cost per request at your real traffic pattern, including engineering and operations effort, and remember that self-hosting shifts the cost problem back to GPU utilization.

How should we allocate shared GPU cluster costs to teams?

Label namespaces and workloads by team and product, then use OpenCost or your cloud provider's Kubernetes cost allocation to split GPU node cost by requested or used GPUs. Decide how to share idle capacity, for example proportionally or as a platform cost, and document it. Start with showback, where teams see their costs, before moving to chargeback.

Written by

Engineers and project leads

Engineers and project leads at Gepton, Gurugram. We write from client projects.

All articles

Jump to

↑↓ to move↵ to open