Measuring What AI Actually Changed in Engineering

How to tell whether AI tooling has actually changed engineering output, honestly and at scale, without turning measurement into pressure on people.

Siddhartha Lahiri · · 6 min read

There's a hard problem hiding inside the AI coding boom: how does anyone tell whether the tooling has actually changed engineering output — honestly, at scale, without the measurement turning into pressure on the people doing the work?

Most attempts get this wrong in one of two ways. Either they count the easy thing — tokens — and call it a day. Or they reach for output metrics that quietly become a stick: lines of code, commits, story points per head. Both miss the point, and the second one does real damage.

Tokens are easy to count. Real output — working software that actually shipped — is hard to count. So the instinct is to obsess over the half that's visible and stay blind to the half that matters. And when output does get measured, it too often lands on individuals as "are they pulling their weight?" instead of on the system as "are these tools actually helping?"

There's a better approach: measure AI-era productivity at the team level, in a way that holds up — and that keeps the focus off any individual.


For the First Time, "Is This Actually Helping?" Has a Number

For most of software's history, the cost of writing code was one thing: people. Salaries got paid, and productivity was a feeling — something everyone sensed but nobody measured. There was no meter running on the act of thinking.

AI changed that. Now there's a second cost, and it's metered. Every interaction with the model burns tokens, and unlike salaries, that cost is variable and slippery — the horror stories of an agent looping all night and running up a five-figure bill are real.

That single change rewrites the question. It was never really "is everyone working hard enough?" — that question was always a bit insulting, and now it's beside the point. The real one is "is the tooling actually buying anything?"

For the first time, that question has a numeric answer. And that's a good thing for engineers, not a threat — a real number is what lets a team defend the tools it relies on, justify the spend, and push back on "just ship faster" with evidence instead of vibes.


The Trap: Measuring the Half That's Easy

Tokens are simple to count. Output is not. So the natural instinct is to optimise the token bill and call it productivity work. It isn't. Cutting token spend while ignoring what got shipped is just a different way of flying blind.

The number that matters is the ratio — value out over cost in. Fixate on one side and the plot is already lost.

So how should the value be framed? Strip away the jargon and it's a balance:

Article content

Google Gemini Generated Images

Worth it when the time it saves outweighs the tokens it burns. Simple enough — but two things make that honest, and both point the same way.

First, "time saved" has to include the time spent checking the AI's work.

Article content

Google Gemini Generated Images

A draft that lands in seconds but takes an hour to verify hasn't saved an hour. For routine work, the saving is real. For subtle, high-stakes work, review can eat the whole gain. Headline speed is not net speed.

Second — and this is the part most people miss — tokens are almost never the real question.

Article content

Google Gemini Generated Images

Token costs are tiny next to engineer time. So the balance tips the right way automatically whenever the tooling genuinely saves effort. The hard part was never the cost. It's proving the effort actually dropped.

Which means the thing to measure isn't token spend at all. It's throughput — how much the team ships over time. Team, not person: the whole point is to keep this off individual scorecards.

Article content

Google Gemini Generated Images

"40% more throughput" just means that number went up 40% — measured with team size, time window, and type of work held steady.

One trap worth getting straight, because it's where well-meaning numbers go wrong: more throughput is not the same as cheaper.

Article content

Google Gemini Generated Images

Want a real 40% cost cut? That takes a bigger throughput gain, or a smaller team. Pick the claim being made, and say which one out loud.


The Bill Is Lying

Here's the part that surprises most people.

Most teams run Claude Code on a flat Max subscription — a hundred or two a month per developer. The economics are great: usage that would cost thousands at metered rates, covered by a flat fee.

But that flat fee creates a blind spot, and it's the whole point of this section: the bill is fixed, so it reveals nothing about which work is expensive.

Ten tasks this month or a thousand — the invoice still says $100. As far as billing is concerned, every task costs zero, right up until the cap. Wonderful for budgeting. Useless for judging whether a piece of work was worth it.

So stop looking at the bill.

The thing to measure instead is token volume — how many tokens each piece of work actually consumed. Claude Code reports this directly. Price that volume at standard rates and it becomes a notional cost per task. It's not the billed amount; it's a consistent yardstick that finally shows where the consumption is really going — the per-task cost the flat fee is hiding.

And the other half — what got shipped, and at what quality — doesn't come from the AI tooling at all. It comes from the systems already in place: GitHub for pull requests and cycle time, Jira or Linear for tickets and points. The last move is to connect the two, so a task's cost and the work it produced line up against the same thing.

That's the entire shape of it: measure volume, not the invoice. Pull output from the tools already in place. Join them.


The Traps That Quietly Ruin the Numbers

Before the how-to, the landmines. Every one of these has fooled a smart team:

  • The flat bill hides per-task cost. The big one, above. Work from token volume, never the subscription fee.
  • Counting "tasks" is harder than counting tokens. Tokens are trivial; deciding what counts as one unit of work is the real call. The most honest unit is cost per shipped, successful outcome — because it also charges for the work that gets abandoned or rolled back. That's where the waste hides.
  • Raw output counts are gameable. AI nudges people toward more, smaller pull requests. Counting PRs unweighted "discovers" a productivity gain that's pure accounting. Weight by size or effort.
  • Throughput without a quality check is meaningless. If defects rise, the bug-fixing creates more tickets, which inflates throughput further — so "+40%" can secretly be "+40% rework." Always show a quality number next to it.
  • Bad baselines fool everyone. This quarter vs last quarter mixes the tooling up with seasonality, staff changes, and a different workload. The honest comparison is a similar team not using the tooling, same window.
  • Small samples lie. A few engineers over one sprint will swing all over the place. Report a range across a few sprints, not one heroic number.

The Takeaway

Four rules: measure volume, not invoices. Weight the work. Guard quality. Control the baseline.

Do those, and "40% faster" becomes a claim that holds up. But the rule that matters most is the quiet one: every measure here looks at the team and the system, never the individual. Nobody's commit count is on trial.

A productivity number that creates fear is worse than no number at all — the only kind worth building is the kind anyone would be happy to have applied to them.

First published on LinkedIn. Join the discussion there →