Choosing a GPU VPS for machine learning is overwhelming when you’re starting out. The options range from $0.30/hr consumer GPU instances to $5+/hr H100 clusters, with dozens of providers making contradictory claims. This guide breaks down the decision into four questions you need to answer before spending a dollar.
Question 1: How Much VRAM Do You Actually Need?
VRAM is the single most important hardware constraint for machine learning. If your model doesn’t fit in VRAM, nothing else matters. Here’s a practical guide:
| Task | Minimum VRAM | Recommended VRAM | GPU options |
|---|---|---|---|
| Stable Diffusion 1.5 / SDXL | 8 GB | 16–24 GB | RTX 4090, A10G |
| Fine-tuning 7B LLM (QLoRA) | 16 GB | 24–48 GB | RTX 4090, A100 40GB |
| Inference: 7B LLM (full precision) | 16 GB | 24 GB | RTX 4090, A6000 |
| Inference: 13B LLM | 28 GB | 48–80 GB | A100 80GB, H100 |
| Training 7B LLM from scratch | 80 GB+ | Multi-GPU | H100, A100 cluster |
| PyTorch training (custom model) | 8 GB | Depends on batch size | Any GPU |
Question 2: Managed Cloud vs P2P Marketplace?
Cloud GPU instances come from two types of sources: managed clouds like RunPod Secure Cloud or Lambda Labs, where the provider controls the hardware; or peer-to-peer marketplaces like Vast.ai or RunPod Community Cloud, where individual owners rent their GPUs.
Managed clouds have higher baseline prices but offer SLA-backed uptime, persistent storage, and reliable SSH connections. P2P marketplaces offer dramatically lower prices but instances can go offline mid-training if the host reboots their machine. For experiments under 2 hours, P2P is fine. For overnight training runs, use managed cloud.
Question 3: On-Demand vs Spot Instances?
Spot (preemptible) instances can cost 60–90% less than on-demand — but Google Cloud or AWS can reclaim them with 30–90 seconds’ notice. If your workload supports checkpointing (saving model state every N steps), spot instances dramatically reduce training costs. If you can’t checkpoint, stick to on-demand to avoid losing hours of training.
Question 4: Which GPU VPS for Machine Learning Should Beginners Start With?
For most beginners selecting a GPU VPS for machine learning, RunPod is the best starting point. The interface is beginner-friendly, templates for popular frameworks are one click away, and pricing is competitive. Create an account, add $10, and you can start a Jupyter Notebook or Stable Diffusion instance in under 5 minutes.
Once you’re comfortable, explore Vast.ai for cheaper options and compare on our GPU cloud comparison page.
Estimated Monthly Costs for Common ML Workloads
- Stable Diffusion hobby use (2 hr/day, RTX 4090 on Vast.ai): ~$18–27/month
- LLM fine-tuning (10 hr/week, A100 on RunPod): ~$65–80/month
- LLM inference API (24/7, A100 on RunPod): ~$1,180/month
- Foundation model training (H100 cluster, 30 days): $1,800–2,500/month per GPU
Five Mistakes to Avoid When Choosing a GPU VPS for Machine Learning
Most GPU VPS mistakes are avoidable and expensive. The most common: optimizing for hourly rate instead of cost per experiment. An H100 at $2.49/hr that completes your training run in 3 hours costs less than an A100 at $1.64/hr running for 8 hours — $7.47 versus $13.12. Always estimate total job cost, not hourly rate.
Second: ignoring billing granularity. Lambda Labs bills per full hour; a 90-minute job costs 2 hours. RunPod bills per second; the same job costs exactly 90 minutes. For iterative ML development where you test frequently, per-second billing saves real money. Third: choosing spot instances for a workload that cannot checkpoint. If a preempted instance destroys 5 hours of training progress, you’ve paid more than on-demand would have cost. Fourth: not accounting for storage costs — model weights, training data, and checkpoint files add $0.05–0.10/GB/month depending on provider. A 400 GB dataset storage bill silently exceeds GPU compute for low-usage research accounts. Fifth: over-provisioning VRAM. An instance with 80 GB VRAM for a workload that needs 24 GB costs 3.3x more than necessary — and adds no performance benefit.
When to Move Beyond Single-GPU VPS to Multi-GPU Clusters
Single-GPU VPS instances cover most individual developer and research team needs. The signal that you need to move to multi-GPU cluster infrastructure: training a model over 7 billion parameters from scratch, distributed fine-tuning where per-GPU memory exceeds single-card VRAM, or inference serving at thousands of requests per minute that requires load balancing across multiple GPUs. At that scale, CoreWeave, Lambda Labs cluster offerings, or managed cloud Kubernetes GPU clusters become the right tool — at significantly higher cost and operational complexity. Most teams stay on single-GPU VPS far longer than they expect to; the jump to clusters is rarely necessary before a production product is generating revenue.
For current provider pricing, see our GPU cloud pricing comparison. For a side-by-side provider comparison, see RunPod vs Vast.ai vs Lambda Labs. To understand how GPU generation affects cost per token for inference workloads, see our H200 vs B200 vs H100 cost per token guide.