Tokenomics: Quantifying Where Tokens Are Used in Agentic Software Engineering

Mohamad Salim, Jasmine Latendresse, SayedHassan Khatoonabadi, Emad Shihab
1/20/2026
cs.SEcs.AIcs.MA

No confident code implementation found for this paper. 5 possible matches can be shown below.

Abstract

LLM-based Multi-Agent (LLM-MA) systems are increasingly applied to automate complex software engineering tasks such as requirements engineering, code generation, and testing. However, their operational efficiency and resource consumption remain poorly understood, hindering practical adoption due to unpredictable costs and environmental impact.

Show full abstract

To address this, we conduct an analysis of token consumption patterns in an LLM-MA system within the Software Development Life Cycle (SDLC), aiming to understand where tokens are consumed across distinct software engineering activities. We analyze execution traces from 30 software development tasks performed by the ChatDev framework using a GPT-5 reasoning model, mapping its internal phases to distinct development stages (Design, Coding, Code Completion, Code Review, Testing, and Documentation) to create a standardized evaluation framework. We then quantify and compare token distribution (input, output, reasoning) across these stages. Our preliminary findings show that the iterative Code Review stage accounts for the majority of token consumption for an average of 59.4% of tokens. Furthermore, we observe that input tokens consistently constitute the largest share of consumption for an average of 53.9%, providing empirical evidence for potentially significant inefficiencies in agentic collaboration. Our results suggest that the primary cost of agentic software engineering lies not in initial code generation but in automated refinement and verification. Our novel methodology can help practitioners predict expenses and optimize workflows, and it directs future research toward developing more token-efficient agent collaboration protocols.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. 5 weaker matches are hidden by default — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{salim2026tokenomics,
  title  = {Tokenomics: Quantifying Where Tokens Are Used in Agentic Software Engineering},
  author = {Mohamad Salim and Jasmine Latendresse and SayedHassan Khatoonabadi and Emad Shihab},
  year   = {2026},
  eprint = {2601.14470},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2601.14470v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2601.14470.svg)](https://codeofpaper.com/paper/2601.14470)

Discussion