GPU Cloud Cost Calculator: Rent vs Buy
Prices the GPU-hours you need from the published on-demand rates of AWS, Google Cloud, Azure, CoreWeave, Lambda, RunPod and Modal. Each provider's cost is the cheapest mix of its machine sizes that covers your GPU count, times hours a day and days a month, so clouds that rent only 8-GPU machines bill whole servers. Owning costs GPUs × kilowatts each × hours × price per kWh, and break-even is the purchase price divided by the monthly saving, rounded up.
Prices last verified November 2, 2026. Figures are estimates in US dollars; confirm with each provider before committing.
Pick a GPU, say how many you need and for how many hours, and the calculator prices that much compute on seven clouds' published on-demand rates. It then compares the cheapest rental with owning the cards, where the only running cost it counts is electricity. At the defaults, eight H100s around the clock for 30 days, the cheapest listed offer is RunPod Community Cloud at $15,494.40 a month, Azure's 8-GPU virtual machine costs $70,790.40, and buying at a 2024 estimate of $32,500 a chip pays for itself in month 18.
From one rented GPU to whole servers by the hour
NVIDIA introduced CUDA, its general-purpose programming model for GPUs, in November 2006. Four years later, on 15 November 2010, AWS launched its Cluster GPU instance, cg1.4xlarge: a pair of NVIDIA Tesla M2050 cards with 3 GB of memory each, for $2.10 an hour. Two years after that, Alex Krizhevsky, Ilya Sutskever and Geoffrey Hinton trained the network now called AlexNet in five to six days on two GTX 580 3GB cards, and they noted that the 3 GB on a single card limited how large a network they could train.
Memory and hours are still what you rent. NVIDIA announced the H100, with 80 billion transistors, on 22 March 2022, for availability from the third quarter. In June 2025 AWS cut on-demand prices for its P5 (H100) instances by 44%, for P4d and P4de (A100) by 33% and for P5en (H200) by 25%, noting that demand for GPU capacity had outpaced industry-wide supply. Its B200 instances, P6-B200, launched on 15 May 2025 at first only through EC2 Capacity Blocks for ML.
Why the same GPU costs several times as much
The rates below are the H100 offers this calculator reads, generated from its data file. Machine prices cover every GPU in the machine; per-GPU prices are multiplied by the GPUs you rent.
| Provider | Sold as | GPUs | Listed price |
|---|---|---|---|
| AWS us-east-1 | p5.4xlarge | 1 | $6.88 per machine-hour |
| AWS us-east-1 | p5.48xlarge | 8 | $55.04 per machine-hour |
| Google Cloud us-central1 | a3-highgpu-8g | 8 | $88.49 per machine-hour |
| Azure East US 2 | Standard_ND96isr_H100_v5 | 8 | $98.32 per machine-hour |
| CoreWeave | HGX H100 node | 8 | $49.24 per machine-hour |
| Lambda | 1-GPU instance | 1 | $4.29 per GPU-hour |
| Lambda | 2-GPU instance | 2 | $4.19 per GPU-hour |
| Lambda | 4-GPU instance | 4 | $4.09 per GPU-hour |
| Lambda | 8-GPU instance | 8 | $3.99 per GPU-hour |
| RunPod Secure Cloud | Secure pod, per GPU | 1 | $3.99 per GPU-hour |
| RunPod Community Cloud | Community pod, per GPU | 1 | $2.69 per GPU-hour |
| Modal | Serverless, GPU only (CPU, RAM extra) | 1 | $0.001097 per GPU-second |
The biggest difference is the size of the smallest machine. Azure's ND H100 v5 series starts at one virtual machine with eight GPUs, CoreWeave rents its HGX nodes in eights, and Google sells its 1-, 2- and 4-GPU H100 machines only as Spot or flex-start capacity, so on all three one GPU means paying for eight. CoreWeave also offers up to 60% off its on-demand prices for committed use, which this calculator does not apply.
Lambda's price per GPU falls as the instance grows, from the 1-GPU rate to the 8-GPU rate. RunPod lists two on-demand prices for each card: Secure Cloud, and a cheaper Community Cloud. It bills pods by the second, with no fees for data in or out. Modal is serverless: its per-second rate covers only the GPU, and CPU cores and memory are billed on top. Its functions can be preempted by default, and GPU functions cannot opt out. Modal's Starter plan allows 10 GPUs at once and its Team plan 50, for $250 a month, so from 11 GPUs the calculator adds that fee to the monthly cost and to the per-GPU-hour rate, and above 50 it shows the Enterprise plan.
How the calculation works
For each provider the calculator searches every mix of that provider's machine sizes and keeps the cheapest one that covers your GPU count. On a tie it keeps the mix with fewer GPUs billed, then the one with fewer machines. Nine H100s on AWS are one p5.48xlarge plus one p5.4xlarge, while on Google they are two 8-GPU machines with 16 GPUs billed. Prices are converted once to whole millionths of a dollar per hour, so the search never compounds rounding errors.
rent per month = price per hour × hours a day × days a month
electricity = GPUs × watts ÷ 1000 × hours a day × days a month × price per kWh
break-even month = GPUs × price per GPU ÷ (cheapest rent − electricity), rounded up
If you leave the power field blank, the calculator uses each card's rated maximum: 700 W for the H100 and H200 SXM, 1,000 W per B200 in a DGX B200, 400 W for an SXM A100, 350 W for the L40S, 575 W for the RTX 5090, 450 W for the RTX 4090 and 750 W for the MI300X. Those are full-load figures for the GPU alone. The server power calculator adds the CPUs, drives and power-supply losses of a whole box. Because hours a day and days a month are whole numbers, per-second, per-minute and per-hour billing all give the same total.
The default example, worked through
Eight H100s, 24 hours a day for 30 days, is 720 hours, or 5,760 GPU-hours. RunPod Community Cloud charges $2.69 a GPU-hour, so 8 × $2.69 × 720 = $15,494.40. Modal follows at $22,747.39 for the GPUs alone, and Lambda and RunPod Secure Cloud tie at $22,982.40. AWS's p5.48xlarge comes to $39,628.80, Google's a3-highgpu-8g to $63,712.80 and Azure's VM to $70,790.40.
Owning the same eight cards draws 8 × 700 W = 5.6 kW, which over 720 hours is 4,032 kWh. At $0.15 per kWh, close to the US commercial average of 14.47 cents in August 2026, that costs $604.80 a month. Owning therefore saves $15,494.40 − $604.80 = $14,889.60 a month. With no price entered, the purchase is 8 × $32,500 = $260,000. After 17 months owning has saved $253,123.20, short of the purchase price, and after 18 it has saved $268,012.80, so buying pays for itself in month 18.
What buying really costs
NVIDIA does not publish list prices for its data-center chips. In March 2024 CNBC reported analyst estimates of $25,000 to $40,000 per H100 chip, and Jensen Huang told the network that a Blackwell chip would cost $30,000 to $40,000 per unit. He later added that the cost isn't just about the chip. The $32,500 H100 figure here is the midpoint of the analyst range, for the chip alone. CNBC listed the B100, B200 and GB200 as separate Blackwell versions but didn't say which one that range applied to, so the B200, like the H200, A100, L40S and MI300X, has no fallback and the page asks for a price. The RTX 5090 and RTX 4090 use NVIDIA's launch prices of $1,999 and $1,599.
A GPU that you own also needs a server, networking, rack space, cooling and someone to run it, and it loses value as newer cards ship. Enter a price per GPU that includes its share of the server. The cloud vs. self-hosted calculator adds rack space, cooling overhead, bandwidth and staff time over several years for a whole deployment.
Limits of the comparison
Every rate is a published on-demand list price in US dollars: AWS in us-east-1, Google Cloud in us-central1, Azure in East US 2 and CoreWeave in North America. Spot, reserved, committed-use and negotiated prices are lower. Sales tax, storage and egress are not included. Modal's figure covers GPUs only, and Modal's monthly free credits are not deducted. A cover made of several small machines can be cheaper than one large one: eight L40S cards on AWS come to $10,719.36 a month as eight single-GPU g6e.xlarge instances. Those GPUs sit in separate machines and exchange data only over the network, which matters for training. Prices change often, so the table shows when they were last checked.
How many GPUs you need
The GPU count is the input that matters most. A 70-billion-parameter model stored in 16-bit weights needs 140 GB for the weights alone, more than one 80 GB H100 holds, and training adds gradients, optimizer states and activations on top. The LLM VRAM calculator sizes inference, and the fine-tuning VRAM calculator sizes training with optimizer states and activations. Enter the result here to see what that many GPUs cost.
Prices are published on-demand list rates read on the date shown and change often. Check each provider's pricing page before you commit. See the disclaimer.
Frequently asked questions
How much does it cost to rent one H100 for a month?
Around the clock for 30 days, which is 720 hours, the cheapest listed offer is RunPod Community Cloud at $1,936.80. Modal comes to $2,843.42 for the GPU alone, RunPod Secure Cloud to $2,872.80, Lambda to $3,088.80 and AWS's single-GPU p5.4xlarge to $4,953.60. CoreWeave, Google Cloud and Azure rent H100s only as 8-GPU machines, so one GPU there costs a whole server, from $35,452.80 a month.
Is it cheaper to buy or rent eight H100s?
At the calculator defaults, buying pays for itself in month 18. Eight H100s at a 2024 estimate of $32,500 each cost $260,000, while renting them around the clock costs $15,494.40 a month on RunPod Community Cloud and electricity for owned GPUs comes to $604.80. Use matters most: one H100 used 8 hours a day for 22 days a month takes until month 72 to pay back.
How quickly does an RTX 4090 pay for itself?
At its $1,599 launch price, one RTX 4090 used 8 hours a day for 22 days a month pays back in month 34 against RunPod Community Cloud at $59.84 a month, after $11.88 of electricity. Run it around the clock and the break-even comes in month 9.
Why does Vast.ai show no price?
Vast.ai is a marketplace. It says its prices are set by the market rather than by Vast, through supply and demand across its data centers, and its pricing page loads live rates in the browser, so there is no dated list price to put in the table. It bills by the second, advertises interruptible instances as 50% or more cheaper, and offers reserved terms of 1, 3 or 6 months.
Does the electricity figure include the rest of the server?
No. By default it counts only the GPUs' rated board power. To include CPUs, memory, fans and power supplies, enter a share of the whole server in the power field. A DGX H100 is rated at 10.2 kW maximum for eight GPUs, about 1,275 W each, which raises electricity at the defaults to $1,101.60 a month and moves the break-even to month 19.
Why does Google Cloud show no on-demand price for the B200?
Google's price table lists its 8-GPU B200 machine, a4-highgpu-8g, with N/A in the on-demand column. It is priced only through Dynamic Workload Scheduler flex-start, calendar mode, Spot and committed-use discounts, none of which is an on-demand rate you can start and stop at will.
Sources
- Amazon EC2 On-Demand Pricing, Amazon Web Services
- Accelerator-optimized VM pricing, Google Cloud
- Azure Retail Prices, East US 2 GPU virtual machines, Microsoft
- CoreWeave Cloud Pricing, CoreWeave
- AI cloud pricing, Lambda
- GPU Cloud Pricing, Runpod
- Pricing, Modal
- GPU Pricing: Live Platform Rates, Vast.ai
- Nvidia's Blackwell AI chip will cost more than $30,000, CEO says, CNBC, 2024
- NVIDIA Blackwell GeForce RTX 50 Series Opens New World of AI Computer Graphics, NVIDIA, 2025
- NVIDIA Delivers Quantum Leap in Performance, Introduces New Era of Neural Rendering With GeForce RTX 40 Series, NVIDIA, 2022
- New EC2 Instance Type: The Cluster GPU Instance, Amazon Web Services, 2010
- Announcing up to 45% price reduction for Amazon EC2 NVIDIA GPU-accelerated instances, Amazon Web Services, 2025
- ImageNet Classification with Deep Convolutional Neural Networks, Krizhevsky, Sutskever and Hinton, NeurIPS, 2012
- NVIDIA Announces Hopper Architecture, the Next Generation of Accelerated Computing, NVIDIA, 2022
- Introduction to NVIDIA DGX B200 Systems, NVIDIA
- Introduction to NVIDIA DGX H100/H200 Systems, NVIDIA
- Electric Power Monthly, Table 5.6.A, U.S. Energy Information Administration, 2026