Tokenomics: Quantifying Where Tokens Are Used in Agentic Software Engineering
2026/01/20 by Mohamad Salim, Jasmine Latendresse, SayedHassan Khatoonabadi +1 · 15 voices · 4 citations
#cs.SE #cs.AI #cs.MA
paper · pdf
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. 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.
Cited by
Discussions
- Tokenomics: Quantifying Where Tokens Are Used in Agentic Software Engineering [hn, 173 points, 75 comments]
- Tokenomics: Quantifying Where Tokens Are Used in Agentic Software Engineering. Paper: arxiv.org/abs/2601.14470 [bsky, 1 points, 0 comments]
- Code review consumes 59% of tokens in AI coding agents, dwarfing initial generation costs [bsky, 1 points, 0 comments]
- Tokenomics: Quantifying Where Tokens Are Used in Agentic Software Engineering https://arxiv.org/abs/2601.14470 (https://news.ycombinator.com/item?id=48430923) [bsky, 0 points, 0 comments]
- Tokenomics: Quantifying Where Tokens Are Used in Agentic Software Engineering #HackerNews https://arxiv.org/abs/2601.14470 [bsky, 0 points, 0 comments]
- Tokenomics: Quantifying Where Tokens Are Used in Agentic Software Engineering https://arxiv.org/abs/2601.14470 https://news.ycombinator.com/item?id=48430923 [bsky, 0 points, 1 comments]
- Tokenomics: Quantifying Where Tokens Are Used in Agentic Software Engineering https://arxiv.org/abs/2601.14470 [bsky, 0 points, 0 comments]
- Tokenomics: Quantifying Where Tokens Are Used in Agentic Software Engineering https://arxiv.org/abs/2601.14470 [comments] [97 points] [bsky, 0 points, 0 comments]
- 📰 Tokenomics: Quantifying Where Tokens Are Used in Agentic Software Engineering 🔗 https://arxiv.org/abs/2601.14470 💬 Discuss on HN [bsky, 0 points, 0 comments]
- Neue Studie vermisst Token-Verbrauch in agentischen Software-Engineering-Workflows. Spoiler: Scaffolding und Tool-Calls fressen den Löwenanteil — das eigentliche Coding ist Nebensache. *schenkelklopf* [bsky, 0 points, 1 comments]
- https://bsky.app/profile/news.ycombinator.com.web.brid.gy/post/3mnopdd26wta2 [bsky, 0 points, 0 comments]
- 📰 Tokenomics: Researchers analyze how tokens are utilized in agentic software engineering through a study published on arXiv and discussed on Hacker News. 🔗 https://arxiv.org/abs/2601.14470 #Tech #D [bsky, 0 points, 0 comments]
- Agent workflows burn tokens in ways most teams don't track – code generation is cheap, but iterative debugging and context switching add up fast. https://arxiv.org/abs/2601.14470 [bsky, 0 points, 1 comments]
- Tokenomics: Quantifying Where Tokens Are Used in Agentic Software Engineering https:// arxiv.org/abs/2601.14470 # arxiv [mastodon, 0 points, 0 comments]
- Tokenomics: Quantifying Where Tokens Are Used in Agentic Software Engineering https://arxiv.org/abs/2601.14470 (https://news.ycombinator.com/item?id=48430923) [bsky, 0 points, 0 comments]
Related