TL;DR
GPU bills arrive as one opaque line. Attribute AI compute cost by team, workload, and token — with real November 2026 AWS rates and a showback model finance trusts.
A team ships a model, usage grows, and then the cloud bill arrives: one line, tens of thousands of dollars, no owner attached. Traditional FinOps breaks down on AI workloads because the unit of spend is wrong. You do not buy tokens or requests from your cloud provider — you rent whole GPU servers by the hour, usually eight GPUs at a time, and the bill says nothing about which team, model, or experiment consumed them. Attribution is the missing layer between the invoice and the people who can actually change the number.
The short version: start with per-namespace attribution in Kubernetes using OpenCost or Kubecost plus NVIDIA DCGM telemetry, price everything in GPU-seconds at your real rate, and report cost per token or per request alongside the raw dollars. Reserve capacity only once you can prove sustained utilization, and compare self-hosting against managed APIs on cost per million tokens before you buy anything. The rest of this guide is the evidence behind that call.
Why GPU bills resist normal FinOps
Four properties make AI compute harder to attribute than ordinary cloud spend.
You rent servers, not GPUs. AWS sells its P-family instances as whole eight-GPU servers. The smallest billable unit for an H100 on AWS is a p5.48xlarge at $55.04 an hour — $6.88 per GPU-hour — and you cannot rent one H100 from AWS at that rate. If one team needs two GPUs and another needs six, they share a node and the invoice still shows one line. The same is true on Google Cloud and Azure, where an eight-GPU H100 shape runs $11.06 and $12.29 per GPU-hour respectively on demand.
Utilization is invisible to the billing API. The cloud bill knows the instance ran for 730 hours. It does not know the GPU was busy for 300 of them. A GPU reserved around the clock but busy half the time costs twice as much per productive hour — $13.76 per effective GPU-hour at the AWS on-demand H100 rate, not $6.88. Without device telemetry, every attribution model is guessing.
The units don't match. Finance thinks in dollars per team. Engineering thinks in GPU-hours. Product thinks in tokens and requests. A training run is priced in GPU-hours, an inference service in cost per request, and a managed API in dollars per million tokens. Attribution has to translate between all three, or nobody trusts the number.
Tags stop at the instance. A team=nlp label on a Kubernetes pod does not appear in GPU utilization metrics by default, and instance tags do not flow into GPU counters either. The join between "who ran this" and "what the GPU did" has to be configured explicitly — usually with Prometheus relabeling that attaches pod labels to DCGM Exporter metrics — and most teams never set it up.
The rate card: what a GPU-hour actually costs (November 2026)
Attribution needs one honest rate per GPU type. These are on-demand list prices for US regions as of November 22, 2026, from the FastGPU price tracker, which reads them from the providers' own pages:
| GPU | AWS on-demand | AWS spot | Specialist clouds |
|---|---|---|---|
| H100 SXM (p5) | $6.88/GPU-hr | $1.97 (−71%) | from $3.20 (Hyperstack) |
| H200 (p5en) | $7.91/GPU-hr | $1.72 (−78%) | from $3.99 (reserved) |
| B200 (p6-b200) | $14.24/GPU-hr | $2.68 (−81%) | from $7.69 (Lambda) |
| B300 (p6-b300) | $17.80/GPU-hr | $7.09 (−60%) | from $8.99 (RunPod) |
Three things follow. First, the spread between providers is large: the same H100 costs $6.88 on AWS, $11.06 on Google Cloud, $12.29 on Azure, and roughly $3–4 on specialist GPU clouds — so the rate you attribute at is a real decision, not a constant. Second, spot is dramatically cheaper but interruptible, which makes it a good fit for fault-tolerant training and a bad fit for latency-sensitive inference. Third, commitments change the math substantially: a three-year AWS reservation prices the H100 at about $2.97 per GPU-hour, and EC2 Capacity Blocks for ML — the product most large training customers actually use, because on-demand eight-GPU capacity is scarce — price the P5 at $5.19 per accelerator-hour.
The worked example that makes the stakes concrete: one 8× H100 node running around the clock on AWS on-demand costs $55.04 × 730 hours, or about $40,200 a month. A two-week training run on 100 H100s costs 100 × 336 hours × $6.88, or about $231,000. Those are the numbers your attribution system has to explain, team by team.
If you run AI workloads on Kubernetes, our Kubernetes for AI/ML workloads guide covers GPU scheduling, node pools, and the placement decisions that determine whether those hours are productive in the first place.
The four attribution models
There is no single right model. Most organizations run two at once — one for the platform bill, one for the product bill. Pick by how your teams are structured, not by what the tooling makes easy.
Per-namespace (Kubernetes teams). One namespace per team, with GPU-seconds rolled up by namespace label. This is the simplest model that works, and the right default for three to eight teams that each own distinct namespaces. The formula is straightforward: team_cost = (namespace_gpu_seconds / total_gpu_seconds) × cluster_monthly_cost. Its limits are shared infrastructure — kube-system, the GPU operator, monitoring — which belongs to no team and has to be allocated as overhead or left unattributed, and the fact that allocation is usually based on GPU requested rather than GPU used unless DCGM telemetry is wired in.
Per-tenant (multi-tenant inference). Several teams share one inference deployment, so namespace attribution cannot separate them. This needs a proxy layer — LiteLLM, Kong, or nginx — injecting tenant headers before requests reach the inference server, with attribution weighted by token volume or request count. It is the only model that answers "which product drove this inference bill," and the only one that requires application-layer changes.
Per-token (model-level). The most granular model: take the inference server's own metrics — vLLM exposes vllm:prompt_tokens_total and vllm:generation_tokens_total per model — and compute cost_per_token = gpu_cost_per_second × avg_gpu_seconds_per_token. This is the model that lets you compare self-hosting directly against a managed API, because both sides can now be quoted in dollars per million tokens. It is also the most operationally complex, and overkill until inference is a large share of spend.
Per-experiment (training attribution). Training runs have clear owners and clear start and end times, so attribute by experiment: the job scheduler's records (team, job ID, GPU-hours consumed) joined to the billing data. This is the model finance cares about most for training-heavy teams, because a single run can cost six figures and the question is always "whose run was that."
A practical starting point is per-namespace for the platform bill plus per-experiment for training, and per-token only once inference dominates. If your models are still being tuned for efficiency, AI model optimization — quantization, pruning, distillation — is often the cheapest attribution lever of all: a smaller model on a cheaper GPU changes every number downstream.
The tooling stack: three layers, in order
Layer 1: allocation (who used what). OpenCost is the CNCF-incubated open-source allocation engine and the right starting point if you want raw cost primitives without vendor lock-in. Kubecost builds on it with dashboards, showback, and chargeback workflows; its 2.4 release added GPU cost monitoring, and GPU utilization support landed in OpenCost between versions 1.111 and 1.112. Kubecost 3.0, released in 2026 under IBM ownership, adds multi-cluster federation. Either way, allocation is calculated at the container level from GPU requested versus used, then rolled up by pod, namespace, label, or cluster.
Layer 2: telemetry (was the GPU actually busy). Allocation alone cannot tell you whether a GPU was productive. NVIDIA's Data Center GPU Manager (DCGM) Exporter exposes engine activity, streaming-multiprocessor activity, device-memory activity, and PCIe/NVLink traffic as Prometheus metrics. Kubecost consumes DCGM metrics to report GPU idle cost per workload — both GPUs requested but unused by containers, and GPUs not requested at all. A low-activity interval next to a costly workload is a prompt to investigate, not proof of waste on its own: a training job can legitimately idle a GPU while loading data.
Layer 3: the standard billing schema. The FinOps Open Cost and Usage Specification (FOCUS) 1.2, ratified by the FinOps Foundation on May 29, 2025, is the common format for cloud cost data across providers, and AWS now offers Data Exports in FOCUS 1.2 as generally available. Two additions matter for AI workloads: the InvoiceId column, which links each billing row to the provider invoice for reconciliation, and CapacityReservationId/CapacityReservationStatus, which show whether reserved capacity — including EC2 Capacity Blocks for ML — was actually used or sat idle. FOCUS 1.2 also folds SaaS and PaaS billing into the same schema, so a managed API bill and a GPU bill can be analyzed in one query.
# DCGM Exporter: the one install that makes GPU attribution real. # Kubecost / OpenCost consume these metrics to price idle GPU time. helm upgrade -i dcgm-exporter \ --repo https://nvidia.github.io/dcgm-exporter/helm-charts \ -n dcgm-exporter --create-namespace \ -f values-dcgm.yaml
# Cost per million tokens, self-hosted — the number that
# lets you compare a GPU fleet against a managed API.
gpu_hourly_rate = 6.88 # AWS p5 H100, on-demand, Nov 2026
tokens_per_second = 850 # measured throughput, your model
seconds_per_million = 1_000_000 / tokens_per_second
cost_per_million = gpu_hourly_rate * seconds_per_million / 3600
print(f"${cost_per_million:.2f} per million tokens")
# At 850 tok/s on one H100: ~$2.25 per million tokens.
# Compare with managed APIs before deciding what to host.Buy vs build: self-hosting against the API
The attribution number only earns its keep when it drives a decision. The cleanest comparison is cost per million tokens, self-hosted versus managed, at November 2026 rates:
| Route | Representative rate (Nov 2026) |
|---|---|
| Managed API, small models (GPT-6 Luna, Claude Haiku 5.5) | $0.10 in / $0.50 out per 1M tokens |
| Managed API, mid-tier (GPT-6.1 Sol, Claude Sonnet 5.5) | $2.00 in / $10.00 out per 1M tokens |
| Self-hosted open model, 1× H100 at $6.88/hr, 850 tok/s | ≈ $2.25 per 1M tokens (input + output blended) |
| Self-hosted, same GPU on spot at $1.97/hr | ≈ $0.64 per 1M tokens |
The pattern is consistent: at low volume, the API wins — no idle GPU, no operations, no minimum of eight GPUs. At sustained high volume with a model you can serve efficiently, self-hosting wins, and spot or reserved capacity widens the gap. The crossover depends on your measured throughput and your real utilization, which is exactly why the telemetry layer comes before the purchasing decision. One caveat on the API side: rates move. Google's Gemini 4 Argon is $2/$10 per million tokens through November 30, 2026, then doubles to $4/$20 from December 1 — a price change your attribution model should absorb as a new rate, not a surprise.
For the broader cost discipline around all of this — rightsizing, commitments, and the habits that keep any cloud bill honest — see our cloud cost optimization guide.
Recommendation
If you are starting from zero, do this in order:
team, workload, and environment labels at admission. No label discipline, no attribution — every model above depends on it.When NOT to do this
FinOps for AI workloads is overhead, and overhead has a break-even point. Skip the full apparatus if your GPU spend is under roughly $5,000 a month — a spreadsheet and the cloud console's cost explorer will tell you what you need, and the engineering time is better spent on the product. Skip per-token attribution if you only run training — per-experiment attribution answers the question with far less machinery. Skip chargeback entirely if you have one team — there is nobody to charge, and showback to yourselves is a dashboard nobody reads. And do not build this before you have label discipline: an attribution pipeline fed by untagged workloads produces precise-looking numbers that are wrong, and wrong numbers that look precise destroy trust faster than no numbers at all.
The honest summary: GPU cost attribution is not a tool purchase. It is three habits — label everything, measure actual GPU activity instead of reservations, and quote cost in the unit each audience already uses. The tools exist, the standard exists, and the rates are public. What most teams are missing is the join between them.
Rates in this article are on-demand list prices for US regions as of November 22, 2026, from the FastGPU AWS GPU pricing tracker and the RentServers GPU price index, cross-checked against GR1D's rent-vs-buy analysis. FOCUS 1.2 details are from the FinOps Foundation announcement and AWS Data Exports for FOCUS 1.2. GPU monitoring capabilities are from Kubecost's 2.4 release notes. Managed API rates are the providers' published November 2026 standard tiers, as compiled in the November 2026 LLM pricing comparison. Prices change; verify the current rate before signing a commitment.
Why This Matters
Understanding the business and technical context helps you make informed decisions rather than blindly following patterns.
Trade-offs to Consider
Every architectural decision involves trade-offs. Consider your specific requirements, team expertise, and scale when evaluating options.
When NOT to Use This
Knowing when a solution doesn't apply is as valuable as knowing when it does. Consider alternatives for your specific situation.
Decision Framework
Use this framework to evaluate whether this approach is right for your use case based on your specific constraints and requirements.