The AI Era's Lines of Code? A Case Study on What an Engineer's Token Spend Measures
Shyam Agarwal, Olga Lvova, Agnia Sergeyuk, Anastasiia Serova, Timofey Bryksin, Thomas Zimmermann, Bogdan Vasilescu
Key points
From the paper's conclusion- We recommend using token spend at most for resource accounting, and evaluating agent-assisted work with evidence about tasks and outcomes.
Abstract
Organizations use engineers' token spend to monitor AI adoption, set budgets, and measure productivity, but the metric's relationship with engineering output is unclear. We link five weeks of token usage in coding agents to the commits of 404 engineers at JetBrains, and analyze a company survey of 412 employees. We find that token spend varied mostly between engineers, and which engineers spent the most stayed largely the same over the five weeks. Among weeks with similar commit counts, the 90th percentile of spend was 39 to 240 times the 10th. Within an engineer, doubling spend was associated with about 10% more commits. Available work metrics explained 38% of the variation in spend between engineers and 13% of the week-to-week variation within an engineer. In the survey, respondents in technical roles reported in nearly nine of ten agent evaluations using agents for tasks beyond coding, such as analysis, research, and planning. Token spend therefore measures how much engineers use agents across many kinds of work and not the outcome and value of that work. We recommend using token spend at most for resource accounting, and evaluating agent-assisted work with evidence about tasks and outcomes.
Read the paper
Discussion
Science Skim's AI key points, plus readers' public thoughts
Readers' thoughts
No reader thoughts yet.
Related papers
- What Should a Software Team Spend on Agents? Simulation-Based Cost Optimization of Mixed AI-Human TeamsarXiv · 2026
- Does Your Agent Need to Know Its Budget? A Placebo-Controlled Experiment on LLM Coding AgentsarXiv · 2026
- Fragmented Markers, Mixed Results: A Systematic Review of AI Coding Assistants and Developer ProductivityarXiv · 2026
- Token-as-a-Utility: A Model-Agnostic Architecture for Metering and Provisioning AI Inference ServicesarXiv · 2026
- The Impact of AI Coding Assistants on Software Engineering: A Longitudinal StudyACM Transactions on Software Engineering and Methodology · 2026
- Agentic Much? Adoption of Coding Agents on GitHubACM Transactions on Software Engineering and Methodology · 2026