GPU cloud pricing decoded — per-hour, per-month, or reserved?
Why GPU cloud pricing feels confusing
GPU cloud pricing is rarely “just $X/hour.” Providers bundle (or separately charge for) GPU time, CPU, RAM, storage, networking, and sometimes platform fees. On top of that, the same GPU model (e.g., A100) can come in different memory sizes, interconnects, and performance tiers—changing price and suitability for ML workloads.
As a beginner, your goal is to translate any offer into: total cost for your expected runtime, plus the risk (interruptions, queue time, lock-in), and the performance you’ll actually get for training or inference.
This guide decodes common pricing models using examples from Vast.ai, RunPod, Lambda, and CoreWeave, and shows how to optimize cost for ML/AI.
---
The three big pricing models: hourly, monthly, reserved
Hourly (on-demand, pay-as-you-go)
You pay for time while the instance is running (sometimes while it’s merely allocated). This is the most flexible and simplest for experiments.When it’s best: prototyping, short training runs, bursty inference, benchmarking.
Hidden gotchas:
- Some platforms charge for “allocated but idle” time.
- Storage and network egress are often separate.
- Multi-GPU availability can change quickly.
Monthly (fixed term / subscription-like)
You pay a monthly rate for dedicated capacity. This is common for “GPU server rental” and some managed offerings.When it’s best: steady workloads (e.g., daily training, always-on inference), long projects where stability matters.
Hidden gotchas:
- You may still pay extra for egress or premium storage.
- If your utilization is low, you’re paying for idle time.
Reserved / committed use (1–3 year commitments are common in enterprise clouds)
You commit to a resource level for a term. In exchange, the provider gives a discount compared to pure on-demand.When it’s best: predictable, long-term, high utilization training or inference fleets.
Hidden gotchas:
- Commitment risk: if your needs change, you may overpay.
- You still must evaluate storage and bandwidth costs.
What you’re actually paying for (line items to look for)
Even if a listing says “$X/hour,” check these components:
GPU
The core cost driver. Pricing depends on:- Model (A100 vs H100 vs 4090)
- VRAM size (A100 40GB vs 80GB)
- Form factor / interconnect (PCIe vs SXM, NVLink, etc.)
- Number of GPUs
CPU and RAM
Some GPU instances bundle strong CPUs and lots of RAM; others pair high-end GPUs with minimal CPU/RAM. For dataloading-heavy training (large image datasets, heavy preprocessing), weak CPU can slow you down, making the “cheap GPU” effectively more expensive.Storage
Common patterns:- Ephemeral local disk: fast, but lost when the instance stops.
- Network volumes: persistent, billed per GB-month, sometimes per IOPS.
- Object storage: cheap per GB-month, but slower; good for datasets and checkpoints.
Network (especially egress)
Ingress (upload) is often cheap/free; egress (download out of the provider) is frequently billed per GB. This can dominate cost for inference services or when exporting large model artifacts.---
GPU types in plain terms: A100, H100, 4090
NVIDIA A100 (datacenter workhorse)
- Strong for training and inference, widely available.
- Comes in 40GB and 80GB variants (80GB is more expensive and enables larger batch sizes/models without sharding).
- Good software compatibility for ML stacks.
NVIDIA H100 (premium, fastest—usually)
- Newer generation, typically better throughput and efficiency for large models.
- Higher hourly cost, but may reduce training time significantly.
NVIDIA RTX 4090 (consumer GPU, great value—some caveats)
- Often very cost-effective for many ML tasks.
- Usually less VRAM (24GB) than A100/H100.
- Not always available in datacenter-grade environments; may have differences in reliability, virtualization support, or multi-GPU scaling.
---
How to convert hourly to monthly (and when it matters)
A rough conversion is:
- Monthly cost ≈ hourly rate × 730 (average hours/month)
- For a quick estimate, use × 720 (30 days)
- If a GPU is $1.20/hour, then monthly is about $1.20 × 730 ≈ $876/month.
---
Provider landscape: how Vast.ai, RunPod, Lambda, CoreWeave typically price
Pricing and availability change frequently; treat this as “how the pricing models tend to work,” not a guaranteed price list.
Vast.ai (marketplace-style pricing)
Vast.ai is closer to a marketplace where many hosts list GPUs. You’ll see a wide range of prices for the same GPU model.Typical pricing model:
- Hourly pricing, often with separate line items for storage and sometimes bandwidth.
- You may find extremely low prices, especially for 3090/4090-class GPUs.
- Host reliability and performance variance (disk speed, CPU, network).
- Interruptions / availability depending on host behavior.
- Confirm VRAM size and whether you’re getting the expected GPU (and not a slower variant).
RunPod (developer-focused GPU platform)
RunPod typically offers:- On-demand hourly GPU instances.
- Often also offers interruptible/spot-like options at a discount (depending on region and product tier).
- Storage volumes may be separate (persistent network volume billed monthly; ephemeral included while running).
- Whether billing continues when the pod is “stopped” vs “running” (depends on storage/volume allocation).
- Volume costs: persistent storage can quietly add up if you leave large volumes.
Lambda (more “traditional” GPU cloud)
Lambda tends to feel closer to an enterprise cloud provider:- Clear instance types (GPU + CPU + RAM bundles).
- On-demand hourly and sometimes reserved/committed options (varies by offering).
- Generally stable performance and support.
- Higher sticker price than marketplaces—but less variability and operational friction.
- Egress and storage can still matter, especially for production inference.
CoreWeave (specialized GPU cloud, often enterprise-oriented)
CoreWeave is known for:- Large-scale GPU availability (including high-end GPUs like H100).
- Pricing that may involve contracts, reserved capacity, or committed spend, especially for serious usage.
- More “infrastructure platform” feel with Kubernetes and enterprise features.
- Complexity: you may need more cloud/networking knowledge.
- Best value often comes with sustained usage or negotiated terms.
---
Practical cost comparisons: choose by $/job, not $/hour
Example 1: A100 vs H100 for training
Assume:- A100 costs $2.00/hour, job takes 20 hours → $40
- H100 costs $3.50/hour, but job takes 10 hours → $35
Example 2: 4090 fits the model, A100 doesn’t help
If your fine-tune fits in 24GB VRAM with techniques like:- LoRA/QLoRA
- gradient checkpointing
- 4-bit quantization
But if your workload needs >24GB VRAM without heavy compromises, a 4090 can force slow offloading or smaller batch sizes, increasing runtime and cost.
---
Reserved vs on-demand: a simple decision rule
Use this rule of thumb:
- If you’ll use the GPU < 30% of the time, prefer hourly/on-demand.
- If you’ll use it > 60% of the time, consider monthly or reserved.
- Between 30–60%, compare the break-even point.
- Monthly equivalent hours = 900 / 1.50 = 600 hours
- 600 hours / 730 ≈ 82% utilization
---
Cost optimization strategies for ML/AI workloads
Right-size VRAM first
VRAM is usually the limiting factor. Pick the cheapest GPU that:- can hold your model + activations + batch (or supports your sharding/offloading strategy)
- meets your training time goals
Use interruptible/spot for fault-tolerant training
If your provider offers cheaper “interruptible” GPUs:- Save checkpoints frequently (e.g., every N steps or minutes).
- Store checkpoints on persistent/object storage.
- Use training frameworks that resume cleanly.
Avoid paying for idle time
Common beginner mistake: leaving an instance running while not using it.Tactics:
- Automate shutdown after training completes.
- Use ephemeral instances and keep data in object storage.
- For notebooks, separate “interactive dev” from “batch training.”
Minimize egress by moving data and compute together
If your dataset is in one cloud/provider and GPUs are elsewhere, you may pay:- transfer time (slower training)
- egress fees (surprising bills)
Measure throughput, not vibes
Two “A100” listings can perform differently due to:- CPU bottlenecks (slow dataloading)
- slow network storage
- thermal throttling / oversubscription (more common in marketplace settings)
- steps/sec (training)
- tokens/sec (LLM inference/training)
- GPU utilization (%), data loader time
---
A beginner-friendly checklist before you rent a GPU
Hardware fit
- GPU model and VRAM (A100 40/80, H100, 4090 24GB)
- CPU cores and RAM (enough to feed the GPU)
- Disk type and size (ephemeral vs persistent)
Pricing details
- Billing granularity (per minute vs per hour)
- Charges while stopped/idle (especially volumes)
- Storage $/GB-month and snapshot costs
- Network egress $/GB
Reliability and workflow
- Can you resume from checkpoints easily?
- Is this for interactive dev or batch jobs?
- Do you need an SLA/support (more likely with Lambda/CoreWeave than a marketplace host)?
Putting it together: choosing a provider model
- Choose Vast.ai if you want the lowest cost and can tolerate variability; great for experiments and non-critical workloads.
- Choose RunPod if you want a smoother developer experience with flexible hourly pricing and often good availability across GPU types.
- Choose Lambda if you want clearer instance types, stable performance, and a more traditional cloud feel—even if the price is higher.
- Choose CoreWeave if you’re scaling up, need lots of top-tier GPUs, and can benefit from reserved/contract capacity.