The AI Era's Lines of Code? A Case Study on What an Engineer's Token Spend Measures
A · Strong evidence JetBrains links metered agent telemetry to repository output for its own engineers, with Carnegie Mellon and UC Irvine co-authors, a clear panel design and stated limits; a company self-study, but the method is shown and the numbers are checkable.
Summary based on the full text·Original: about 40 minutes to read
In short
An arXiv case study (10 November 2026) by JetBrains with Carnegie Mellon and UC Irvine researchers asking what an engineer's token spend measures. Linking five weeks of metered coding-agent usage to commits for 404 engineers, it finds spend depends mostly on who the engineer is, not on how much they ship. The authors' verdict: token spend is the lines-of-code metric of the AI era and should be used at most for resource accounting.
Key numbers
- 39 to 240 times90th percentile of weekly token spend relative to the 10th, among weeks with similar commit counts
- about 10%more commits associated with doubling an engineer's own weekly spend
- 38%share of the variation in spend between engineers explained by available work metrics (13% within an engineer)
- 89%technical respondents' agent evaluations reporting use for tasks beyond coding
- 3.1 millionagent calls by 406 metered engineers over five weeks
As reported by the source.
English·Web page·opens arxiv.org
What it reports
- Data: 3.1 million agent calls by 406 of 584 engineers on JetBrains' main IDE products, 29 June to 2 August 2026, linked to commits; panel of 404 engineers and 1,827 person-weeks. JetBrains had about 2,600 staff.
- The median call sends about 400 times as many tokens as it receives; most tokens are context re-sent on every turn.
- Among weeks with similar commit counts, the 90th percentile of spend is 39 to 240 times the 10th. Over five weeks, the 90th-percentile engineer used 71 times the tokens of the 10th.
- Within one engineer, doubling spend goes with about 10% more commits. Which engineers spend most stays largely the same week to week.
- Work metrics explain 38% of spend differences between engineers and 13% of week-to-week variation; who the engineer is accounts for 79% of the variation in weekly tokens.
- Survey of 412 staff: in 89% of technical respondents' agent evaluations, the agent was used that week for something other than writing code, such as analysis, research and planning.
- Recommendations: do not evaluate engineers' output by spend, do not expect spending targets to raise output much, do not divide spend by commits or PRs to judge efficiency. Link agent sessions to tasks instead.
How they got it
Person-week panel regressions with engineer fixed effects relating token spend to commits, plus between-engineer models with role, team and prior work mix, and an anonymous company survey on agent use and time saved.
Limits
- One company, five weeks, one gateway; engineers chose how much to use agents, so results are associations.
- Commits miss code quality, review and design work; pull-request data was not available.
- Tokens measure only inference input, not engineers' time, the larger cost.
- Survey and telemetry are not linked person by person.
Why it matters for companies
Token dashboards and spending targets are spreading as adoption metrics. This study shows they rank people by how they use agents, not by what they deliver, and that much agent use goes to non-coding work that commits never show. Budget owners can use spend for cost accounting; engineering leaders who want productivity evidence need records that tie agent sessions to tasks and outcomes. Rewarding high spend will mostly reward high spend.
Summary based on the full text. Read the original for the full argument and data.Read the original on arxiv.org