A fair AWS vs Azure vs Google Cloud price comparison for AI inference finds the three providers close on GPU-hour list price. That makes the list price a weak basis for choosing one. A 2026 pricing analysis by Cast AI puts on-demand H100 capacity at $12.29 per GPU-hour on AWS and $13 on Azure, a gap of about 6% for the same GPU. On a single self-hosted H100, holding the model fixed, cost per million output tokens moves by 17.5–36.3x depending only on the offered request rate (arXiv, 2026). Utilisation and the latency target each move the bill more than the list-price gap does. So measure cost per request on your own workload before you pick a cloud.
How Close the Three Clouds Sit on GPU-Hour List Price
Headline GPU prices for AWS, Azure and Google Cloud overlap heavily. A 2025 review of cloud cost optimisation lists approximate A100 80GB prices of $2.50–3.50 per hour on AWS, $2.80–3.60 on Google Cloud and $2.70–3.50 on Azure, with H100 at $3.50–5.00, $4.00–5.50 and $4.00–5.50 respectively. The same review says AWS cut GPU instance prices by up to 45% in June 2025, including a 44% cut to H100 on-demand pricing.
The sources do not agree on absolute levels, so treat every hourly figure here as dated and approximate. The 2025 review’s H100 range of $3.50–5.00 sits far below Cast AI’s $12.29–13 per GPU-hour on-demand. The review says its H100 figures vary “depending on the provider and commitment level”, which suggests its ranges blend discounted and on-demand rates. Cast AI’s figure names a specific on-demand SKU, p5.48xlarge. Both sources put the providers close together on the same GPU, but we would not take either as a current price.
Eight-GPU A100 instance comparisons show a wider spread. A third-party SageMaker pricing guide quotes Vertex AI’s a2-highgpu-8g at about $35.40 per hour, SageMaker’s ml.p4d.24xlarge at about $37.69 and Azure’s ND96asr A100 v4 at about $27.20. All of these are pre-June 2025 prices, and the guide notes that AWS’s later cuts narrow the gap. Per GPU, that works out to roughly $4.43, $4.71 and $3.40 (each price divided by eight). The SageMaker figure also includes a managed-service premium, which the managed-endpoint section below deals with.
An AWS vs Azure vs Google Cloud Price Comparison That Holds up for Inference
Cost per request is the durable unit for comparing clouds. A GPU-hour only becomes cheap when the workload keeps that hour busy. The cost of each unit of compute you actually use is the hourly rate divided by utilisation (Beyond Benchmarks, arXiv 2025). Cast AI applies this to its 2026 dataset of more than 23,000 Kubernetes clusters, where average GPU utilisation is 5%, and concludes that teams were paying for twenty times the capacity they used.
The load effect is large and measurable. In the 2026 arXiv study of concurrency-aware cost estimation, effective cost on identical H100 hardware spans $0.21 to $15.25 per million output tokens. A Mixtral 8x7B FP16 deployment costs $15.25 at 1 request per second and $0.87 at 25. The authors found that the public calculators they surveyed treat utilisation as a fixed input or assume 100%. Utilisation is actually an output of request rate, model architecture, quantisation and latency SLO, so those estimates understate true cost by a factor of 1/U. Cast AI’s pricing blog claims that raising GPU utilisation by 10 percentage points cuts effective cost more than moving from Azure’s most expensive H100 tier to AWS’s cheapest.
Worked Example: Provider Gap Versus Utilisation Gap
This example uses Cast AI’s on-demand H100 rates and the effective-cost formula above. The utilisation levels are assumptions chosen to show the mechanism, not measurements.
| Scenario (assumed utilisation) | Calculation | Effective cost per utilised GPU-hour | Change vs baseline |
|---|---|---|---|
| Azure H100, 20% utilisation (baseline) | $13.00 / 0.20 | $65.00 | none |
| Move to AWS H100, still 20% | $12.29 / 0.20 | $61.45 | about 5.5% lower |
| Stay on Azure, raise to 30% | $13.00 / 0.30 | $43.33 | about 33% lower |
In this example the migration saves only the provider gap. The serving-path fix saves roughly six times as much without moving anything. The dominant cost and latency levers (batching, caching, routing, quantisation, serving configuration) sit below the model layer and are independently tunable. To turn this into a real number you need measured throughput at your production request rate. Our guide to measuring LLM inference performance that matches production covers that benchmark, including the cost-per-token formula that divides hourly GPU cost by sustained tokens per second. For how to turn those measurements into a planning tool, see our piece on building a load-aware cost-per-request model.
Do Reserved, Committed-Use and Spot Prices Change Which Cloud Is Cheapest?
Commitment and spot discounts are far larger than the 6% gap Cast AI found between AWS and Azure H100 on-demand prices, but each comes with conditions that matter for serving. Actual discounts vary with region, instance type and usage.
| Pricing route | AWS | Azure | Google Cloud |
|---|---|---|---|
| 1- or 3-year commitment | Reserved instances up to 75% off on-demand; GPU Savings Plans 25–45% | Reserved VM Instances up to 72%; estimated 36–72%, savings plan 11–65%, both from M-series VM examples (January 2026 pricing) | CUDs up to 70% for memory-optimised series, up to 55% for others; flexible CUDs cover GPUs only on G2 and G4 |
| Spot | Up to 90% off; 2-minute warning | Up to 90% off; evicted on price or capacity; rate varies and can approach pay-as-you-go | Spot VMs up to 91% off; 30-second warning |
One source gives Azure reservations as “up to 80%”. Microsoft’s own page says up to 72%, and we would trust the vendor’s current page over a secondary summary.
Commitments Lock in the Utilisation Problem
A commitment lowers the rate while fixing the bill. Google Cloud bills committed resources monthly for the full term whether you use them or not, commitments cannot be cancelled, and unused hourly spend on a flexible commitment does not roll over. An MLflow guide on scaling inference recommends reserved capacity, at 30–60% below on-demand, for the steady baseline only, with cloud burst covering traffic peaks. We would size a commitment from measured baseline load, not peak. Committing to capacity that runs at low utilisation turns a variable waste into a contracted one.
Spot Works for Serving Only with a Fallback
Spot pricing is real but volatile for GPUs. The SkyServe study (arXiv) found spot instances cost 8–50% of on-demand and spot GPUs available only 16.7–90.4% of the time, against 95.6–99.9% for spot CPUs. Preemptions also cluster. On AWS, 83–97% of the time another preemption followed within 5 minutes in the same zone, and provisioning a Llama-2-7b vLLM endpoint took 183 seconds, longer than the 2-minute warning. A pure-spot AWS Autoscaling Group deployment saw 49.4% of requests fail or time out. Interruption rates also differ by GPU: Thunder Compute’s 2026 analysis reports under 5% for AWS H100 spot and 15–20% for A100.
The MLflow guide calls spot unsuitable for latency-sensitive serving without a fallback pool. SkyServe’s mix of spot and on-demand replicas across regions and clouds cut cost by 43% on average compared with on-demand alone, while keeping availability high. For an interactive endpoint, the honest comparison is the cost of a resilient spot design, not the spot sticker price.
Is SageMaker, Azure ML or Vertex AI Cheaper than Running Our Own GPU Instances?
On Azure, a managed online endpoint adds no surcharge. Microsoft states you pay only the compute and networking charges. Azure Machine Learning itself is free, although storage, Key Vault, Container Registry and Application Insights are billed separately. One cost hides in the capacity settings: Azure reserves an extra 20% of instances for upgrades and recommends at least three instances for high availability.
On AWS, the managed layer costs extra. The third-party SageMaker guide puts SageMaker at a 20–38% premium per instance-hour over equivalent EC2. AWS counters that SageMaker’s 3-year TCO is 54% lower than self-managed EC2 once engineering labour is counted, for teams of 5–250 data scientists. The guide’s verdict is that this advantage depends entirely on how you value operational overhead. A team that already runs Kubernetes-based GPU serving (vLLM or Triton behind its own autoscaler) gets less from the premium than a team that would otherwise build that platform.
Serverless options change the maths at low traffic. For a MobileNetV2 model on a 2048 MB tier, the same guide reports SageMaker Serverless Inference saving 88.72% against real-time instances below 1 million monthly invocations, with breakeven at about 8.5 million monthly requests. That breakeven applies only to that model and memory tier. The arXiv concurrency study makes the general point: below the crossover, the fix is to change provisioning (consolidate, scale replicas to load, or fall back to a serverless endpoint), accepting that serverless gives up tail-latency control.
How Do p95 Targets and Autoscaling Settings Change What Inference Costs on Each Cloud?
A latency target sets a price. In the arXiv study, Llama 8B’s cheapest cost of $0.311 per million tokens only occurs at 200 requests per second, where p99 time to first token is 7.4 seconds. The cheapest rate that meets the example SLA was $0.368, and SLA premiums across models ranged from 1.13x to 1.91x. Small changes to the tail target also matter. In the RIBBON study, relaxing the CANDLE model’s target from p99 to p98 made its optimal configuration 17% cheaper, and three-type instance pools cut serving cost by 9–16% against the best single-type pool.
Autoscaling choices decide whether you pay for idle GPUs or for missed latency. Google’s GKE team tested metrics for LLM inference on GPUs and does not recommend GPU utilisation, exploring batch size instead. In published autoscaling tests under saturating load, only the in-flight request count triggered scaling. Engine-side time to first token stayed low, because continuous batching pushes queue pressure into total latency, and short bursty requests kept GPU utilisation below its threshold. The MLflow guide likewise calls CPU and memory lagging indicators for GPU inference.
Vertex AI and Azure ML document resource metrics as the default or example, so check what you have configured:
- Vertex AI: with GPUs attached, the default scales replicas so that CPU or GPU usage, whichever is higher, matches a 60% target.
- Azure ML managed endpoints: scale through Azure Monitor autoscale, with CPU utilisation above 70% as the documented metric example, plus schedule-based rules.
- SageMaker: AWS recommends target tracking on a CloudWatch metric such as invocations per instance, which is closer to a load signal.
Scaling windows should be asymmetric as well. Together AI advises a short scale-up window and a longer scale-down window, because a false scale-down costs latency and money: you pay the cold start when you scale straight back up.
Scale-to-Zero and Cold Starts Bill Differently on Each Cloud
Idle cost differs across the three clouds, and every saving here is traded against cold-start latency.
| Behaviour | AWS SageMaker | Azure ML | Google Vertex AI |
|---|---|---|---|
| Real-time endpoint at zero traffic | Scales in to the configured minimum instance count | Online deployments bill per running instance | Scale To Zero (Preview) lets the minimum be 0, with no billing while idle |
| Scaling up from zero | Takes several minutes; invocations error meanwhile | Not stated for online endpoints; batch deployments consume resources only when a job runs | Requests get a 429 response and are dropped while the replica starts |
| Idle threshold or cold-start billing | Serverless cold starts are billed as inference time, which can multiply that request’s billable duration 10–30x | Serverless deployments are billed on usage | Idle period before scale-down defaults to 1 hour, minimum 5 minutes |
Cold starts are measured in minutes, not milliseconds. Together AI measured 86 seconds from creation to a ready replica for a 9B model on one H100, and about 2.5 minutes to scale from one replica to two. Its advice is to keep at least one replica warm for anything with a p95 SLO, which means scale-to-zero suits development and staging more than user-facing endpoints. On Google Cloud, Vertex AI bills Spot by job duration and excludes time spent queued or preempted, but only for serverless training and inference.
Who Can Tell Us Whether a Cloud Move Will Actually Cut Our Inference Bill?
TechnoLynx answers that question before you commit to a migration. The AI Inference Cost Audit profiles inside your serving boundary and checks whether a cheaper instance on another cloud would actually lower cost per request for your workload. It measures cost per request, p95 latency and GPU utilisation for each candidate cloud, rather than comparing hourly list prices. Where profiling shows a serving-path fix delivers the saving on your current cloud, you avoid a migration whose projected savings would evaporate. The audit sits within TechnoLynx’s work on AI for AI infrastructure and production SaaS.
If your question is purely about negotiating enterprise discounts, or your traffic is low enough that a serverless endpoint clearly wins, it will not tell you much that a pricing calculator and a load test will not. Teams with in-house GPU performance engineers can run the same measurement themselves: a production-matched benchmark, then kernel-level profiling to find the real bottleneck. If the decision is broader than inference cost, our comparison of AWS and Azure for running production AI reliably covers the operational side, and the cloud GPU versus on-premise accelerator total cost analysis covers the case for leaving the hyperscalers for sustained load.
Keeping the Comparison Honest After You Choose
Cost per token can change when a new model version ships, so track it per version rather than once. The MLflow guide describes a common miss: a new model version doubles cost per token, nobody notices for two weeks because the latency SLO still holds, and the fix is to track cost per token per model version and per tenant. That needs cost per token instrumented in your observability stack, the subject of our parent guide to APM tools for AI inference. For reporting per-request cost across teams and clouds, see our piece on data warehouse consulting for inference cost visibility. Then the question to settle is not which cloud is cheapest, but what request rate, under what latency target, keeps your GPUs busy enough to make any cloud’s hour worth paying for.
FAQ
Which EC2 Pricing Option Is the Cheapest?
Spot instances carry the deepest discount on AWS, up to 90% off on-demand, but they can be reclaimed with a 2-minute warning. For predictable, steady load, reserved instances save up to 75% off on-demand.
What Is the Pricing Model of Cloud Computing?
All major providers offer consumption-based pricing, metering compute, storage and data transfer and charging per unit used. Commitment discounts cut the hourly rate in exchange for a one- or three-year term; spot capacity is spare capacity sold at a discount that can be interrupted.