Skip to content
mentoor

Topic 5 of 5 · 6 min read

Comparing rented GPUs with owned hardware

Goal: Compute the break-even utilisation at which owned hardware becomes cheaper than renting or a hosted API.

Owned hardware costs you every hour whether you use it or not, while rental and hosted APIs cost you only when you use them, so the question is how busy you will keep the machine. The break-even utilisation is the share of hours at which the two cost the same.

Check yourself · 1 of 3

Why does utilisation decide whether owning or renting a GPU is cheaper?

Choose one answer

Why it matters

Buying a GPU feels like paying once. In fact you pay for the hardware over its life, plus electricity, plus your time. Renting feels expensive per hour. Neither is cheaper in general; the answer depends on usage, and a short calculation settles it.

The three options

  1. Own. Fixed cost: purchase price divided by hours of life, charged for every hour. Variable cost: electricity while it works.
  2. Rent a GPU by the hour. You pay an hourly rate while the instance runs. Cost per token depends on how well you keep it busy, and you manage the setup yourself.
  3. Hosted open-model API. You pay per million tokens and nothing when idle. No setup, no memory sizing, and prices are set by the provider.

The break-even calculation

All prices below are example numbers; use current quotes.

  • Machine price 3,000 over 3 years (26,280 hours): 0.114 per hour fixed.
  • Power: 450 W at 0.15 per kWh is 0.0675 per hour while working.
  • Rental of a comparable GPU: 0.50 per hour while used.

With utilisation u (share of hours busy), owning costs 0.114 + 0.0675u per hour, and renting costs 0.50u. They are equal where 0.114 = (0.50 - 0.0675)u, which gives u of about 0.26. Below roughly 26 percent, about 6 hours a day, renting is cheaper; above it, owning wins.

Cost per million tokens

Divide hourly cost by tokens per hour. If the machine generates 50 tokens/s for one user, that is 180,000 tokens per hour. At full use, 0.18 per hour gives about 1.0 per million tokens. With batched serving of many users the same machine may produce ten times more tokens, which cuts the cost per token tenfold. Compare that figure with a hosted API's price per million tokens: if the API is cheaper at your volume, buying hardware is justified only by privacy, offline use or control.

Before and after

Weak: "A 3,000 machine pays for itself against a 20-a-month subscription in a year." That ignores power, idle time and that the subscription gives you a stronger model. Fixed: calculate hours of real use, tokens per hour and cost per million tokens for each option, then compare.

What goes wrong

  • Forgetting idle time. A rented instance left running overnight burns money.
  • Ignoring quality. A hosted frontier model may do the job better than any model your hardware can hold.
  • Leaving out power, cooling and time. Setup and upkeep are real costs.
  • Treating prices as fixed. Hardware and API prices change; recheck each year.

Examples

Break-even for a 3,000 workstation

Fixed cost 0.114 per hour over 3 years. Power 0.0675 per busy hour. Rent 0.50 per busy hour. Break-even u = 0.114 / (0.50 - 0.0675) = 0.26, about 6.3 busy hours a day. A developer using it 2 hours a day (u = 0.08) should rent. A team's overnight batch jobs plus daytime use at u = 0.6 should own.

API versus rented GPU at low volume

A script needs 5 million tokens a month. At an example hosted price of 0.60 per million tokens, that is 3 per month. Renting a GPU for the 28 hours needed at 0.50 per hour costs 14, plus setup time. The API wins. At 2 billion tokens a month, the API bill is 1,200 and a utilised owned or rented machine is likely cheaper.

Key points

  • Owned hardware has a fixed hourly cost whether used or not; rented GPUs and APIs charge only for use.
  • Break-even utilisation equals the fixed hourly cost divided by the rental rate minus the owned variable (power) cost per hour.
  • Cost per million tokens is hourly cost divided by tokens per hour, so batching and high utilisation lower it sharply.
  • A hosted open-model API is the baseline to beat for low or bursty volume.
  • Privacy, offline use and control can justify owning even when it costs more per token.

Common mistakes

  • Comparing the purchase price to a monthly bill and ignoring idle hours and power.
  • Leaving rented GPU instances running while idle.
  • Comparing cost per token without comparing the quality of the models you can run.
  • Using one-user speed to compute cost per token for a machine that would serve many users in batches.

Check yourself · 2 of 3

A machine costs 0.10 per hour in depreciation and 0.05 per busy hour in power. Renting costs 0.40 per busy hour. What is the break-even utilisation?

Choose one answer

Check yourself · 3 of 3

Your workload is a few million tokens per month, in bursts. What is usually the cheapest way to run an open-weight model?

Choose one answer

Practice items, not counted towards your mastery.

Start here

More for this topic