The India Decade

Case studyAI

How do AI labs manage compute costs during usage spikes?

Foundation model providers and AI startups manage surge costs through strict rate limiting, hybrid subscription tiers, internal token subsidies, and architectural choices that trade inference speed for budget stability.

By The India DecadeReviewed

The short answer

Artificial intelligence labs and model providers manage compute costs during usage spikes by combining technical rate limits with structural financial subsidies. When demand surges, labs enforce strict token caps, throttle long-context queries, and use dynamic multi-model routing to prevent compute budgets from blowing out. Model creators like OpenAI, Google, and Anthropic absorb these heavy usage spikes by pooling margins across millions of light and heavy subscribers, relying on proprietary data centre infrastructure where marginal token costs remain low. In contrast, third-party software vendors paying retail API prices must rely on hybrid pricing models—combining base subscriptions with usage tiers—to prevent negative gross margins from ruining their business models.

$1 trillion+
Hyperscaler capex commitment
Bank for International Settlements forecast for 2025–2026
$20.9 billion
OpenAI net loss
MarketWise reporting for 2025
50% to 60%
Average AI gross margins
Bessemer Venture Partners study
$1 billion
Cursor ARR growth
SaaStr analysis by late 2025
4 months
Uber AI budget depletion
Uber corporate statement in May 2026

What's happening now

Prompted by Can’t Scale A Negative Gross Margin Business: Elon Musk On Grok Bot’s Low Usage Limits

The financial strain of running generative artificial intelligence at scale erupted into full view in mid-2026, as enterprise budgets crumbled under the weight of inference costs. In May 2026, Microsoft cancelled the majority of its internal Claude Code licenses within its Experiences and Devices division, directing engineers to halt usage after token consumption surpassed the financial cost of the software developers the tools were meant to complement. That same month, Uber revealed that it had exhausted its entire annual AI operating budget for 2026 in just four months, highlighting how rapidly agentic AI workflows can consume computing resources.

At the heart of the problem is the stark contrast between traditional software economics and the realities of model inference. For two decades, software-as-a-service (SaaS) businesses operated on gross margins of 75 to 85 per cent because serving an additional user cost virtually nothing. In contrast, analysis from Bessemer Venture Partners shows that AI companies are locked into gross margins of 50 to 60 per cent, largely because every single prompt requires active server infrastructure, power, and memory.

This cost dynamic has forced artificial intelligence labs to enforce aggressive usage limits during spikes. When xAI's Grok model faced strict usage caps, founder Elon Musk acknowledged the underlying unit economics, noting that a company cannot scale a business operating on negative gross margins. Similar pressures led Anthropic to report in July 2025 that an individual user consuming tens of thousands of dollars in underlying model usage on a $200 monthly plan represented a cost disparity that no third-party API buyer could replicate.

To navigate these economics, model creators rely on their own data centre infrastructure, pooling light users to subsidise power users. However, third-party applications building on external application programming interfaces (APIs) face what industry analysts call a 'token tax'—buying inference at marked-up retail prices without the ability to pool infrastructure costs. As hyperscalers prepare to spend over $1 trillion on AI infrastructure between 2025 and 2026, according to the Bank for International Settlements, managing inference overhead during user surges has become the central test of corporate survival.

How AI labs contain inference costs during usage spikes

  1. Enforcing strict rate caps and token quotas

    Labs set rigid limits on the number of requests or tokens a user can consume within a given time window. When usage spikes, these hard caps prevent power users from overwhelming server hardware or driving unmetered compute expenses.

  2. Routing queries via dynamic model tiers

    System architectures evaluate incoming prompts and route simpler requests to smaller, cheaper models while reserving large reasoning engines for complex tasks. This reduces unnecessary compute expenditure during peak traffic hours.

  3. Truncating context windows and caching responses

    During surge periods, platforms limit the volume of past conversation history sent with each API request and cache frequent prompt outputs. Shrinking the context window directly reduces the number of tokens processed per query.

  4. Absorbing costs via subscription pooling

    First-party model makers aggregate revenue across millions of light subscribers to offset the high compute expenditure of heavy users. This infrastructure pooling allows labs to cushion temporary surges that would otherwise break unit economics.

  5. Transitioning to hybrid and outcome-based pricing

    Providers move away from flat-rate subscriptions toward hybrid models that combine a base fee with usage-based tiers or resolution-based pricing. Passing marginal token costs back to enterprise clients protects software vendors from unexpected consumption spikes.

Who it affects

In India, where technology hubs like Bengaluru, Hyderabad, and Gurugram host thousands of software-as-a-service startups, the rising cost of inference directly threatens profit margins. Early-stage Indian engineering teams building on top of Western foundation models face retail API rates without the infrastructure subsidies enjoyed by model creators. For these startups, a sudden viral spike in user activity can lead to unsustainable API bills before monetization tiers are established.

The problem extends globally to enterprise software buyers and developers. As demonstrated by Microsoft's cancellation of internal developer licenses and Uber's rapid budget depletion in early 2026, corporate technology departments are being forced to audit AI tooling strictly. Software vendors attempting to maintain traditional 80 per cent gross margins are discovering that agentic workflows—which execute multi-step reasoning across thousands of tokens—introduce an unavoidable compute penalty.

Ultimately, this unit-economic pressure divides the artificial intelligence ecosystem into two tiers: hyperscalers and first-party model labs that can treat compute as a customer acquisition expense, and third-party application builders that must carefully meter every query to remain solvent.

What's being done, and is it working

  • Institution

    Foundation model creators (OpenAI, Anthropic, Google)

    Absorbing heavy inference surges through first-party subscription pooling and internal data centre optimization.

    Anthropic disclosed in July 2025 that pooled subscription revenue allowed it to support heavy users consuming tens of thousands of dollars in compute, though third-party API customers remain unable to access these subsidies.

    Working

  • Institution

    Enterprise IT departments (e.g. Microsoft, Uber)

    Cancelling unmonitored employee AI licenses and capping department token usage after severe budget overruns.

    Microsoft cancelled internal Claude Code licenses in June 2026 after compute costs exceeded human employee expenses, while Uber exhausted its full 2026 AI budget in four months.

    Mixed results

  • Market

    AI-native application developers (e.g. Cursor)

    Treating high inference expenditure as a replacement for sales and marketing budgets to drive viral user growth.

    Cursor reached $1 billion in annual recurring revenue by late 2025 with around 300 employees and minimal traditional marketing spend, despite absorbing high compute costs per user.

    Working

  • Market

    B2B SaaS software platforms

    Adopting hybrid pricing structures that combine base subscription fees with per-resolution or usage tiers.

    Bessemer Venture Partners reported that hybrid pricing helps capture value and protect margins, but average AI company gross margins remain constrained to 50–60%, well below traditional SaaS levels.

    Mixed results

What you can do

  1. Audit enterprise token consumption regularly to identify high-cost agentic workflows before budget limits are breached.

  2. Implement dynamic model routing to send basic queries to smaller, less expensive models.

  3. Adopt hybrid pricing structures that pass high-volume usage costs directly to end customers.

  4. Cache common prompt outputs and restrict context window sizes to minimize token overhead during traffic surges.

  5. Evaluate internal AI tool deployments against human labor costs to ensure real return on investment.

What we still don't know

  • Will retail API pricing for third-party developers drop fast enough to prevent mass consolidation among AI application startups?
  • Can hyperscalers maintain $1 trillion in capital expenditure if enterprise customers cut back on expensive AI agent subscriptions?
  • Will smaller, open-source models executed on local hardware eventually replace centralized cloud inference for routine tasks?

Questions readers ask

Why are AI inference costs so much higher than traditional software costs?

Unlike traditional software where serving an extra user requires negligible server power, every AI query requires continuous processing on specialized chips, consuming significant electricity and hardware memory.

What is the token tax in AI economics?

The token tax refers to the retail markup third-party companies pay when buying model API access from foundation labs, preventing them from achieving the high gross margins typical of SaaS companies.

How do usage caps help AI labs manage surge costs?

Usage caps limit the number of tokens or requests a single user can generate in a given window, preventing unexpected traffic spikes from ballooning compute costs beyond allocated budgets.

Sources

  1. Inference is the New Sales & Marketing SpendSaaStr · Cursor revenue figures, CAC replacement thesis, Anthropic cost discussion
  2. The AI pricing and monetization playbookBessemer Venture Partners · AI gross margin comparisons, hybrid pricing models, Intercom pricing example
  3. AI Agent Economics: Token Tax Locks Gross Margins 30 Points Below SaaS BaselineTech Times · Microsoft Claude license cancellation, Uber budget exhaustion, token tax concept
  4. 5 Stocks That Could Go to Zero if the AI Bubble BurstsMarketWise · BIS capex projections, OpenAI loss figures, Alphabet cash raise details

Topics

The day’s reporting, once each morning. No advertising.

The news on this