Tokenomics: Quantifying Where Tokens Are Used in Agentic Software Engineering
Mohamad Salim, Jasmine Latendresse, SayedHassan Khatoonabadi, Emad Shihab

TL;DR
This paper analyzes token consumption in LLM-based multi-agent software engineering, revealing that iterative review stages dominate costs and input tokens are the largest share, providing insights for optimizing workflows.
Contribution
It introduces a standardized framework for quantifying token usage across SDLC stages in LLM-MA systems, highlighting inefficiencies and guiding future optimization.
Findings
Code Review accounts for 59.4% of token consumption.
Input tokens make up 53.9% of total tokens used.
Token costs are higher during iterative refinement and verification.
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…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsSoftware Engineering Techniques and Practices · Software Engineering Research · Advanced Software Engineering Methodologies
