Vast.ai offers a marketplace for renting various GPUs, with prices varying based on the GPU type and whether you choose on-demand or interruptible instances[1][2]. Interruptible instances can offer significant cost savings, potentially 50% or more, through a spot auction-based pricing system[1][2].
Here are some example GPU prices per hour on Vast.ai, along with some relative performance information:
GPU Rental Prices (Median) on Vast.ai:
- RTX 4090: $0.39/hr[3]
- RTX 3090: $0.18/hr[3][4]
- H100 SXM: 2.20/hr[3](Startsfrom1.93/hr or $1.75/hr on some listings)[2]
- A100 SXM4: 1.00/hr[3](Startsfrom0.64/hr or $1.30/hr on some listings)[2]
- RTX 5090: 0.53/hr[3](0.69/hr on some listings)[1]
- H200: 3.30/hr[3](2.40/hr on some listings)[1]
- L40S: 0.68/hr[3](Rangesfrom0.53/hr to $0.94/hr)[5]
- L4: $0.39/hr[6]
Vast.ai also offers a variety of other GPUs, including RTX 3060, RTX 3070, RTX A4000, RTX A5000, RTX 3080, RTX A6000, RTX A2000, Tesla V100, RTX 4060 Ti, A40, and more, with prices ranging from around 0.03/hrtoover0.50/hr[3].
Relative Performance:
- The H100 is designed to be significantly faster than the A100 for machine learning workloads, with NVIDIA reporting up to 3 times the performance and independent benchmarks showing double the computation speed[7][8]. Although the H100 is more expensive per hour, if your workload is optimized for it, the faster processing time could potentially lead to lower overall costs compared to using an A100[7].
- The RTX 4090 can offer impressive performance for tasks like fine-tuning large language models. Benchmarks show the RTX 4090 performing significantly faster than an A100 for certain tasks, offering a better price-to-performance ratio in those cases[9].
- Vast.ai provides a metric called DLPerf (Deep Learning Performance) which is a scoring function to help predict hardware performance for typical deep learning tasks[1]. A higher DLPerf score indicates better performance and computational power[10].
It's important to note that the best GPU for your needs depends on your specific workload. Vast.ai's marketplace model allows for a wide range of options at competitive prices, and they offer features like on-demand and interruptible rentals to help optimize costs[1][2][11]. They also provide tools and templates to make it easier to deploy and manage your instances[5][12].