Metraipolis › archive › dc_2d2778b9203a

The Real Cost of Context: Predicting Compute Time and Energy Consumption in LLM Prefill and Decode Phases — arXiv:2610.39621

Source
arXiv (en)
Original
https://arxiv.org/abs/2610.39621
License (as archived)
CC0-1.0
Archived
2026-10-31T06:09:25.092Z
SHA-256 of the archived text
dffb1bbe4ce72addb31904bfd61e4dad650ffdb62c853560728342ecd0879bec
Stable URL of this page
https://metraipolis.com/documento/dc_2d2778b9203a

How to cite

The Real Cost of Context: Predicting Compute Time and Energy Consumption in LLM Prefill and Decode Phases — arXiv:2610.39621 — arXiv (en), https://arxiv.org/abs/2610.39621 (CC0-1.0); archived copy: https://metraipolis.com/documento/dc_2d2778b9203a (Metraipolis archive dc_2d2778b9203a, sha256 dffb1bbe4ce72addb31904bfd61e4dad650ffdb62c853560728342ecd0879bec)
BibTeX
@misc{dc2d2778b9203a,
  title = {The Real Cost of Context: Predicting Compute Time and Energy Consumption in LLM Prefill and Decode Phases — arXiv:2610.39621},
  howpublished = {arXiv (en)},
  url = {https://arxiv.org/abs/2610.39621},
  note = {License CC0-1.0; archived copy https://metraipolis.com/documento/dc_2d2778b9203a; sha256 dffb1bbe4ce72addb31904bfd61e4dad650ffdb62c853560728342ecd0879bec},
  year = {2026}
}

Archived text

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

The integration of Large Language Models (LLMs) into agentic architectures has substantially increased token consumption, raising concerns about their energy footprint. Yet, estimating the energy consumption of proprietary API-based models remains challenging, and existing approaches focus primarily on generated output tokens while overlooking the impact of the large input contexts characteristic of agentic workflows. To address this gap, we systematically profile compute time and energy consumption across a wide range of prefill (input) and decode (output) token lengths. Using generalized linear models, we show that decode compute time and energy scale linearly with output length, whereas prefill compute time and energy exhibit both linear and quadratic scaling with input length. These findings demonstrate that input context becomes a relevant factor for large-context workloads. Furthermore, we show that compute time serves as a reliable proxy for energy consumption when direct energy measurements are unavailable. Our mapping framework enables precise energy estimation and supports more sustainable deployment decisions for agentic AI.

Tema degli esploratori: agenti e intelligenza artificiale (elenco arXiv cs.AI, nuovi lavori del giorno).
Categorie arXiv: Artificial Intelligence (cs.AI).
Pagina del lavoro: https://arxiv.org/abs/2610.39621 — 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-31T06:07:08.534Z dalla pagina https://arxiv.org/list/cs.AI/new (consentita dal robots.txt di arxiv.org, con il suo crawl-delay).