← 返回日报
精读 预计 2 分钟

Tokenomics: Quantifying Where Tokens Are Used in Agentic Software Engineering

摘要

研究人员基于 GPT-5 和 ChatDev 框架分析了 30 个开发任务,将 Token 消耗(输入、输出、推理)映射至设计、编码、评审、测试及文档等阶段。结果显示,代码评审阶段平均占总 Token 消耗的 59.4%,且输入 Token 占比达 53.9%。研究表明,智能体软件工程的主要成本源于自动化的完善与验证环节,而非初始的代码生成。

荐读理由

针对 AI Agent 开发,你可据此调整成本预估与架构优化优先级:研究证实 Token 消耗大头并非代码生成,而是迭代评审(占 59.4%)与输入成本(占 53.9%)。

原文

Computer Science > Software Engineering

[Submitted on 20 Jan 2026]

Title:Tokenomics: Quantifying Where Tokens Are Used in Agentic Software Engineering

Authors:Mohamad Salim, Jasmine Latendresse, SayedHassan Khatoonabadi, Emad Shihab

View a PDF of the paper titled Tokenomics: Quantifying Where Tokens Are Used in Agentic Software Engineering, by Mohamad Salim and 3 other authors

View PDF HTML (experimental)

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.

https://doi.org/10.48550/arXiv.2601.14470

arXiv-issued DOI via DataCite

Subjects: Software Engineering (cs.SE); Artificial Intelligence (cs.AI); Multiagent Systems (cs.MA)
Cite as: arXiv:2601.14470 [cs.SE]
(or arXiv:2601.14470v1 [cs.SE] for this version)

Submission history

From: Mohamad Salim [view email] [v1] Tue, 20 Jan 2026 20:52:14 UTC (302 KB)

Full-text links:

Access Paper:

  • View a PDF of the paper titled Tokenomics: Quantifying Where Tokens Are Used in Agentic Software Engineering, by Mohamad Salim and 3 other authors

  • View PDF

  • HTML (experimental)

  • TeX Source

license icon view license

Current browse context:

cs.SE

< prev | next >

new | recent | 2026-01

Change to browse by:

cs cs.AI cs.MA

References & Citations

Loading...

BibTeX formatted citation

Data provided by:

Bookmark

BibSonomy Reddit

Bibliographic and Citation Tools

Bibliographic Explorer (What is the Explorer?)

Connected Papers (What is Connected Papers?)

Litmaps (What is Litmaps?)

scite Smart Citations (What are Smart Citations?)

Code, Data and Media Associated with this Article

alphaXiv (What is alphaXiv?)

CatalyzeX Code Finder for Papers (What is CatalyzeX?)

DagsHub (What is DagsHub?)

Gotit.pub (What is GotitPub?)

Hugging Face (What is Huggingface?)

ScienceCast (What is ScienceCast?)

Demos

Replicate (What is Replicate?)

Hugging Face Spaces (What is Spaces?)

TXYZ.AI (What is TXYZ.AI?)

Recommenders and Search Tools

Influence Flower (What are Influence Flowers?)

CORE Recommender (What is CORE?)

  • Author

  • Venue

  • Institution

  • Topic

arXivLabs: experimental projects with community collaborators

arXivLabs is a framework that allows collaborators to develop and share new arXiv features directly on our website.

Both individuals and organizations that work with arXivLabs have embraced and accepted our values of openness, community, excellence, and user data privacy. arXiv is committed to these values and only works with partners that adhere to them.

Have an idea for a project that will add value for arXiv's community? Learn more about arXivLabs.

Which authors of this paper are endorsers? | Disable MathJax (What is MathJax?)

Hacker News · 94 赞 · 30 评 讨论 → 阅读原文 →

这条对你有帮助吗?