Cloud Pick Guide

Home / Rent a GPU

How to rent a GPU in the cloud

Renting a GPU by the hour beats buying for most AI work. Here is how to size it, where to rent it, what it costs, and the billing traps to avoid.

  • From $0.27 an hour
  • 8 providers compared
  • Hourly, no contract
  • Steps and pitfalls

Some links on this page are affiliate links.

On this page
  1. What GPU you need
  2. Kinds of provider
  3. What it costs
  4. Step by step
  5. Costs people miss
  6. Renting on Vultr
  7. Questions people ask

Key takeaways

  • Size by memory first. The GPU must hold your model and its context; use our VRAM calculator.
  • GPU clouds cost less than the big three. The same GPU is often half the price or less, billed by the hour with no contract.
  • Expect limits on a new account. Request GPU quota or a higher spending limit before you need it.
  • Delete the server to stop paying. On Vultr and some other clouds, a powered-off GPU server is still billed.

1. Work out what GPU you need

Memory decides what fits; memory bandwidth decides how fast it runs. A rough guide:

What you want to doGPU memoryTypical GPU
Chat with or serve a 7–8B model16–24 GBL4, RTX 4090, A10G
Serve a 14–32B model, or generate images24–48 GBA40, L40S, RTX 6000 Ada
Serve a 70B model at 4-bit45–50 GBA40 or L40S with a short context, or an 80 GB GPU
Serve a 70B model at 16-bit, or long contexts for many users160 GB or more2–4 × A100 or H100, or 2 × H200
Fine-tune with LoRA or QLoRA24–80 GBL40S, A100
Fully fine-tune or trainabout 16 bytes per parameter before activationsSeveral A100, H100 or H200 with NVLink

For a specific model and context, the VRAM calculator gives a number and the cheapest GPUs that fit. The training figure is the usual estimate for mixed-precision training with the Adam optimizer, from the ZeRO paper.

2. Pick the kind of provider

Kind of providerExamplesGood atWatch out for
Big cloudsAWS, Azure, Google CloudMany regions, everything else you need in one account, enterprise contractsHighest on-demand prices; new accounts must request GPU quota and wait
GPU and developer cloudsLambda, Runpod, CoreWeave, DigitalOcean, VultrLower prices, quick sign-up, simple hourly billingPopular GPUs sell out; fewer extra services
MarketplacesVast.ai, Runpod Community CloudThe lowest pricesMachines run by third parties; reliability and data handling vary

3. What renting costs

Lowest on-demand price for one GPU in each memory size, what it costs to run non-stop for a month (730 hours), and the lowest price at AWS, Azure or Google Cloud for comparison:

GPU memoryCheapest single GPUMonth, non-stopBig three, lowest
16 to 24 GB$0.27RTX A5000, Runpod$197$0.707L4, Google Cloud
40 to 48 GB$0.59A40, Runpod$431$1.861L40S, AWS
80 GB$2.09A100 80 GB, Runpod$1,526$3.431A100 80 GB, AWS
94 to 141 GB$3.19H100 NVL, Runpod$2,329$6.98H100 NVL, Azure

Full lists: cheapest cloud GPU, A100, H100, H200 and L40S prices.

4. Renting a GPU, step by step

  1. Create an account and verify payment. Most providers want a card; some take PayPal.
  2. Ask for GPU access. Request quota (AWS, Azure, Google Cloud) or a higher spending limit (Vultr and others) for the GPU you want.
  3. Pick the GPU and region. Popular GPUs are not open in every region; try another region if one is full.
  4. Pick an image with drivers. Most GPU clouds offer images with the NVIDIA driver and CUDA ready.
  5. Add an SSH key and a firewall that allows only SSH from your address.
  6. Run your work, keeping data you need on separate storage or your own machine.
  7. Delete the server when you are done.

5. Costs people miss

  • Stopped is not deleted. Vultr and DigitalOcean bill a powered-off server like a running one; AWS, Azure and Google Cloud stop the GPU charge for a stopped instance but keep charging for its disks.
  • Billing unit. Per-second billing makes short jobs cheap; per-hour billing rounds up.
  • Storage and transfer. Model files run to tens of gigabytes. Check included disk, extra storage and outbound transfer prices.
  • Availability. A GPU listed on the price page may have no free capacity today. Check before you plan around it.
  • Spot and marketplace machines can be taken back mid-job. Save checkpoints.

Renting a GPU on Vultr

  • Open now: A40 ($1.712 an hour, 2 regions) and A100 80 GB ($2.397 an hour, New Jersey). The A16 ($0.471 an hour) is sold for virtual desktops and video. Regions open and close as capacity changes.
  • Software: standard images install the NVIDIA driver and CUDA at first boot. Our guides set up vLLM or Ollama.
  • Billing: by the hour, for every hour the server exists, stopped or not.
  • Credit: new accounts can get up to $300 for 30 days, about 175 hours of the A40. New accounts also have a spending limit; ask to raise it for larger GPUs.
Rent a Vultr GPU with $300 credit

New accounts only; the credit lasts 30 days.

Sources

Questions people ask

How much does it cost to rent a GPU?

From $0.27 an hour for a small GPU to $12.29 per GPU-hour for an H100 or H200 on the big clouds, on demand. Running one non-stop for a month costs 730 times the hourly price.

Where is the cheapest place to rent a GPU?

GPU clouds and marketplaces are cheaper than AWS, Azure and Google Cloud for the same GPU. See our cheapest cloud GPU page for the lowest price at each memory size.

Can I rent a GPU by the hour?

Yes. Most providers bill on-demand GPUs by the hour or by the second, with no contract. Some only bill while the server exists, others keep charging for stopped servers: delete it when you are done.

Why can't I start a GPU on a new account?

New accounts start with limits: AWS, Azure and Google Cloud make you request GPU quota, and Vultr caps what a new account's servers can cost. Ask for an increase before you need the GPU.

Is renting cheaper than buying a GPU?

For occasional or changing work, yes: you pay only for the hours you use and can switch models. Buying pays off only if the GPU is busy most of the time for a year or more.

Up to $300 free creditClaim credit