AI3 metrics: AI output, cost and code turnover
Understand AI output percentage, AI tool cost per engineer and code turnover, then use the three measures together to evaluate AI-assisted work.
On this page
AI3 combines AI-attributed output, AI tool cost and code turnover. Together, they help a team examine whether higher AI usage accompanies more completed work, what that work costs and how much code is changed again.
For example, deployment frequency can improve while code is rewritten within two weeks or AI spending reaches $5K per engineer per month. Those are illustrative scenarios, not a claim about every team. DORA remains useful for delivery performance; AI3 adds consumption and code-level context.
What is the AI3?

Three metrics to understand the effectiveness of AI in your team:
1. AI Output % – How much of your code output is AI-generated
2. Cost – What you're spending on AI tools per engineer
3. Turnover – The share of changed lines in merged PRs that are changed again or deleted within 90 days
These three measures are a starting point for evaluating AI adoption, spending and rework. Read them alongside delivery speed and review quality.
Here’s how:
1. AI Output %

Measure AI-attributed output using the available tool and Git evidence. Check the method and missing coverage before comparing people or teams.
Code output is a measure of engineering work that combines ML and domain-specific LLMs to understand engineering work. Rather than Lines of Code, or # of PRs, code output asks “How long would it take an expert engineer to make this change?” and uses ML, AI and RL to answer it.
Traditional metrics like lines of code, # of PRs were bad before AI and significantly worse now. That’s why Code output exists, to provide a useful measure.
An illustrative estimate of 30% AI output might turn out to be 12% or 58% after measurement. Check the attribution method and connected-tool coverage before interpreting that difference.
But here's what makes this metric powerful: it's not just the overall percentage. It's where AI is being used.
-
AI writes 65% of your test code but 8% of core logic? That's a pattern.
-
Junior engineers at 3x AI usage compared to seniors? That's another pattern.
-
AI code concentrated in certain repos or teams? That's information.
The goal isn't to maximize this number. The goal is to know it, understand it, and make informed decisions based on it.
2. Cost

Unlike traditional SaaS where costs are predictable, AI tool costs scale with usage in ways that surprise finance teams every quarter.
Teams are spending thousands of dollars each month on AI tools for engineers. Some are aware of it, and some are not.
The real insight comes when you connect cost to output. Spending $4,000/engineer/year with 15% AI output? That's a very different story than $4,000 with 45% output. Neither is automatically good or bad, but you need to know which world you're living in.
3. Turnover

Turnover shows how much recently merged code needs to be changed again.
Code turnover is the percentage of meaningful changed lines in a merged PR that later PRs change again or delete within 90 days of merge. The chart’s 3-month label describes this rework window; new code written elsewhere is not turnover of the original PR.
AI makes it incredibly easy to write code. That's the point. But it also makes it incredibly easy to write code that doesn't stick - code that solves the wrong problem, creates unexpected complexity, or just isn't the right approach.
High turnover isn't automatically bad. Sometimes you need to explore. But if your turnover has doubled since adopting AI and you haven't noticed, you might be mistaking activity for progress. Inspect the rewritten changes to distinguish repeated corrections from planned refactoring.
Compare turnover for AI-attributed work and other work over the same follow-up window:
-
AI-generated tests with low turnover? Great, they're sticking.
-
AI-generated API endpoints with 3x the turnover of human-written ones? Worth investigating.
Why These Three Work
The AI3 focus on three questions about AI-assisted work: how much output is AI-attributed, what it costs and how much code is changed again.
AI Output % tells you if adoption is real
Cost tells you if the economics make sense
Turnover shows how much merged code is reworked; review feedback, bug fixes and reverts add quality context
Together, they form a feedback loop:
-
High AI output + high turnover + high cost? You're paying a lot for code that doesn't stick.
-
High AI output, low turnover and reasonable cost identify a use case to investigate for wider adoption. Check delivery and review quality before expanding it.
-
Low AI output + high cost? Time to revisit your tooling strategy.
The New Benchmark
Weave’s benchmark charts show median and top 10% reference lines from other organizations. AI output percentage, AI tool costs and code LOC turnover have size-based and industry comparisons. The separate AI code turnover benchmark uses all organizations. Select the peer group and check the metric’s coverage before comparing a team with its reference line.
Start Measuring Today
Delivery metrics alone do not show AI-attributed output, tool spending or code rework. For teams with AI contributing 30-50% of output, that share needs its own measurement. Use your team’s observed AI-attributed output rather than assuming the range applies to every organization.
You don't need a complex implementation. Start simple:
-
Measure your AI output percentage this week
-
Add up your actual AI tool costs per engineer
-
Start tracking turnover now. Compare PR cohorts with the same follow-up period, and allow 90 days after merge for the full turnover window.
Save the output, cost and turnover measures for the same team and period. Inspect the code behind a change and use that evidence to choose a training, tooling or review improvement.
See the work behind your AI spend
Compare code output, AI cost and quality, then inspect the work behind the trend.