Microsoft gave 5,000 engineers Claude Code in December 2025. By March 2026, the annual AI budget was gone. Not partially depleted. Not overspent by a healthy margin. Entirely consumed, four months into a twelve-month allocation.

The Experiences and Devices division, the team behind Windows, Microsoft 365, Outlook, and Teams, had rolled out Anthropic's coding agent as an internal experiment. Engineers loved it. They used it constantly. And each one cost between $500 and $2,000 per month in token-based billing, a number that nobody had modeled correctly when the flat-rate subscription assumptions were drawn up.
By June 30, Microsoft cancelled most of those licenses and redirected thousands of engineers to GitHub Copilot CLI. The move wasn't about quality. It was about arithmetic.
The bill nobody anticipated
This isn't a Microsoft problem. It's an industry-wide reckoning with what happens when you give thousands of developers access to a tool billed per token instead of per seat.
Uber's story is even more dramatic. The company deployed Claude Code and Cursor to its engineering organization in December 2025. By March 2026, 84% of Uber's roughly 5,000 engineers were classified as agentic coding users. The company had created an internal leaderboard ranking teams by total AI tool usage, which, predictably, drove consumption through the roof.
Uber's CTO for Mobility and Delivery confirmed to The Information that the company exhausted its entire 2026 AI coding tools budget by April. Four months. The full annual allocation. Uber subsequently implemented a monthly spending cap of $1,500 per employee for each AI coding platform.
The math is straightforward when you look at it. GitHub Copilot Business costs $19 per seat per month. For 1,000 engineers, that's $228,000 per year, a number you can put in a spreadsheet and defend in a budget review. Claude Code on token billing for the same 1,000 engineers at $500 to $2,000 per month each? That's $6 million to $24 million per year. And it's unbounded, which is the part that kills budgets.
What the token math actually looks like
A developer on Reddit's r/ClaudeCode ran the numbers recently. Claude Pro (Opus 4.7) costs roughly $0.74 per million blended tokens. Codex on GPT-5.5 costs $0.08 per million. That's a 10x difference. Kimi 2.6 comes in at $0.047 per million. GLM 5.1 Lite at $0.065.
The gap isn't just about sticker price. It's about what happens in practice. When an engineer runs Claude Code for a full day, the context window fills with file diffs, error logs, compiler output, and retry attempts. Each of those tokens costs money. A single debugging session that bounces between five files can burn through 50,000 output tokens at $15 per million, plus hundreds of thousands of input tokens. Multiply that across thousands of engineers doing it daily and you get the budget explosions Microsoft and Uber experienced.
Anthropic's June 15 billing change made this worse, or more honest, depending on your perspective. Interactive chat remains on flat limits, but the Agent SDK, headless mode, and CI/CD integrations now draw from a metered credit pool billed at standard API rates. The $200 per month Max plan that seemed generous suddenly has a ceiling when your agent is making dozens of API calls per task.
The "context rot" problem compounds costs further. As a coding session stretches longer, the model performance degrades and the token count climbs. Tools that compact context by 50-70% exist, but most engineers don't use them because the default workflow resends everything. You're paying for the model to re-read the same 200-file codebase on every turn.
What smart teams are actually doing
The enterprises that aren't hemorrhaging money have converged on a few patterns. Model routing is the biggest one. Don't use Fable 5 at $50 per million output tokens to fix a typo. Route simple tasks to Haiku 4.5 or DeepSeek V4 Flash, which costs $0.28 per million output tokens. Reserve the expensive models for architectural decisions and complex refactors.
Prompt caching provides a 90% discount on input tokens when you're sending the same system prompt and file context repeatedly. Most teams aren't using it because they don't know it exists, or because their tooling doesn't support it natively.
Batch API for non-interactive work, like code reviews and bulk refactors, is a 50% discount. The catch is that results come back asynchronously, which doesn't work for interactive coding but is fine for overnight jobs.
And then there's the subscription audit. Companies running Cursor plus Copilot plus Claude Pro plus an API key are paying for three layers of overlapping capability. One engineer on Reddit calculated that cancelling two redundant subscriptions saved their team $18,000 per year.
The uncomfortable truth is that the last 15 points of benchmark performance cost 20 to 50 times more per output token than the first 85. Companies paying for frontier models are buying diminishing returns at exponential cost. The engineers who figured this out are routing 70% of their tasks to cheap models and reserving the expensive ones for the 30% that actually need them.
The pricing models are lying
Here's what nobody says out loud: every major AI coding tool is currently underpriced relative to its compute cost, and the companies know it. The Reddit consensus is that current pricing is unsustainable, with some predicting forced price increases or insolvency within 18 months.
OpenAI's engineering-led culture means Codex is heavily optimized for cost efficiency. Anthropic's approach is different, which is why Claude is both the most capable and the most expensive option. Users who've tracked their spending report that Claude gives roughly 1.35 million blended tokens per dollar, while Codex delivers 12.5 million. That's not a rounding error.
Which model is cheapest doesn't matter much. It's whether the enterprise pricing structure, per-seat vs. per-token, can survive the reality of agentic coding. When a single engineer's agent can make 50 API calls per task and each call burns thousands of tokens, the per-seat model that worked for autocomplete breaks down completely.
Microsoft's cancellation wasn't a vote against Claude's quality. It was an acknowledgment that token-based pricing at scale produces bills that no CFO will approve. Uber's budget blowout proved the same thing from the other direction: when you incentivize adoption without capping consumption, the costs don't grow linearly. They explode.
The companies that survive this phase will be the ones that treat AI coding costs like cloud computing costs, with budgets, alerts, routing rules, and the occasional uncomfortable conversation about whether that extra 5% of benchmark performance is worth $2,000 per engineer per month.
Sources
- Morph: AI Coding Costs 2026: comprehensive token pricing breakdown and cost-per-task analysis
- Forbes: Microsoft Ends Claude Code Licenses: the strategic rationale behind Microsoft's pivot
- Fortune: Uber's COO on AI Spending: internal doubt about AI coding ROI
- Developers Digest: Enterprise AI Budget Blowouts: Uber and Microsoft case studies with cost figures
- Reddit r/ClaudeCode: Claude is 10x More Expensive Per Token: community cost analysis with token-per-dollar comparisons
- Reddit r/artificial: Uber Burned Its Entire 2026 AI Budget: community discussion on enterprise cost overruns