AI News HubLIVE
In-site rewrite5 min read

AI Spend Is a Labor Cost Now

Companies are tightening AI spending caps, but comparing AI costs to labor reveals a different picture. This article examines cases like Uber, Tesla, and the Bun rewrite to argue that agentic AI spend behaves more like payroll than software. The high variance in usage and difficulty in pricing make budget swings inevitable until value is clearly linked.

SourceHacker News AIAuthor: konmam

Jul 21, 2026tech7 min read

AI Spend Is a Labor Cost Now

Last month I ended my Fable 5 post saying I was seeing more and more content about companies starting to look at their AI costs. It didn’t slow down after that, so I want to actually go through it this time.

A year ago companies were pushing engineers to use AI harder. Uber ran internal leaderboards ranking engineers by Claude Code usage, and consuming more tokens was treated as a good sign.

This spring the same companies started installing caps. Uber exhausted its 2026 AI coding budget in four months and now limits engineers to $1,500 a month per tool. Tesla went from leaderboards to a $200 weekly cap. Microsoft reportedly pulled most of its internal Claude Code licenses and pointed everyone at its own Copilot instead.

I’ve been reading these stories for weeks trying to decide what they mean. The bills are real and the panic makes sense to me, but I think the caps are comparing the bill against the wrong budget.

Why the Bills Exploded⌗

The easiest way to see where the money goes is to look at one task instead of the whole invoice. When Uber’s CTO demoed agentic coding internally, he spent $1,200 in a single two-hour session, with nothing going wrong. That’s just what happens when an agent plans, reads files, calls tools, reviews its own output, and retries, with every round carrying the full history of the rounds before it.

Part of that cost is fixed before the agent does anything. When someone logged what Claude Code actually sends, every request carried around 33,000 tokens of system prompt and tool definitions before the user’s prompt, where lighter harnesses carry around 7,000.

Multiply that by an engineering org and the macro numbers start to make sense. Per-token prices have fallen more than 90% since 2023, but total LLM spending doubled since late 2025 anyway. Economists call this Jevons paradox, when something gets cheaper you end up using more of it. An agent using 20 times the tokens at 75% off still comes out to five times the bill.

Anthropic’s own docs show the same thing. In April it doubled its cost guidance for Claude Code from $6 per developer per active day to $13, and prices hadn’t changed, the default model just uses more tokens now.

The Seat License Stops Working⌗

The pricing changes over the past year all point in the same direction. Cursor repriced Pro around usage credits in June 2025 and had to refund the surprise bills that followed. Anthropic added weekly rate limits for Claude Code power users a month later. This year GitHub Copilot switched to metered AI credits and Databricks Genie went pay-as-you-go, with only a small free monthly allowance per user before billing starts.

The reason is the variance between developers. Cursor’s own data, via The Pragmatic Engineer, shows the top 1% of developers generating about 45 times the median’s output in lines of code. A seat license averages that out across the org, which mostly worked until agents came along. Now one enthusiastic engineer with a harness full of loops can consume what a whole team used to.

Ethan Ding called this squeeze in July 2025: demand concentrates on the frontier model, agents multiply tokens per task, and flat subscriptions become a losing bet for whoever sells them. A year later that’s pretty much what happened.

The $165,000 Rewrite⌗

This is the context for the story that made me want to write this post. Earlier this month the Bun team, now part of Anthropic, published a writeup of rewriting the Bun JavaScript runtime from Zig to Rust: 535,496 lines of Zig, converted in 11 days by one engineer supervising about 64 Claude agents at a time. The disclosed usage was 5.9 billion uncached input tokens and 690 million output tokens, “around $165,000 at API pricing.”

That’s $165,000 for one pull request, more than ten thousand days of Anthropic’s own $13-per-developer guidance. If that number landed on a CFO’s desk as a software line item, it would trigger exactly the kind of cap Uber and Tesla just installed.

Jarred Sumner, Bun’s creator, estimates that by hand the rewrite would have taken “3 engineers with full context on the codebase about a year.” A Hacker News commenter did the salary math, at Bay Area compensation that’s “at least $1.5M in compensation alone,” and it would have taken a year instead of eleven days. Against that, the same $165,000 is roughly a 90% discount, done about 30 times faster.

And it wasn’t a demo, the port passed 100% of Bun’s test suite on all platforms before merging, and Claude Code itself has been running on the Rust version since mid-June, which Simon Willison verified by finding the Rust source filenames embedded in the shipped binary. Whether that bill is outrageous or a bargain depends entirely on which budget you put it against.

The Part Where the Math Gets Soft⌗

That comparison is doing a lot of work, so it deserves pushback. The first problem is the price tag itself. The $165,000 is “at API pricing,” which Anthropic doesn’t pay for its own tokens. And it’s genuinely unclear whether API prices reflect cost at all. SemiAnalysis estimates Anthropic’s inference margins went from 38% to 70% in a year, so the tokens themselves likely sell above what they cost to serve, it’s the training and everything else that keeps the labs in the red.

People on Hacker News ran the number in both directions. If the labs serve inference at a loss, maybe the honest figure is $300,000 or $500,000. Someone else worked out that the same tokens on consumer subscriptions would cost around $25,600. The dollar figure moves by 20x depending on who’s framing it.

Then there’s what the money bought. Andrew Kelley, Zig’s creator, looked at the result and asked whether a test suite that wasn’t sufficient to catch bugs in the Zig code is somehow “sufficient to catch bugs in 1 million lines of unreviewed slop.” The port contains around 13,000 uses of the unsafe keyword and shipped with 19 known regressions, since fixed. The comparison also counts Sumner’s own eleven days of orchestration and review as free. Verification is where AI savings usually leak. METR’s randomized study in early 2025 found experienced developers 19% slower with AI tools while believing they were 20% faster, though their own follow-up a year later walked that back toward a small speedup with error bars wide enough to cover both directions.

The panic is also mostly a top-of-the-distribution problem. Tomasz Tunguz’s data puts the median software company at $137 per engineer per year of AI spend. Most companies don’t have a runaway token problem. And even at Uber, the complaint wasn’t the bill itself. Asked whether the spend was producing shipped features, the COO’s answer was “that link is not there yet.”

I don’t know what the Bun rewrite actually cost. $165,000 at list price, maybe triple that at true cost, a fraction of it on subscription pricing. That’s the real state of AI budgeting right now, every number in this post depends on prices the labs set during a price war. Even the token itself isn’t a stable unit, Anthropic’s new tokenizer produces roughly 30% more tokens from the same code, so the effective price went up while the list price stayed the same. The caps make sense to me as guardrails against a bill nobody can actually price.

What I do think is stable is the comparison. Tunguz frames inference as the fourth component of engineering compensation. Sequoia argues AI agents compete for labor budgets, not software budgets. They’re both pointing at the same thing, agent spend behaves like payroll, not like a SaaS bill, and the Bun rewrite only looks cheap if you look at it that way. Even if every number in this post triples once the price war ends, $495,000 against $1.5 million in compensation still points the same way.

The companies that were ranking teams by token usage in the winter and capping them by summer haven’t answered the actual question yet, which is what a task is worth. Until someone can actually connect the tokens going in to the value coming out, I expect the budgets to keep swinging from one extreme to the other.

ai business