The cloud-vs-self-hosted debate has been running for years, but most arguments rely on projections and estimates. We now have enough real-world data, from enterprise deployments, published case studies and infrastructure cost benchmarks, to draw actual conclusions.
The short version: self-hosted AI becomes roughly 2x cheaper than cloud APIs at around 1 trillion tokens annually. Year 1 favors cloud for most organizations. By Year 3, self-hosted delivers 60-70% cost savings at scale. But the crossover point depends on variables that many analyses gloss over.
This article walks through the three-year cost trajectory with real numbers, shows where the cumulative cost curves cross, and identifies which organizations should stay on cloud indefinitely.
Year 1: Cloud Wins for Most Organizations
The Year 1 economics are simple. Cloud AI has near-zero upfront cost. Self-hosted AI requires $500K+ in GPU hardware alone for a meaningful enterprise deployment.
Cloud AI: Year 1 Costs
For a company processing 100M tokens per day (a mid-to-large enterprise running multiple AI applications, such as customer support, document processing, internal search and a few specialized tools):
| Cost Component | Monthly Cost | Annual Cost |
|---|---|---|
| Input tokens (60M/day × 30 × $1.50/1M) | $2,700 | $32,400 |
| Output tokens (40M/day × 30 × $5/1M) | $6,000 | $72,000 |
| Embedding API calls | $800 | $9,600 |
| Fine-tuning API costs (quarterly retraining) | $400 | $4,800 |
| Premium support tier | $500 | $6,000 |
| Total Year 1 cloud | $10,400 | $124,800 |
Note: These rates assume mid-tier pricing (not GPT-4-class, not the cheapest open models). Actual costs vary 3-10x depending on model choice.
Self-Hosted AI: Year 1 Costs
Same workload, hosted on-premise:
| Cost Component | Year 1 Cost |
|---|---|
| GPU hardware (4× A100 80GB) | $60,000-80,000 |
| Server, CPU, RAM, NVMe storage | $15,000-25,000 |
| Networking (10GbE switches, cabling) | $5,000-8,000 |
| Rack, UPS, PDU | $4,000-7,000 |
| Installation and commissioning | $5,000-10,000 |
| CapEx subtotal | $89,000-130,000 |
| Power (4× A100 @ 300W + overhead, $0.12/kWh) | $2,500-3,200 |
| Cooling (PUE 1.3-1.5) | $800-1,600 |
| Colocation space (if applicable) | $3,600-7,200 |
| Infrastructure engineer (25% FTE allocation) | $45,000-60,000 |
| Software licenses (monitoring, orchestration, vLLM) | $3,600-6,000 |
| Maintenance reserve (2% of CapEx) | $1,800-2,600 |
| OpEx subtotal | $57,300-80,600 |
| Total Year 1 self-hosted | $146,300-210,600 |
Year 1 comparison:
| Model | Year 1 Total |
|---|---|
| Cloud API | $124,800 |
| Self-hosted (low estimate) | $146,300 |
| Self-hosted (mid estimate) | $178,000 |
| Self-hosted (high estimate) | $210,600 |
Cloud is $21,500-85,800 cheaper in Year 1. This is unsurprising: the entire CapEx hit lands in Year 1 while cloud spreads costs evenly.
For organizations where AI initiatives are still being validated, this matters. If you spend $180K on infrastructure and then cancel the project in month 8, you've wasted $90,000+ on hardware that has limited resale value. Cloud's pay-as-you-go model eliminates this risk.
Year 2: The Crossover Point
Year 2 is where the math shifts. The CapEx is sunk. Self-hosted costs drop to OpEx only. Cloud keeps billing at the same rate or higher, because usage typically grows 20-40% year over year as teams expand AI applications.
Cloud AI: Year 2 Costs
Assuming 30% token volume growth (conservative for organizations actively deploying AI):
| Cost Component | Annual Cost |
|---|---|
| API token costs (130M tokens/day at same rates) | $136,200 |
| Embedding and fine-tuning | $18,700 |
| Premium support | $6,000 |
| Total Year 2 cloud | $160,900 |
Self-Hosted AI: Year 2 Costs
The same hardware handles 30% more volume without additional purchases: 4× A100 at 100M tokens/day was running at roughly 40% utilization, so 130M tokens/day pushes utilization to a healthy 52%.
| Cost Component | Annual Cost |
|---|---|
| OpEx (power, cooling, colo, engineer, maintenance) | $60,000-75,000 |
| Software license renewals | $4,000-6,000 |
| Minor hardware additions (storage expansion) | $3,000-5,000 |
| Total Year 2 self-hosted | $67,000-86,000 |
Cumulative 2-year comparison:
| Model | Cumulative 2-Year Total |
|---|---|
| Cloud API | $285,700 |
| Self-hosted (mid estimate) | $245,000 |
The crossover happens during Year 2 for sustained workloads. At the mid-estimate, self-hosted becomes cheaper by month 14-16. The exact crossover depends on:
- How quickly token volume grows (faster growth favors self-hosted)
- API pricing changes (OpenAI has reduced prices but also pushed users toward more expensive models)
- Whether the on-prem hardware was right-sized (oversized hardware delays breakeven)
Year 3: The Self-Hosted Advantage Compounds
By Year 3, the economics are unambiguous for high-volume deployments.
Cloud AI: Year 3 Costs
Token volume grows another 25% (usage growth tends to slow as organizations optimize):
| Cost Component | Annual Cost |
|---|---|
| API token costs (162M tokens/day) | $170,000 |
| Embedding and fine-tuning | $23,400 |
| Premium support | $6,000 |
| Total Year 3 cloud | $199,400 |
Self-Hosted AI: Year 3 Costs
162M tokens/day on 4× A100 means ~65% utilization, well within capacity. Minimal hardware additions needed.
| Cost Component | Annual Cost |
|---|---|
| OpEx (same as Year 2 with minor increases) | $65,000-80,000 |
| Software licenses | $4,500-6,500 |
| Partial hardware refresh reserve | $15,000-25,000 |
| Total Year 3 self-hosted | $84,500-111,500 |
Cumulative 3-year comparison:
| Model | Cumulative 3-Year Total | Cost Per Million Tokens (Blended) |
|---|---|---|
| Cloud API | $485,100 | $3.41 |
| Self-hosted (mid estimate) | $342,750 | $2.41 |
| Self-hosted (optimized) | $299,500 | $2.10 |
3-year savings: $142,350-185,600 (29-38%)
At higher volumes, the savings are more dramatic. A company processing 500M tokens/day (typical for a large enterprise with AI embedded across multiple products) sees cloud costs of roughly $1.5M over three years versus $600K-800K for self-hosted. That's 47-60% savings.
The "60-70% cost savings" figure that gets cited in industry reports reflects these larger-scale deployments where the CapEx is a smaller fraction of total spend.
The Real Math: 100M Tokens/Day, Side by Side
Let's put the cumulative cost curves in one table so the crossover is visible:
| Month | Cumulative Cloud Cost | Cumulative Self-Hosted Cost (Mid) | Cloud Advantage |
|---|---|---|---|
| 1 | $10,400 | $163,200 | Cloud by $152,800 |
| 3 | $31,200 | $175,800 | Cloud by $144,600 |
| 6 | $62,400 | $194,600 | Cloud by $132,200 |
| 9 | $93,600 | $213,400 | Cloud by $119,800 |
| 12 | $124,800 | $178,000* | Cloud by $53,200 |
| 15 | $158,500 | $194,800 | Cloud by $36,300 |
| 18 | $192,200 | $211,600 | Cloud by $19,400 |
| 20 | $214,700 | $222,500 | Roughly even |
| 24 | $285,700 | $245,000 | Self-hosted by $40,700 |
| 30 | $363,000 | $282,500 | Self-hosted by $80,500 |
| 36 | $485,100 | $342,750 | Self-hosted by $142,350 |
*Year 1 total adjusted for CapEx amortization starting from month 1.
The crossover happens around month 18-22 for this workload profile. After that, self-hosted saves roughly $5,000-7,000 per month, and that gap widens as token volume grows.
The Trillion-Token Threshold
At enterprise scale, the math gets starker. Organizations processing 1 trillion tokens annually (roughly 2.7B tokens/day; think large financial institutions, healthcare systems, or tech companies with AI in every product) see fundamentally different economics:
Cloud at 1T tokens/year: $3.4M-5M annually (depending on model mix and pricing tier)
Self-hosted at 1T tokens/year: $400K-700K annually (after Year 1 CapEx is amortized), running on a cluster of 16-32 H100 GPUs with dedicated ops staff.
At this scale, self-hosted is roughly 5-8x cheaper per token. The CapEx ($1.5M-3M for the GPU cluster) pays for itself in 4-8 months.
This is why every major tech company runs inference on their own hardware. The per-token economics at scale make cloud APIs untenable as a primary inference layer.
Who Should Stay on Cloud
Not every organization should self-host. The data clearly shows certain profiles where cloud remains the better choice, even at Year 3.
Small-Scale Usage (Under $3,000/month in API costs)
At $36K/year in cloud spend, the minimum viable self-hosted setup ($40K-60K CapEx) takes 18-30 months to break even, and you're locked into hardware that depreciates. Stay on cloud.
Bursty, Unpredictable Workloads
A marketing analytics company that processes 500M tokens during monthly report generation and near-zero between cycles. Average utilization on owned hardware would be 5-10%. Cloud's pay-per-use model is built for this pattern.
Rapid Model Iteration
If you're switching between different model architectures every 2-3 months (testing Llama, then Mistral, then Qwen, then a proprietary model), cloud APIs let you switch without hardware compatibility concerns. Self-hosted locks you into the models your hardware can run efficiently.
No Infrastructure Capability
This one is non-negotiable. If your organization doesn't have anyone who can troubleshoot CUDA driver issues, manage GPU memory, or handle hardware failures at 2 AM, self-hosting will cost more in engineering time than it saves in compute costs. Build the team first, or use a managed on-prem service.
Organizations Under $5M Revenue
The CapEx risk is disproportionate. A failed AI hardware investment is survivable for a $50M company but potentially fatal for a $3M startup.
Who Should Self-Host
The data points clearly toward self-hosting for these profiles:
Steady, High-Volume Inference
Any workload producing consistent demand above 50M tokens/day with predictable patterns. Customer support bots, document processing pipelines, search systems and real-time classification are ideal self-hosted workloads.
Sensitive Data Processing
Healthcare organizations processing patient data, financial institutions handling trading communications, legal firms analyzing privileged documents often can't use cloud APIs due to data residency and compliance requirements. For them, self-hosting is a requirement, and the savings come with it.
Multi-Model Deployments
Organizations running 5+ fine-tuned models benefit from shared GPU infrastructure. A single 4× A100 node can serve multiple LoRA adapters simultaneously, making per-model costs negligible. On cloud APIs, each fine-tuned model incurs its own hosting cost.
Long-Term AI Commitment
If AI is a core part of your product or operations (not an experiment), the 3-year TCO case for self-hosting is strong at almost any reasonable scale.
The Hybrid Sweet Spot
The most cost-effective approach for mature organizations isn't pure cloud or pure self-hosted. It's hybrid with a clear allocation principle:
Train in cloud. Infer on-prem.
Training is bursty. You do it once every few weeks or months, and you want the most powerful GPUs available. Cloud is ideal: rent 8× H100s for 3 days at $2.89 to $3.99 per GPU-hour on demand (RunPod and Lambda list prices as of October 2026), pay about $1,700 to $2,300, and you're done. No idle hardware between training runs.
Inference is steady: it runs 24/7 and scales with user demand. This is where on-prem hardware generates its return: consistent utilization at a fixed cost.
| Workload | Where to Run | Why |
|---|---|---|
| Model training | Cloud | Bursty, needs latest GPUs, cost-effective when rented |
| Production inference (stable) | On-premise | Steady demand, lowest per-token cost, data stays local |
| Burst inference (peak load) | Cloud | Overflow capacity for demand spikes |
| Experimentation and prototyping | Cloud | Low commitment, rapid model switching |
| Sensitive data processing | On-premise | Compliance requirements, data sovereignty |
This hybrid model typically captures 70-80% of the self-hosted cost savings while maintaining the flexibility advantages of cloud for the workloads that genuinely benefit from it.
What the Three-Year Data Actually Tells Us
Looking across the full three-year arc, the conclusions aren't ambiguous:
-
Year 1: Cloud is cheaper for most organizations unless you're already spending $15K+/month on AI APIs. The CapEx risk during validation is real.
-
Year 2: The crossover happens for sustained production workloads. Organizations processing 50M+ tokens/day consistently will see self-hosted become cheaper by month 14-20.
-
Year 3: Self-hosted delivers 30-70% savings depending on scale. The higher your token volume, the larger the advantage.
-
The trillion-token mark: At ~1T tokens/year, self-hosted is 5-8x cheaper. No cloud pricing model can compete with amortized hardware at this scale.
-
Not everyone should self-host: Small-scale, bursty, or experimental workloads belong on cloud. Forcing them onto owned hardware wastes capital.
The data favors a pragmatic middle path over either extreme ("always cloud" or "always self-hosted"): validate on cloud, migrate steady workloads to owned infrastructure once demand stabilizes, keep burst and experimental workloads on pay-per-use. The organizations saving the most money are the ones who made this transition at the right time: once demand had stabilized, so no CapEx was wasted, and before months or years of overpaying on API costs.
The right question isn't "cloud or self-hosted?" It's "which workloads, at what scale, starting when?" The three-year data gives you the framework to answer that honestly.

