arXiv:2604.22750v3 cs.CL

AI 에이전트는 어떻게 당신의 돈을 쓰는가? 에이전틱 코딩 작업에서의 토큰 소비 분석 및 예측

How Do AI Agents Spend Your Money? Analyzing and Predicting Token Consumption in Agentic Coding Tasks

Longju Bai, Zhemin Huang, Xingyao Wang, Jiao Sun, Rada Mihalcea, Erik Brynjolfsson, Alex Pentland, Jiaxin Pei

제출 2026-04-24

한국어 초록

복잡한 인간 워크플로에 AI 에이전트(agent)가 널리 도입되면서 대규모 언어 모델(LLM)의 토큰(token) 소비가 급격히 증가하고 있다. 상당한 양의 토큰을 필요로 하는 작업에 에이전트가 배포될 때, 자연스럽게 세 가지 질문이 제기된다: (1) AI 에이전트는 어디에 토큰을 소비하는가? (2) 어떤 모델이 토큰 효율성이 더 높은가? (3) 에이전트가 작업 실행 전에 자신의 토큰 사용량을 예측할 수 있는가? 본 논문에서는 에이전틱 코딩 작업에서의 토큰 소비 패턴에 대한 최초의 체계적 연구를 제시한다. SWE-bench Verified에서 8개의 프론티어 LLM 궤적을 분석하고, 작업 실행 전 모델이 자체 토큰 비용을 예측하는 능력을 평가한다. 연구 결과는 다음과 같다: (1) 에이전틱 작업은 코드 추론 및 코드 대화보다 1000배 더 많은 토큰을 소비하여 독보적으로 비용이 많이 들며, 출력 토큰이 아닌 입력 토큰이 전체 비용을 주도한다; (2) 토큰 사용량은 변동성이 매우 크고 본질적으로 확률적이다. 동일한 작업에 대한 실행 간에도 총 토큰 수에서 최대 30배 차이가 날 수 있으며, 토큰 사용량이 많다고 해서 정확도가 높아지는 것은 아니다. 오히려 정확도는 종종 중간 수준의 비용에서 정점에 달하고 더 높은 비용에서는 포화된다; (3) 모델 간 토큰 효율성 차이가 상당하다. 동일한 작업에서 Kimi-K2와 Claude-Sonnet-4.5는 GPT-5보다 평균 150만 개 이상의 토큰을 더 많이 소비한다; (4) 인간 전문가가 평가한 작업 난이도는 실제 토큰 비용과 약하게만 일치하여, 인간이 인식하는 복잡성과 에이전트가 실제로 투입하는 계산 노력 사이에 근본적인 격차가 있음을 드러낸다; (5) 프론티어 모델들은 자신의 토큰 사용량을 정확하게 예측하지 못하며(약하거나 중간 정도의 상관관계, 최대 0.39), 실제 토큰 비용을 체계적으로 과소평가한다. 본 연구는 AI 에이전트의 경제성에 대한 새로운 통찰을 제공하며 이 방향의 향후 연구에 영감을 줄 수 있다.

원문 초록

The wide adoption of AI agents in complex human workflows is driving rapid growth in LLM token consumption. When agents are deployed on tasks that require a significant amount of tokens, three questions naturally arise: (1) Where do AI agents spend the tokens? (2) Which models are more token-efficient? and (3) Can agents predict their token usage before task execution? In this paper, we present the first systematic study of token consumption patterns in agentic coding tasks. We analyze trajectories from eight frontier LLMs on SWE-bench Verified and evaluate models' ability to predict their own token costs before task execution. We find that: (1) agentic tasks are uniquely expensive, consuming 1000x more tokens than code reasoning and code chat, with input tokens rather than output tokens driving the overall cost; (2) token usage is highly variable and inherently stochastic: runs on the same task can differ by up to 30x in total tokens, and higher token usage does not translate into higher accuracy; instead, accuracy often peaks at intermediate cost and saturates at higher costs; (3) models vary substantially in token efficiency: on the same tasks, Kimi-K2 and Claude-Sonnet-4.5, on average, consume over 1.5 million more tokens than GPT-5; (4) task difficulty rated by human experts only weakly aligns with actual token costs, revealing a fundamental gap between human-perceived complexity and the computational effort agents actually expend; and (5) frontier models fail to accurately predict their own token usage (with weak-to-moderate correlations, up to 0.39) and systematically underestimate real token costs. Our study offers new insights into the economics of AI agents and can inspire future research in this direction.

제출 이력

확인된 버전만 표시합니다. 전체 제출 이력은 arXiv 원문에서 확인하세요.

  1. arXiv:2604.22750v3

함께 살펴볼 논문

공통 태그를 근거로 연결했습니다. 실제 인용 관계나 논문의 우수성을 뜻하지 않습니다.

공통 태그로 연결된 공개 논문이 아직 없습니다.

토론

이 논문과 연결된 포럼 글이 아직 없습니다.