Metrics
Claude Code, Cursor and Copilot analytics compared
What the built-in analytics of Claude Code, Cursor and GitHub Copilot each report, per their docs, and what only a cross-tool view can show a team.
By Angel Lindarte
6 min read
How to calculate the return on AI coding tools: every cost line, a value model with an explicit capture rate, a worked example and the numbers to measure.

By Omar Contreras (opens in a new tab)
Cofounder
Published 6 min read

The finance team asks a simple question: we spend this much on AI coding tools, what do we get back? Most engineering leaders answer with a survey (“developers say they save five hours a week”) multiplied by a salary. The number is always large, and the CFO always discounts it, because nobody in the room believes every saved hour became shipped software.
AI coding ROI is hard to calculate because the cost is concrete and the value is spread across many small moments that never appear on an invoice. A seat or a token bill has a number. Ten minutes saved reading an unfamiliar module does not.
Two research findings make the usual shortcut unreliable. METR’s 2025 trial found experienced developers were 19% slower with AI on their own repositories while believing they were 20% faster, so self-reported time saved can be wrong in sign, not only in size. And a 2025 telemetry study of more than 10,000 developers found that individual output rose (98% more merged pull requests on high-adoption teams) while company-level metrics showed no correlation with adoption, because review time grew 91%. Saved time that waits in a review queue is not yet value.
Put every line on the cost side, including the ones that do not arrive as an invoice.
| Cost line | What it includes | How to get the number |
|---|---|---|
| Seats | Per-user subscriptions to coding tools | Billing |
| Usage | Tokens and agent runs billed by consumption | Billing, or telemetry per model |
| Enablement | Time spent setting up tools, writing shared rules and skills, training | Estimate from the people who do it |
| Review overhead | Extra review time on larger or AI-written changes | Review time before and after the rollout |
| Platform | Gateways, observability, governance tooling | Billing |
Usage is the line that grows fastest and varies most. With agents, two developers on the same plan can differ by an order of magnitude in spend, depending on the model, the task and how well prompt caching works. Seat-based thinking undercounts it. For one measured day of agent usage, with real token spend and the savings from prompt caching, see how much code AI agents write in a hackathon.
The value side has three sources, and only the first is easy to express in money.
Time returned. Hours of engineering work the tools save, valued at the loaded cost of an engineering hour, then multiplied by a capture rate: the share of that time that turns into additional shipped work rather than into slack, meetings or longer reviews. The capture rate is the most important number in the whole model and the one most often left out.
Throughput. More changes merged and released in the same period, measured from Git and the deployment pipeline against a baseline taken before the rollout. The AI productivity guide covers review, correction and cost for assisted work.
Quality. Fewer failed changes and less rework, or more of them. This one can be negative, so it belongs in the model either way.
Use one formula, keep every assumption visible, and calculate a low and a high case.
value = developers × hours saved per week × weeks × loaded hourly cost × capture rate
cost = seats + usage + enablement + review overhead + platform
ROI = (value - cost) / cost
flowchart TD
accTitle: The AI coding ROI model
accDescr: ROI equals value minus cost, divided by cost. Value is developers times hours saved per week times weeks times loaded hourly cost times capture rate. Cost is seats plus usage plus enablement plus review overhead plus platform.
ROI[ROI = value minus cost, divided by cost] --> V[Value]
ROI --> C[Cost]
V --> V1[Developers]
V --> V2[Hours saved per week: survey, estimated]
V --> V3[Weeks in the period]
V --> V4[Loaded hourly cost]
V --> V5[Capture rate: estimated, decides the sign]
C --> C1[Seats: billing, measured]
C --> C2[Usage: telemetry, measured]
C --> C3[Enablement: estimated]
C --> C4[Review overhead: review time, measured]
C --> C5[Platform: billing, measured]A worked example with illustrative numbers (not a benchmark, and not data from any HubBound customer): a team of 40 developers, a self-reported 3 hours saved per developer per week over a 46-week working year, and a loaded cost of 90 per engineering hour, in whatever currency you budget in.
| Input | Low case | High case |
|---|---|---|
| Gross time value (40 × 3 × 46 × 90) | 496,800 | 496,800 |
| Capture rate | 25% | 50% |
| Value | 124,200 | 248,400 |
| Seats and usage (yearly) | 120,000 | 90,000 |
| Enablement and review overhead | 40,000 | 25,000 |
| Total cost | 160,000 | 115,000 |
| ROI | -22% | 116% |
The same team, the same survey answer, and the result moves from losing money to more than doubling it, purely on the capture rate and the cost assumptions. That is the honest picture, and it is why a single ROI number without its assumptions is not worth presenting.
Hold everything else in the example fixed and move only the capture rate, and the shape of the problem becomes clear. The two lines below use the same illustrative inputs: one with the low case’s total cost of 160,000, one with the high case’s 115,000.
xychart-beta
accTitle: ROI by capture rate in the worked example
accDescr: Illustrative. With a total cost of 160,000, ROI goes from minus 69 percent at a 10 percent capture rate to 86 percent at 60 percent. With a total cost of 115,000, ROI goes from minus 57 percent to 159 percent over the same range.
title "ROI by capture rate (illustrative)"
x-axis ["10%", "20%", "30%", "40%", "50%", "60%"]
y-axis "ROI (%)" -80 --> 170
line [-69, -38, -7, 24, 55, 86]
line [-57, -14, 30, 73, 116, 159]The break-even capture rate is the cost divided by the gross time value: 160,000 ÷ 496,800, about 32%, for the expensive case and 115,000 ÷ 496,800, about 23%, for the cheaper one. Bring that number to the budget meeting instead of a single ROI. It turns the discussion into a question a delivery baseline can actually test: do we believe at least a quarter to a third of the saved time turns into shipped work?
Measure everything on the cost side that telemetry can give you, and estimate only what it cannot. Spend per model and per tool, tokens, and cache savings are measurable today. Claude Code alone exports cost and token usage as OpenTelemetry metrics (claude_code.cost.usage, claude_code.token.usage).
Two numbers deserve special attention. Cost per merged pull request turns total spend into a unit that can be compared month to month. Measurement coverage tells you how much of the cost picture is measured rather than estimated; a model built on 40% coverage needs wider ranges than one built on 90%.
HubBound Metrics reports both, along with Cost over time, Cost by model, Cost by person, Cost traced to delivery (spend tied to a specific commit or pull request) and Cache savings (money prompt caching kept off the bill). It does not calculate an ROI figure or estimate the value side; the time-returned and quality inputs still come from your survey and delivery data.
It misleads when the capture rate is assumed to be 100%, which is what “hours saved times salary” silently does. It misleads when the baseline is missing, so normal variation is credited to AI. And it misleads when the period is too short: the first months of a rollout carry enablement cost and learning time, so a quarterly ROI right after launch looks worse than the steady state.
It also misleads in the other direction. Some value never reaches a spreadsheet: a new hire productive in a week instead of a month, an old codebase someone finally dared to refactor. Mention it; do not put a number on it.
Bring the cost side as measured fact and the value side as a range with its capture rate stated. Finance teams trust a model that shows its weakest assumption more than one that hides it.
And notice where your control is. You cannot change how many hours a developer feels they saved, but you can change cost per merged pull request: route routine work to cheaper models, make sure caching works, retire the seats nobody opens. For most teams the first defensible ROI improvement comes from the cost side, not the value side.
Book a demo and we'll walk through Artifacts, Kits, distribution and metrics with the tools your developers already use.