AI Service Costs and Retention: Why High Growth and High Losses Coexist
This article explains why foundation model services often show rapid revenue growth alongside persistent losses, and provides a practical framework for evaluating business quality. It covers three key revenue metrics—net revenue retention (NRR), customer concentration, and revenue mix—along with cost-side analysis including compute cost per unit of revenue, capacity sourcing strategies, and the trade-off between committed and on-demand usage. A worked Python example, common analytical pitfalls, and an actionable checklist are included.
1. Why Growth and Losses Appear Together
Foundation model services have a fundamentally different cost structure from traditional software. Duplicating a copy of conventional software has near-zero marginal cost, but every model inference consumes real compute resources. Providers must first invest heavily in training and infrastructure, and then every additional user and every processed request generates genuine compute expense.
As a result, costs scale with usage as revenue scales. Rapid revenue growth does not automatically improve margins—what matters is whether the cost per unit of revenue declines with scale.
To judge the quality of growth, total revenue must be broken down to answer at least four questions: which customers generate the revenue, how fast existing customers are expanding, whether the revenue is sustainable, and whether the cost per unit of revenue is falling.
2. Three Core Revenue Metrics
2.1 Net Revenue Retention (NRR)
Net revenue retention measures how revenue from the same cohort of customers changes between two periods, capturing expansion, downgrades, and churn together. It is calculated as:
NRR = Total revenue from the cohort in the current period ÷ Total revenue from the cohort in the prior period
An NRR above 100% means expansion from existing customers exceeds losses from churn. High NRR usually indicates that customers are migrating a workload into more business scenarios. However, if growth is concentrated in a few large accounts, the aggregate figure can mask churn among long-tail customers. NRR should therefore always be read alongside customer segmentation data.
2.2 Customer Concentration
Customer concentration is typically expressed as the share of total revenue generated by the top N customers (Top-N share). When this share is too high, a single customer’s purchasing decision can materially swing results, raising operational risk. Analysis should also consider the industry distribution of customers and the remaining terms of major contracts.
2.3 Revenue Mix: Subscriptions, Committed Usage, and Pay-as-You-Go
The same total revenue can imply very different levels of stability depending on its structure. Common revenue forms include:
- Subscription revenue: Billed on a recurring cycle; highly predictable, but expansion depends on seat or feature upgrades.
- Committed usage revenue: Customers commit to a baseline volume upfront, with overage billed separately; balances stability and flexibility.
- Pay-as-you-go revenue: Directly tied to actual API calls; grows fast but is volatile and exposed to customers’ own business cycles.
These three categories should be reported separately rather than blended into a single figure when assessing business trends.
3. The Cost Side: Compute Is the Key Variable
3.1 Unit Economics
Unit economics maps costs and revenue onto the smallest measurable unit. A commonly used metric is:
Compute cost per unit of revenue = Compute spend ÷ Corresponding revenue for the same period
This metric should be computed separately by product line, model tier, and customer type. If a product line’s compute cost per unit of revenue persistently exceeds the revenue itself, that line is operating at negative gross margin. Scaling alone cannot fix this; the solution must come from model selection, inference optimization, or pricing structure.
3.2 Supply Constraints and Multi-Source Provisioning
When demand growth outpaces available compute capacity, services experience queuing, rate limiting, or degradation. Common industry responses include:
- Multi-source procurement to reduce dependence on a single supplier;
- Reserved capacity to lock in resources for critical periods, at the cost of upfront spending commitments;
- Scheduling optimization, prioritizing and queuing requests by priority and latency requirements;
- Caching and batching to eliminate redundant computation.
Each approach reshapes the cost structure. Reserved capacity lowers unit prices but adds fixed costs, which amplify losses when demand declines.
3.3 Committed vs. On-Demand Usage
Long-term procurement contracts usually offer lower unit prices but create cash flow pressure and lock-in risk. On-demand procurement is flexible, but pricing and availability become unstable during supply crunches. A sound approach is to set the baseline commitment using historical usage quantiles, cover the remainder with on-demand purchases, and periodically backtest this ratio against actual data.
4. Worked Example of Metric Calculation
The following example uses fictional data solely to illustrate the calculation methods.
# Sample data is fictional, for illustration only; unit: 10,000 CNY# Prior-period revenue by customercohort_start = {"A": 100, "B": 80, "C": 50}# Current-period revenue from the same cohort (customer C partially churned)cohort_end = {"A": 260, "B": 90, "C": 40}def net_revenue_retention(start: dict, end: dict) -> float:"""Compute NRR: current-period cohort revenue / prior-period revenue."""base = sum(start.values())if base == 0:raise ValueError("Prior-period revenue is 0; cannot compute retention")retained = sum(end.get(customer, 0) for customer in start)return retained / basedef top_n_share(revenue: dict, n: int = 5) -> float:"""Compute the revenue share of the top N customers."""values = sorted(revenue.values(), reverse=True)total = sum(values)if total == 0:raise ValueError("Total revenue is 0; cannot compute share")return sum(values[:n]) / totaldef cost_per_revenue(compute_cost: float, revenue: float) -> float:"""Compute compute cost per unit of revenue."""if revenue <= 0:raise ValueError("Revenue must be greater than 0")return compute_cost / revenueif __name__ == "__main__":nrr = net_revenue_retention(cohort_start, cohort_end)print(f"Net revenue retention: {nrr:.1%}")current_revenue = {"A": 260, "B": 90, "C": 40, "D": 30, "E": 20, "F": 10}print(f"Top-5 share: {top_n_share(current_revenue, 5):.1%}")print(f"Compute cost per unit of revenue: {cost_per_revenue(compute_cost=180, revenue=440):.2f}")
The output shows an NRR of roughly 169.6%, indicating that revenue from this cohort is growing overall. However, customer A alone contributes most of the expansion, so the Top-N share must be examined to determine whether growth is overly dependent on a single account.
5. Common Misjudgments
- Treating one-time large contracts as recurring revenue. One-off contracts inflate current-period revenue but do not represent stable recurring cash flow. One-time items should be excluded and recurring revenue tracked separately.
- Watching revenue growth while ignoring gross margin. Fast revenue growth with steadily declining gross margin means expansion is consuming profit.
- Equating accounting losses with business failure. Infrastructure and R&D spending is cyclical, and losses may reflect advance investment in future capacity. Investment-driven losses must be distinguished from structural losses.
- Overlooking reselling and double counting. Revenue resold through third-party channels may be counted at multiple stages. Definitions should be unified and the revenue recognition point made explicit.
6. Implementation Checklist
- Compute net revenue retention monthly and present it by customer segment.
- Split revenue into subscription, committed usage, and pay-as-you-go categories, and track each separately.
- Calculate the Top-5 customer share and trigger a risk review when it exceeds a defined threshold.
- Compute compute cost per unit of revenue and gross margin by product line.
- Build a capacity forecasting model and backtest the ratio of reserved to on-demand procurement quarterly.
- Set clear definitions for one-time and resold revenue to avoid double counting.
Only by placing revenue metrics and cost metrics on the same dashboard can you determine whether growth is genuinely improving business quality.
