A Primer on AI Lab & AI Hyperscaler Unit Economics

We expect some confusion as AI labs start reporting GAAP financials, as business mix and revenue recognition can vary.

We expect some confusion as AI labs start reporting GAAP financials, as business mix and revenue recognition can vary. Similar to how UBER and LYFT are in the same core business yet gross bookings and net revenue have different definitions, comparing AI labs may prove difficult.

The Key Take-Away: The unit economics of AI labs are similar across like-for-like product lines, but business mix, revenue recognition, and partnerships can lead to fairly significant differences in how financials are presented. This report attempts to break down these nuances and how revenue and costs ultimately flow through the P&L at the AI lab. We also look at how the unit economics of AI labs flow into the unit economics of the supporting hyperscalers.

Business Mix Differences Explain a Lot

AI labs have revenue lines across a number of different products and services. API was the original AI lab business model, but in recent years applications and subscription products have entered the mix. Shown below in Figure 1, hypothetical frontier lab "A" has upwards of 70% of revenue coming from API and 30% from subscription. Hypothetical frontier lab "B" has the inverse, closer to 80% of revenue from subscription. As we will illustrate further down in this report, API tends to have higher inference margin than subscription, which in addition to training costs being completely different, explains most of the difference in gross margins (after training) at the aggregate AI lab level. It's possible that some of the training costs may be recorded in R&D for various AI labs, so for the purposes of this report, we are showing ~10% of training costs in COGS, which represents the final training run for an AI model. It's unclear at this point how training costs are likely to be allocated across P&L lines by AI labs.

As we will discuss below, other major factors explaining revenue and margin differences are: 1) partnership dynamics (with hyperscalers), and 2) the indirect API gross revenue recognition – discussed in more detail below.

AI lab unit economics have improved greatly in '26 (vs. '25) driven by agentic workflows and enterprise becoming the "must buy" products in the market today. API and enterprise accounts likely carry higher inference margins; hence, as mix shifts in that direction, and as AI models are more token efficient per task, inference margins have surged higher. Based on our estimates shown in Figure 2, we think frontier labs "A" and "B" may have increased paid inference margins to upwards of 50%-65%+ in '26 (up from mid-teens % in '25), and possibly much higher on select products and services. After factoring in final training costs (10% of overall training costs), labs have seen the adjusted gross margin increase ~30-50 points vs. '25. AI lab "B" has strategic partner revenue sharing which impacts profitability until certain thresholds are achieved, likely eliminated to zero sometime after '28.

Based on the mix noted above and some of the revenue sharing agreements, training costs, and inference costs, we conclude that around $35-$40 of every $100 in AI Lab revenue flows to hyperscaler revenue in '26, on which the hyperscalers generate nearly $10-$20 in OI (at high ~35%-45% operating margin). Partner revenue share results in higher hyperscaler OI margin, but the actual profit on a per token basis is likely the same excluding these fees. We think there is a decent possibility that AI lab margins and hyperscalers' OI margins are higher than what we illustrate here currently in '26, but we would assume these margins come down a bit over time as competition increases at the frontier and as compute scarcity eases.

AI Products Have a Wide Range of Unit Economics, and Are Often Recorded Differently

Noted above, the product mix at frontier labs can be dramatically different. Figures 4-6 below illustrate that even within the same products (like for like) there can be nuances that drive different unit economics including partnerships (revenue shares) and how actual revenues are recorded (gross vs. net). Like UBER/LYFT, despite being the same core business, the revenue and margin can be completely different.

Subscription products (like Claude Code or Codex) generally have lower inference margins than API as some users benefit from AI labs' willingness to subsidize token cost to remain competitive and retain users. Subscription products are both monthly-fee based and usage based, often with caps which can be reset from time to time (we have seen an increase in cap resets of late, likely in response to churn reduction efforts and model efficiency gains). Subscription products tend to default to a specific model, but the user can toggle between models and latency modes for various jobs, which can burn through token credits faster or slower depending on model size. Enterprise subscriptions are often dollar-based by license (often at higher limits than Plus and Pro plans), with daily caps that can be allocated across the licenses. We estimate inference margins on subscriptions are in the 70% range. Noted above, we would guess that the '26 inference margin may be higher than this level, but over time the industry may drift back down towards this level to the degree that competitive alternatives show up and if/when compute moves into surplus (vs. today's shortages).

Hyperscalers generate solid unit economics on agentic subscription products as the compute being provisioned for these stateful runtime products often involves some "up the stack" software products like databases, etc., and in some cases have revenue sharing between the AI lab and the hyperscalers.

Direct API is the original business model for most frontier labs (before even products like ChatGPT were introduced) and carries very attractive unit economics for both the AI lab and the hyperscaler. Direct API is where a developer like Cursor or Figma embeds features inside their products that call on the AI lab's API to generate tokens. The business model for the AI lab is usage based on token consumption (i.e., pay-as-you-go). Inference margins for API have been trending up as the models have improved token efficiency (i.e., the volume of tokens to complete a task) while headline API token prices have increased. Inference providers have similarly improved the efficiency of serving models at the infrastructure layer (via quantization, speculators, and next-gen compute), supporting higher hyperscaler margins. Lastly, revenue sharing between the AI lab and the hyperscaler further boosts the latter's margins (at the expense of the former).

We have heard that AI lab inference margins on API are running well north of the levels noted in Fig 5 in 2Q26, but we would guess this may normalize lower at some point (but it's not entirely clear when).

The Indirect API business model is more or less the same as Direct in terms of what the end user sees, but billing and the go-to-market relationship is between the user and the hyperscaler (without direct engagement with the AI lab). AI lab "A" records indirect API revenue on a gross basis, and it is becoming a larger part of the story. AI lab "B" doesn't have significant revenue here and records revenue on a net basis, and may exclude revenue recognition entirely when its strategic partner runs indirect API.

So similar to UBER and LYFT, as indirect grows as a percent of the overall AI lab story, it likely creates distortion between reported revenues, and hence can distort the narrative around relative AI lab progress.

Putting It All Together

Right now, just about every dollar of AI lab ARR is finding its way to the hyperscaler revenue line, because of the high mix of training relative to inference in '26. Over time, inference profits should eventually surpass training costs, and drive higher profit margins for the AI labs. Hyperscalers likely start to lose market share of AI lab training and inference starting in '28 when backstopped AI infrastructure projects come online and become the first option for AI labs. We generally see Amazon Web Services (AWS), Azure (MSFT, covered by Raimo Lenschow), and Google Cloud Platform (GCP) controlling a similar mix of AI lab compute spend in the next two years, before this shift to backstopped infrastructure kicks in.

Barclays Equity Research

Report date 28 August 2026. Source material supplied as a 18-page PDF.

返回研报归档