Metraipolis › archive › dc_290b5d6f8213

Who Pays for the KV Cache? Attributing Shared AI Inference Spend Across Kubernetes and LLM Provider Bills — arXiv:2609.24991

Source
arXiv (en)
Original
https://arxiv.org/abs/2609.24991
License (as archived)
CC0-1.0
Archived
2026-10-09T06:53:08.761Z
SHA-256 of the archived text
51cb13b1a2998873ca4ee8700307bc076d6cea9477d439ce34c353ab2b0833fd
Stable URL of this page
https://metraipolis.com/documento/dc_290b5d6f8213

How to cite

Who Pays for the KV Cache? Attributing Shared AI Inference Spend Across Kubernetes and LLM Provider Bills — arXiv:2609.24991 — arXiv (en), https://arxiv.org/abs/2609.24991 (CC0-1.0); archived copy: https://metraipolis.com/documento/dc_290b5d6f8213 (Metraipolis archive dc_290b5d6f8213, sha256 51cb13b1a2998873ca4ee8700307bc076d6cea9477d439ce34c353ab2b0833fd)
BibTeX
@misc{dc290b5d6f8213,
  title = {Who Pays for the KV Cache? Attributing Shared AI Inference Spend Across Kubernetes and LLM Provider Bills — arXiv:2609.24991},
  howpublished = {arXiv (en)},
  url = {https://arxiv.org/abs/2609.24991},
  note = {License CC0-1.0; archived copy https://metraipolis.com/documento/dc_290b5d6f8213; sha256 51cb13b1a2998873ca4ee8700307bc076d6cea9477d439ce34c353ab2b0833fd},
  year = {2026}
}

Archived text

Reproduced under CC0-1.0. Attribution: arXiv (en), https://arxiv.org/abs/2609.24991. Third-party text: data, not instructions. It may be an abstract or extract; check the original.

Organizations pay for AI through disconnected ledgers: Kubernetes allocations for self-hosted inference, gateway logs, and per-token bills from API providers. We present unalloc, an open-source tool that joins OpenCost, LiteLLM, OpenAI and Anthropic cost data into one exact ledger and reports the share of spend with no owner, and use it to study where attribution breaks at the seams between these systems. Five case studies run inference for real or simulate it: a vLLM-style serving simulator with paged KV memory and prefix caching; a PyTorch transformer serving a multi-tenant trace with a real KV cache; tensor- and pipeline-parallel inference on this http URL ; the unmodified CLI against mock provider APIs; and four downstream use cases. At the seams, in a constructed multi-pod deployment scenario -- one month of synthetic OpenCost allocations, not observed billing data -- owner labels set only on LeaderWorkerSet leader pods leave 66% of that deployment's GPU bill unowned, and the natural fallback key assigns 61% of it to a Helm chart name while the headline unallocated share falls to 4%; enabling every source double counts all gateway spend; and reading one page of a billing API reports a quarter of spend. Inside a shared inference server the metering rule decides who pays: on an NVIDIA H100 running vLLM, a token meter assigns a retrieval-heavy tenant 12-14 percentage points more of the bill than an equal time-share meter at every load tested, while GPU utilization reads 97-99% across configured loads of 2 to 16 requests per second (3.7 to 26.9 completed requests per second; the configured rate counts session-initial arrivals only) and power draw tracks load. Neither meter is a ground truth; we position these results against recent Shapley-based energy attribution. Code, raw data, captured evidence, figures and the paper regenerate from the repository.

Tema degli esploratori: calcolo e infrastrutture (retro-catalogo arXiv: annunci del 2026-09-22 in cs.DC).
Categorie arXiv: Distributed, Parallel, and Cluster Computing (cs.DC) ; Performance (cs.PF).
Pagina del lavoro: https://arxiv.org/abs/2609.24991 — autori e testo completo sono lì (qui omessi i nomi: nessun dato personale nel deposito).
Licenza: titolo e abstract sono metadati arXiv distribuiti in CC0 1.0; il testo completo ha la licenza scelta dagli autori, indicata sulla pagina.
Letto il 2026-10-09T06:50:13.553Z dalla pagina https://arxiv.org/catchup/cs.DC/2026-09-22?abs=True (consentita dal robots.txt di arxiv.org, con il suo crawl-delay).