How to measure AI developer productivity (2026)

Measure AI coding productivity with net effort per accepted change, review time, AI cost and production signals. Studies reconciled, example worked.

Published Updated 11 min read

A person and a robotic arm working on a bridge between two platforms.

Tags

  • AI developer productivity
  • AI
  • Engineering productivity
Leer en español
In this article

Your team rolled out Claude Code and Cursor three months ago. Pull requests are up, the licenses are in use and someone asks the obvious question: is it paying off? You search for an answer and find one experiment saying experienced developers took 4% to 18% less time, another saying 55.8% faster, a third saying about 21% less time and a GitHub-wide study where commits rose 240% while releases rose 30%. All of them are real, and none describes your team.

The disagreement has causes you can read off the study designs, and they tell you what to measure instead. This guide reconciles the main studies, lays out a metric model by layer and works one example end to end: human effort, review, rework, and AI cost across two tools.

How do you measure AI productivity in engineering?

AI productivity is measured as human effort and AI cost per accepted change, not as usage or code volume. The unit is the accepted change: a pull request, ticket or migration that met the criteria the team agreed on before starting. Counting accepted changes keeps abandoned sessions in the picture, because what they cost has to be paid by the changes that did get accepted. It also keeps the reviewer in the picture. A fix that takes ten minutes to write and forty to review is not a ten-minute fix.

What does the research say, and why do the studies disagree?

The studies disagree because they measure different tasks, with different people, against different baselines. Side by side, they stop contradicting each other.

Study Sample and task Result Why it differs
METR, Feb 2026 57 developers (10 returning, 47 new), 143 repositories, 800+ tasks Returning developers: 18% less time (confidence interval from 38% less to 9% more). New: 4% less (15% less to 9% more) METR calls it very weak evidence: 30% to 50% of developers withheld tasks they did not want to do without AI, concurrent agents distort time, pay fell from US$150 to US$50 an hour
METR, May 2026 Survey of 349 technical workers (87 software engineers), February to April 2026 Median self-reported speed change 3x; median self-reported value change 1.4x to 2x Convenience sample with about 2% response among emailed invitees; METR says survey results are “not necessarily grounded in reality”
Google, 2024 96 full-time Google engineers, one complex enterprise-grade task About 21% less time One task, internal tooling, and the authors say the confidence interval is large
GitHub Copilot, 2023 95 freelance developers recruited on Upwork (45 with Copilot, 50 without); one greenfield task: build an HTTP server in JavaScript 55.8% faster A small, self-contained, well-specified task; authors include GitHub staff
NBER, 2026 500,000+ GitHub developers with AI usage telemetry Autonomous coding agents: commits +240%, projects +80%, releases +30% Observational working paper; commits measure activity, not value
DORA, 2025 Survey of nearly 5,000 professionals AI positive for throughput, negative for delivery stability. 90% use AI; more than 80% believe it raised their productivity Self-reported, correlational
Stack Overflow, 2025 Developer survey 32.7% trust AI accuracy, 45.7% distrust it. 66% cite “almost right, but not quite” as the top frustration; 45.2% say debugging AI code takes longer Self-selected respondents

Three variables explain most of the spread. The task: a greenfield server and a bug in a mature repository are different jobs. The baseline: Google and Copilot compared against engineers working without AI on a fresh task, while METR studied experienced developers in repositories they already knew. And the scope: time on a task, commits and shipped releases are three different measurements, and NBER found that a 240% rise in commits became a 30% rise in releases.

METR’s 2026 numbers also show the perception gap, although they come from two different samples. In its May survey, technical workers reported a median 3x speedup but only 1.4x to 2x more value, and METR warns that survey results are not necessarily grounded in reality. Its own February experiment measured 4% to 18% less time, with intervals that include zero. That is the best argument for putting system data next to surveys. Survey answers tell you how the work feels, and records tell you what happened to it.

Which metrics should you track, and in what order?

Track six layers in order, because each one explains the next. If adoption is low, a cost or delivery number says little. If delivery improves while stability falls, that is the pattern to investigate first.

Layer Question Example metrics Typical source
1. Adoption Who uses AI each week, and which seats sit unused? Weekly adoption, unused seats AI tool telemetry
2. Depth and fluency How deeply and how well? Depth of use; delegation, description, discernment and diligence Session data, surveys
3. Cost What does the AI behind a change cost? AI cost per ticket and per PR, cost per accepted change Tool billing and usage
4. Flow and delivery Do sessions reach merged code, and how fast? AI sessions reaching merged code, change lead time, review time, flow efficiency GitHub, Jira, Linear
5. Quality and stability What happens after merge? Change fail rate, rework rate, incidents Deployments, Datadog
6. Experience How does the work feel? Reported hours saved, trust, friction Team surveys

The model borrows from two public frameworks. DORA’s ROI of AI-assisted software development links AI adoption to capabilities, then to the DORA metrics, then to productivity and experience, and only then to cost and revenue. DORA also says that company-wide aggregates are meaningless and individual scores are harmful. The SPACE paper makes the broader point that developer productivity “cannot be measured by a single metric or dimension”. Layer 5 is where the DORA guide applies, and the 2025 DORA findings show why it matters: AI adoption tracked with higher throughput and lower stability.

How do you calculate net effort per accepted change?

Net effort per accepted change is the human minutes spent preparing, reviewing and correcting a change, divided by the number of changes that met the acceptance criteria. Compare it with the same figure for comparable changes made without AI, and keep queue time out of it, so that waiting does not pass for effort.

Here is an illustrative example, with invented numbers chosen to show the arithmetic. A baseline batch of 30 comparable changes was done without AI. A second batch of 30 was done with AI: 18 with Claude Code and 12 with Cursor. Minutes include everyone who touched the change.

Minutes Baseline (30) Claude Code (18) Cursor (12) AI batch (30)
Preparation 630 216 168 384
Review and verification 180 162 96 258
Correction 90 90 48 138
Total 900 468 312 780
Per accepted change 30.0 26.0 26.0 26.0

Preparation fell by 246 minutes. Review rose by 78 and correction by 48. The net reduction is 246 minus 126, which is 120 minutes, or 120 ÷ 900 = 13.3%. Reporting only the first row would claim a 39% cut in preparation time.

xychart-beta
  accTitle: Minutes per accepted change, baseline versus AI batch
  accDescr: Illustrative. Preparation 21 minutes in the baseline, 12.8 with AI. Review and verification 6 in the baseline, 8.6 with AI. Correction 3 in the baseline, 4.6 with AI.
  title "Minutes per accepted change (illustrative)"
  x-axis ["Preparation", "Review and verification", "Correction"]
  y-axis "Minutes" 0 --> 24
  bar [21, 6, 3]
  line [12.8, 8.6, 4.6]
Illustrative example from the table: minutes per accepted change by stage. Bars are the baseline batch, the line is the AI batch. Preparation falls, review and correction rise.

The chart is the whole argument of this section in one picture: the saving sits in the first column, and part of it is paid back in the next two.

Both tools land on 26 minutes per change, but the shapes differ. The agentic Claude Code sessions spend 12 minutes on preparation and 9 on review; the editor-based Cursor work spends 14 and 8. These batches also contain different kinds of changes, so the table is not a ranking of tools. Comparing tools needs matched task types.

How do you calculate AI cost per accepted change?

AI cost per accepted change is the total AI spend attributed to a group of changes, including sessions that were abandoned, divided by the number of accepted changes in that group. Put every tool on this same denominator, because seats, tokens and credits are billed in different units.

Tool Attributed AI spend Accepted changes Cost per accepted change
Claude Code (metered tokens) US$90, of which US$18 went to 6 abandoned sessions 18 US$5.00
Cursor (seat share plus usage) US$48 12 US$4.00
Total US$138 30 US$4.60

Now price the minutes at an illustrative US$60 an hour, so US$1 a minute. The baseline batch costs US$900. The AI batch costs 780 in labor plus 138 in AI spend, US$918: a 2.0% increase, or US$30.60 against US$30.00 per change. Each change saved 4 minutes, worth US$4.00, and the AI behind it cost US$4.60.

So on cost alone, this workflow loses by a small margin. The case for it has to rest on something else: capacity released for other work, a shorter lead time, fewer defects or a better experience. Say which one, and measure it. Also note that salary-priced minutes are not cash savings unless the freed time goes somewhere.

What mistakes make AI productivity numbers misleading?

Five mistakes recur in AI productivity numbers.

  • Reported hours times salary. Self-reports describe an experience. In METR’s 2026 survey, the median self-reported speedup was 3x while the median value gain was 1.4x to 2x. Use reported hours to decide where to look.
  • Ranking individuals. Heavy users may take harder tasks, run several agents at once and review more. DORA suggests breaking usage down by team, application or use case, not by person. Tell people the data is not used for individual evaluation.
  • Missing data as zero. A tool without telemetry shows up as zero usage, and the person who prefers it looks like a non-adopter. Flag the gap as a coverage gap.
  • Task substitution. AI also makes people attempt work they would have skipped. METR’s May 2026 analysis shows that, under simplifying assumptions, uplift measured on old tasks is a lower bound and uplift on new tasks an upper bound on uplift in value. Their illustration uses +33% and +50%.
  • Timing concurrent agents. METR found time measurements unreliable for developers running several agents at once. Count accepted changes and sampled human effort, not session duration.

PR counts deserve the same suspicion. In a study of 806 open-source projects that adopted Cursor, presented at MSR 2026, lines added rose 281% in the first month while commits rose 55%, so each commit carried far more code. DORA notes that this volume expands the review burden. “More PRs” and “more output” are different claims.

How do you run a first 30-day evaluation?

A 30-day evaluation follows one workflow, one acceptance definition and one set of sources, and ends with a decision: expand, change the workflow or keep observing. It is a first read. DORA expects a productivity dip when teams adopt AI and says its depth and duration remain unpredictable.

Days Do Output
1 to 5 Pick one workflow, write the acceptance criteria, tag AI and non-AI changes, pull a baseline from the previous 60 days A baseline and a definition
6 to 10 Connect usage and cost per tool, Git and ticket data, deployments. Flag tools without telemetry as coverage gaps A source list with gaps labeled
11 to 25 Record preparation, review and correction minutes on a sample of changes. Run a 15-minute weekly review of outliers. Ask three survey questions on day 15 The worksheet, filled
26 to 30 Check the follow-up window for reopened or failed changes. Compute net effort, cost, lead time and stability A decision and its evidence
flowchart TD
  accTitle: The 30-day AI productivity evaluation
  accDescr: Days 1 to 5 set the baseline and acceptance definition. Days 6 to 10 connect sources and label coverage gaps. Days 11 to 25 record effort on a sample and run weekly outlier reviews. Days 26 to 30 check follow-up failures and compute the results. The evaluation ends in expand, change the workflow, or keep observing.
  A[Days 1 to 5: baseline and acceptance definition] --> B[Days 6 to 10: sources connected, gaps labeled]
  B --> C[Days 11 to 25: sampled effort, weekly outlier review, survey on day 15]
  C --> D[Days 26 to 30: follow-up window, net effort, cost, lead time, stability]
  D --> E{Decision}
  E --> F[Expand to more teams]
  E --> G[Change the workflow and rerun]
  E --> H[Keep observing another period]
The 30-day evaluation as a sequence of stages that ends in one of three decisions.

Aim for at least 20 comparable changes per group. That is a planning number, not a statistical threshold. With fewer, report the records and skip the percentage.

Frequently asked questions about measuring AI productivity

Does AI make developers slower?

In METR’s February 2026 experiment, returning developers took 18% less time and new ones 4% less, with intervals that include zero, and METR calls its data very weak evidence. Its May 2026 survey found technical workers self-reporting a median 3x speedup but 1.4x to 2x more value. The effect depends on the task, the person and the tool, and you have to measure it locally.

Is acceptance rate a good metric?

It belongs to the adoption layer. Acceptance shows how often a suggestion was kept, not whether the change survived review or production, and it cannot see what the reviewer paid.

How long before AI impact shows?

DORA expects an initial productivity dip and says its depth and duration remain unpredictable, so there is no fixed wait. Use 30 days to find out whether you can measure the workflow at all.

Can you measure individual developers?

You can, but you should not use it to evaluate them. Differences in task difficulty, review load and agent use swamp the signal, and DORA advises looking by team instead.

How do you measure agents running in parallel?

Count accepted changes, the cost of every session behind them and sampled human minutes for preparation and review. Elapsed session time overstates effort when several agents run at once.

How do you calculate AI ROI without inflating it?

Use net effort including review and correction, add all AI spend including abandoned sessions, and compare against comparable work without AI. Then require a named benefit: capacity, lead time or quality.

What should you do next?

Pick one change type your team repeats, such as bug fixes or dependency upgrades. Record preparation, review and correction minutes for twenty of them, and the AI cost behind each. Then check what happened to those changes in production with the DORA metrics guide, because the stability layer is where the 2025 research found the cost.

How HubBound Analytics solves it

How does HubBound Analytics measure AI productivity?

The example in this guide took a spreadsheet, two tools and weeks of logging. HubBound Analytics runs the same math every day: it joins AI sessions from Claude Code, Codex, Cursor, GitHub Copilot and Antigravity with your tickets, PRs and deployments, so "is it worth it?" gets an answer per ticket. Prep minutes still come from a sample, as the guide recommends; the rest arrives on its own.

What this guide asks of youAI cost per accepted change
What HubBound doesAI cost per ticket and per PR, and how much spend is attributed to delivery and how much never reached any.
What this guide asks of youCount abandoned sessions
What HubBound doesEach session shows how it ended (completed, partial, blocked or cancelled), what it cost and which ticket it was linked to.
What this guide asks of youMeasure review and rework
What HubBound doesTime to first review, review health, and rework and churn in the code AI wrote.
What this guide asks of youFollow the change to production
What HubBound doesCommit-to-production time and change failure rate, with Datadog to confirm the change held up.
What this guide asks of youKeep reported apart from measured
What HubBound doesProductivity estimates the hours AI gives back and how credible that figure is. Pulse Survey asks separately how many hours the team says it saves and how many go to reviewing.

US$38.40

median AI cost per ticket in the demo. The average rises to US$55.36 because a few tickets concentrate the spend.Demo data from a fictional team.

You see teams by default. Per-person views are only visible to organization admins and each team's leads.

Where do these facts come from?

Build the plan to measure AI on your team.

Six short questions and we show you what to measure first: cost per ticket, review or delivery.