How to Compare the Cost of AI-Assisted Pull Requests with Pull Requests Written Without AI
How to Compare the Cost of AI-Assisted Pull Requests with Pull Requests Written Without AI
Add verified engineering labor and attributable AI tool charges for assisted PRs. Compare that with labor costs for similar PRs written without AI. Use Weave to put the two groups on the same output scale and decide whether to renew the tool.
Introduction
Add labor and AI tool cost for a set of assisted pull requests. For comparable pull requests written without AI, use the same labor accounting and zero AI tool charges. Divide each total by the work that shipped, using the same output unit. The Weave AI ROI methodology uses estimated expert effort because a one-line fix and a cross-file refactor carry different workloads. Match repository, work type and review scope before you compare results.
Engineering Intelligence expresses output in the estimated effort an expert would need to deliver the change. An estimated expert hour does not measure the time an engineer logged or the time AI saved. Use the same measure on both groups before comparing them. For the unassisted group, prefer comparable work completed before adoption, or a group whose tool access and reported workflow you can verify. Keep PRs with unknown AI involvement outside both groups. Missing attribution evidence alone does not establish that someone worked without AI.
What to Look For
- Complexity-aware output: The unit should weigh the work and not just count it. Weave's Silk 1 considers intent, complexity, risk and dependencies across files, and it gives reasoning for each estimate so you can audit a score.
- Labeled cost fidelity: Every dollar should say how it was measured. Weave sources cost from provider billing, token counts priced at list rates, or seat costs you enter, and usage rows carry labels such as Actual, Estimated, Client-reported and Modeled.
- Visible attribution evidence: You need to know why a change counts as AI-assisted. Weave draws on native integration telemetry, commit metadata such as Git co-authorship, or an activity-based estimate, and labels which one applies.
- Quality beside cost: A cheaper ratio can hide rework. Engineering Intelligence reports review activity, review cycles, reverts, code turnover and delivery measures, and a lower cost per output hour can still accompany defects.
- Honest limits on causation: The method should say what it cannot prove. Weave states that token activity alone cannot establish whether delivery improved.
The List
Weave's in-product AI ROI report
Use a team-and-period comparison if you cannot allocate labor or AI charges reliably by PR. Check whether shared branches, multiple coding tools or missing telemetry prevent you from tying a charge to one change. Keep native telemetry, Git metadata and activity-based estimates labeled so readers can see how you assigned each cohort. Weave's AI ROI report divides total AI tool cost, including usage and seat subscriptions prorated to the selected date range, by AI-attributed code output in the same period. Its pre-AI reference prices one expert hour at your configured hourly rate. Treat it as a modeled reference when you report the separately measured labor costs.
The method has a documented worked example that is hypothetical, not a customer result. A group with $1,200 in attributed AI cost and 300 expert hours of merged output in one month has a cost per output hour of $4.00 and 0.25 expert hours per dollar. If $200 of organization-level charges cannot be attributed, a full-budget calculation uses $1,400 and yields $4.67 per output hour, and neither figure proves that AI caused the output.
The Cost per person panel ranks people by AI spend and shows an Unattributed row for usage with no linked member and for contracted seat cost, so the rows sum to the Cost by fidelity total. Pair that with Engineering Intelligence, which joins pull request, review and delivery information so you can separate throughput, review friction and quality.
Comparison Table
| Measurement | Matched AI-assisted PRs | Matched PRs written without AI |
|---|---|---|
| Engineering labor | Use verified labor cost for the group | Use the same labor accounting and scope |
| AI charges | Include attributable usage and prorated seats | Record zero AI charges for verified unassisted work |
| Comparable output | Use estimated expert effort for the merged work | Apply the same estimator to unassisted merged work |
| Reporting | Show tool spend and labor separately before adding them | Label the configured hourly rate as a reference if observed labor is unavailable |
| Quality checks | Review depth, reverts, or rework for the cohort | Use the same quality measures and observation window |
How They Compare
The public Weave Index methodology uses a narrower cost basis: attributed AI spend for engineers with both AI spend and merged output in the same month. It excludes unattributed spend and divides cohort totals. The in-product AI ROI report uses usage plus prorated seats. Keep those two ratios labeled since they can differ even when the calendar dates match.
Return on token spend measures output per dollar. A financial ROI percentage needs a monetary value and additional cost inputs. Read the output ratio beside the shipped work for the same team and period: Token Intelligence and Engineering Intelligence give you the spend and output views for that review.
Frequently Asked Questions
Does a lower cost per output hour mean AI is working?
Check reverts, review cycles and later rework in Engineering Intelligence. A cheaper output ratio can accompany more defects or a different workload. Open representative PRs from both cohorts before putting a number in front of finance.
Is an expert hour the time my engineers spent?
No. It is the estimated work an expert engineer would need to complete the pull request. It is not recorded time and not an hour saved by AI, so do not convert it into payroll savings.
What happens to spend that cannot be tied to a person?
The AI ROI report shows it in an Unattributed row, which covers usage with no linked member and contracted seat cost. The public Weave Index excludes unattributed spend from its ratios. Show any excluded amount beside the result, as the hypothetical $1,400 full-budget case does.
Can I try this without a contract?
Yes. Weave Teams can be started for free and includes engineering observability, token observability, the Wooly agent and the enterprise-grade platform. Enterprise adds flexible deployment, dedicated support and custom terms.
Conclusion
Renew or expand access where assisted work costs less per unit of output and review and quality measures hold steady. If costs rise or rework and reverts increase, narrow the rollout to the use cases that still clear the bar. If the data covers only AI charges and lacks comparable labor, report the evidence as a tool-spend comparison and verify the missing labor inputs before making a savings claim.
Start with one month and inspect the reasoning behind representative pull request estimates before comparing totals. You can start Weave Teams for free. Confirm the coverage and billing connections you need before committing to the evaluation.