AI in Production: When AI Becomes Too Expensive to Scale
Introduction:
The economics of AI in early production look deceptively favorable. A proof of concept runs on a modest GPU instance. A beta deployment serves a few hundred users without straining infrastructure budgets. The model works, stakeholders are excited, and the decision to scale feels straightforward — more users, more infrastructure, problem solved.
The cost curve that emerges as AI systems scale is rarely what teams anticipated during the proof of concept phase. Inference costs that seemed negligible at low volumes become significant at millions of requests per day. The infrastructure required to maintain acceptable latency under load is more expensive than the infrastructure required to simply run the model. Data storage, retraining pipelines, monitoring infrastructure, and human review processes all add costs that were not visible when the system was serving hundreds of users rather than millions.
Understanding where AI scaling costs come from and how to manage them is not an optimisation concern — it is an architectural concern that needs to be addressed before scaling begins rather than after cost overruns have already occurred.
Inference Costs Scale Linearly, Revenue Does Not Always Follow:
The most direct scaling cost in AI systems is inference — the computational cost of running the model for each request. For large language models, image generation systems, and other compute-intensive AI workloads, inference costs per request can be significant enough that the economics of the system only work at specific usage patterns.
A system where inference costs scale linearly with usage but revenue scales sub-linearly — because of pricing models, conversion rates, or usage patterns that do not track directly with inference volume — will eventually reach a point where the marginal cost of serving an additional user exceeds the marginal revenue that user generates. This crossover point is not always visible during early scaling when absolute costs are low and growth is exciting.
Teams that model inference costs explicitly — calculating cost per request, cost per user, and cost per unit of business value delivered — identify this crossover point before it becomes a crisis. Teams that treat infrastructure costs as a line item to be managed by finance rather than an engineering concern discover it when the bill arrives.
Model Size and Latency Are Cost Drivers, Not Just Performance Characteristics:
Larger models produce better outputs but cost more to run and respond more slowly. This trade-off is well understood in principle but poorly managed in practice. Teams that select the largest available model during development — because it produces the best outputs in evaluation — often discover in production that the cost and latency characteristics of that model are incompatible with the scale they need to reach.
Running a large language model that requires a dedicated A100 GPU instance for acceptable latency is feasible when serving hundreds of requests per day. It becomes economically unsustainable when serving millions. The model that was the right choice for a proof of concept may be the wrong choice for a scaled production system — and discovering this after building significant product functionality on top of the model creates migration costs that compound the original scaling problem.
Model selection decisions need to account for inference economics at target scale, not just output quality at evaluation time. A smaller model that costs one tenth as much to run and achieves ninety percent of the quality may be the correct production choice even if it is not the best performing model in benchmarks.
Retraining Pipelines Become Expensive at Scale:
Models that need to be retrained regularly to maintain performance — because their training data becomes stale, because the distribution they serve shifts over time, or because new data improves their capabilities — incur training costs that scale with data volume and model size.
A model trained on a small dataset can be retrained in hours on modest hardware. The same model architecture trained on a dataset that has grown by two orders of magnitude over twelve months of production operation may require days of training on expensive GPU clusters. The retraining pipeline that was negligible in cost during early production becomes a significant recurring expense at scale.
Data storage costs compound this problem. Training data must be retained, versioned, and made accessible to training infrastructure. At scale, the storage and data transfer costs associated with training pipelines can rival the inference costs of serving the model in production.
Human Review Does Not Scale With Automation:
Many AI systems include human review as a quality or safety mechanism — routing low-confidence predictions to human reviewers, sampling model outputs for quality assessment, or requiring human approval for high-stakes decisions. At low volumes, human review is manageable. At scale, it becomes a cost centre that grows with usage in ways that automation was supposed to eliminate.
The temptation as review costs grow is to reduce the sampling rate — reviewing a smaller percentage of outputs rather than investing in automation that reduces the need for review. This reduces cost but also reduces the quality signal that review provides. Teams that reduce sampling rates without improving automated quality assessment lose visibility into model quality precisely when scale makes quality problems most damaging.
Designing human review mechanisms with explicit scaling economics in mind — identifying which review tasks can be automated, which require human judgment, and what the cost trajectory of each looks like at target scale — is significantly more effective than discovering scaling limits after review queues have become unmanageable.
Caching and Batching Are Underutilised Cost Controls:
Many AI workloads have characteristics that make caching and batching effective cost reduction strategies — but these strategies are underutilised because they are evaluated as performance optimisations rather than cost controls.
Semantic caching — storing and reusing responses to queries that are semantically similar rather than exactly identical — can dramatically reduce inference costs for systems where users frequently ask similar questions. A customer support system where the same questions appear repeatedly, a search system where common queries recur across users, or a recommendation system where popular items are requested frequently can achieve significant cost reduction through caching without meaningfully degrading output quality.
Batching inference requests — processing multiple inputs together rather than individually — improves GPU utilisation and reduces per-request cost at the expense of increased latency. For use cases where latency tolerance is moderate, batching can reduce inference costs significantly without user-visible impact.
Conclusion:
AI systems become too expensive to scale when their cost architecture is designed for proof of concept volumes and then extrapolated linearly to production scale without accounting for the non-linear cost drivers that emerge at volume — inference economics, retraining pipeline costs, human review scaling, and the operational overhead of managing AI infrastructure at scale.
The teams that scale AI systems sustainably are the ones that model costs explicitly at target scale before committing to architectural decisions, select models based on production economics rather than evaluation performance, and treat cost efficiency as a first-class engineering concern alongside accuracy and latency. Discovering that an AI system is too expensive to scale after it has been built is a problem that is significantly more expensive to fix than it would have been to prevent.
Enjoyed this post?
Stay in the loop
New posts + weekly digest, straight to your inbox.
Create a free account
- Save posts to your vault
- Like posts & build history
- New-post alerts
No comments yet. Be the first to comment!