A developer's framework for GPU economics, hyperscaler versus specialist cloud pricing, and API versus self-hosting break-even

Most developers will never train a frontier model. The realistic decisions are: call a hosted model API, rent GPUs to serve an open-weight model, or fine-tune and then serve. This guide breaks down the real infrastructure cost drivers behind those choices and compares hosting options using a repeatable framework rather than a single headline price.
Pricing caveat: GPU rental prices change quickly and published figures from different trackers disagree. The numbers below are ranges reported by public sources in 2026 and should be re-checked against provider pricing pages before you commit.
Three physical constraints drive cost:
For training, a common rule of thumb for mixed-precision training with the Adam optimizer is around 16 bytes per parameter of state, so a 70B model needs on the order of 1.1 TB of memory before activations. This is why full training is a cluster-scale problem while parameter-efficient fine-tuning (LoRA/QLoRA) is a single-node problem.
Strengths: compliance certifications, integrated networking and storage, enterprise support, and committed-use discounts. Weaknesses: highest on-demand prices, 8-GPU minimums on flagship instances, and egress fees commonly in the range of roughly $0.08 to $0.12 per GB leaving the cloud.
Strengths: usually lower per-GPU prices, faster access to new hardware, and in some cases free or low egress. Weaknesses: fewer managed services, more variation in reliability and compliance posture, and some require node-level or contract-level commitments.
Strengths: lowest prices and single-GPU rental. Weaknesses: variable hardware quality and uptime, weaker isolation guarantees, and more operational work. Best for experimentation and fault-tolerant batch jobs.
| GPU | Hyperscalers (reported) | Specialist clouds (reported) | Marketplaces (reported) |
|---|---|---|---|
| H100 | roughly $3 to $12, with AWS P5 around $6.88 on list price in some trackers | about $2 to $6.16 (CoreWeave 8x node about $6.16 per GPU) | as low as about $1.49 to $2 |
| H200 | roughly $7.91 (AWS) to $10.60 (Azure) in one August 2026 survey | about $4.50 to $6.31 | about $4.45 on one marketplace |
| B200 | highly inconsistent: about $4.28 (GCP) to $14.24 (AWS) in one October 2026 comparison; Azure sells a different bundled product | about $4 to $8.60 | limited availability |
Why the spread? Hyperscaler figures often divide an 8-GPU node price by eight, include CPU, RAM and storage in the bundle, and differ by region. Some sources report mid-2025 price cuts on AWS H100 instances, while other sources reported H100 contract prices rising in late 2025 and early 2026 amid supply constraints. Treat any single number as a snapshot.
Discount levers reported by trackers: three-year reservations cutting roughly 50 to 60 percent off H100 on-demand pricing at major hyperscalers, and spot or interruptible capacity typically 40 to 65 percent below on-demand, with the trade-off that jobs can be interrupted.
The list price is not your price. Use:
Effective GPU cost = (hourly price ÷ utilization) + data movement + engineering overhead
Worked examples (illustrative arithmetic):
A key insight: utilization usually matters more than the sticker price. A cheap GPU that sits idle 70 percent of the time is more expensive than a pricier one that stays busy.
| Factor | Hosted model API | Self-host on rented GPUs |
|---|---|---|
| Cost model | Pay per token | Pay per GPU-hour regardless of traffic |
| Best for | Spiky or low volume, fast prototyping | Steady high volume, data control, custom models |
| Ops burden | Minimal | Significant (serving stack, scaling, monitoring) |
| Model access | Provider's models only | Open-weight models, fine-tunes |
| Cost risk | Token price changes, vendor lock-in | Idle capacity, hardware price swings |
| Latency control | Limited | Full control |
Self-hosting wins when your sustained token throughput times the GPU's cost-per-token at high utilization is lower than the API price for comparable quality. Estimate it like this:
If your traffic is bursty, the API almost always wins because you avoid paying for idle GPUs. If you have steady, predictable load and a model that meets your quality bar, self-hosting can win.
| Your situation | Likely best option |
|---|---|
| Prototype, unknown demand | Hosted API |
| Steady inference on an open-weight 7B to 70B model | Specialist cloud, possibly with reserved capacity |
| Strict compliance or existing enterprise cloud contract | Hyperscaler with commitments |
| Research, experiments, fault-tolerant batch | Marketplace or spot capacity |
| Fine-tuning with LoRA/QLoRA | Single node on specialist cloud or spot |
| Full pretraining | Not a typical developer decision; requires large cluster contracts |
The cheapest option depends less on any provider's hourly rate and more on your utilization, your data movement and your tolerance for operational work. Use hosted APIs while demand is uncertain, move to specialist or reserved GPU capacity when traffic is steady and measurable, and always compute cost per million tokens from your own benchmarks rather than from list prices.
Pricing information in this guide reflects publicly reported ranges from third-party trackers and provider pages in 2026, which vary and change often. Verify current rates before making purchasing decisions. This is general information, not financial advice.
This article was authored and reviewed by Wipidia's technical editorial desk in Jalandhar, Punjab. Every code snippet, algorithm breakdown, and strategic framework is independently tested against live production standards before publication.