GPU Inference Cost Calculator

Translate GPU hours into capacity and unit cost.

Estimated GPU compute cost USD 1,440.00
Inputs
Try:
Display denomination only. No exchange-rate conversion is applied.
USD / GPU-hour
On-demand or allocated hourly compute rate.
hours / month
Scheduled monthly hours.
%
Fraction of scheduled compute time productively used.
tokens / second
Measured end-to-end sustained model throughput.
tokens / month
Monthly workload volume.
Results & Graph
Estimated GPU compute cost
USD 1,440.00

Estimated GPU compute cost

Graph 1 • Calculator-specific flow Shows the calculated components and current result from this tool.
Estimated GPU compute costCompute spend1.4kToken capacity1296.0MTarget workload …1.1kEstimated GPU compute cost: USD 1,440.00
Graph 2 • Modeled quantities Compares the values returned by the active calculation.
Compute spend 1.4k Token capacity 1296.0M Target workload cost 1.1k
Graph 3 • Calculation checkpoints Displays the engine’s named calculation points in order.
0cost 699.8Mcost 1399.7Mcost Compute spend: 1,440 cost 1.4k Compute spend Token capacity: 1,296,000,000 cost 1296.0M Token capacity Target workload cost: 1,111.111 cost 1.1k Target workload cost
Summary: 1,296,000,000 tokens capacity (USD 1.11/1M tokens; USD 1,111.11 for 1,000,000,000 target tokens).
Summary: 1,296,000,000 tokens capacity (USD 1.11/1M tokens; USD 1,111.11 for 1,000,000,000 target tokens).
⚠️ Throughput must represent measured end-to-end sustained throughput for the chosen workload.
Interactive chart & math engine powered by CalculatorGraph

Formula: GPU Inference Cost Calculator

Compute cost = hourly rate × hours
token capacity = throughput × seconds × utilization.
Compute cost = hourly rate × hours; token capacity = throughput × seconds × utilization.
  • Inputs: All units, rates, and allowances are entered by the user.

Rounding: Displayed values are rounded for readability; package and item quantities round upward.

Frequently Asked Questions

Why doesn't lower utilization reduce my GPU cost?

Because the compute cost is rate multiplied by hours, and you pay for reserved hours whether the GPU is busy or not. Lower utilization reduces the tokens you get for that money, so the cost per million goes up instead. To cut the bill itself, you have to cut hours, for example by stopping GPUs when traffic is low.

What does the multiple in the capacity warning mean?

It is the target divided by capacity. On the default allocation, a target of two billion tokens gives about 1.54, meaning you would need roughly 1.54 times the GPU hours at the same throughput and utilization. In practice you buy hours in whole GPUs, so round up, and add headroom for peaks rather than planning to run exactly at the limit.

Should throughput be per request or for the whole server?

For the whole server. Cost depends on how many tokens the GPU produces in total per second, across every request it is handling at once. A single stream's speed is usually much lower than the batched total. Measure under realistic concurrent load and enter the aggregate figure, or capacity will be badly understated. Note the batch size and context length you tested with.

How do I get utilization from my own logs?

Add up the tokens you actually served over a period, then divide by the tokens the GPU could have produced at its sustained throughput for every allocated hour in that period. The ratio, as a percentage, is your effective utilization. Use a full month if possible so that weekends and quiet nights are included. Recheck it after any change in traffic or serving software.

Is the target token cost what I will actually be billed?

No. It prices your token target at the per-million rate. Your bill is the compute cost, set by hours and rate. On the default the target costs $1,111.11 while the bill is $1,440.00, because the GPU has spare capacity. Only if you can scale hours down to match demand does the bill approach the target figure.

What if my target is bigger than the capacity?

Then the allocation cannot serve it, and the result line says so with a warning and a multiple of the GPU hours you would need. The target cost will exceed the compute cost, which is impossible on those hours, since a GPU cannot produce more tokens than its capacity. Add GPU hours, raise utilization or improve throughput until capacity is at least as large as the target, and leave some headroom for traffic peaks. Rerun the calculator after each change.

How many hours should I enter for one GPU for a month?

The default 720 hours is thirty days of continuous running. Add another 24 hours for a thirty-one day month if you want precision, or enter fewer hours if the GPU runs only part of the day. For on-demand capacity you stop overnight, enter only the hours it is actually running, including time spent loading the model.

Can I compare this against a per-token API price?

Yes, that is what the cost per million figure is for. Put the per-million result from this page next to the API's price per million for a model of similar quality, making sure you count the same kind of tokens on both sides. Then add your self-hosting overheads, such as storage and engineering time, before deciding. An API also removes the risk of paying for idle hours.

Does a cheaper GPU always give cheaper tokens?

Not necessarily. Cost per token depends on the rate divided by throughput. A GPU at half the hourly rate that delivers a third of the throughput produces more expensive tokens. Measure your model's throughput on each option, then run the calculator for both with the same utilization and compare the per-million figures. Memory matters too, since a model that does not fit forces a split across more GPUs.

How do spot or interruptible GPUs fit in?

Enter their hourly rate as normal, but lower the effective utilization to account for time lost when instances are reclaimed and restarted. For interactive services, plan for fallback capacity at the on-demand rate as well. For batch work that can resume after an interruption, spot capacity often gives the lowest per-million cost, provided the job saves its progress regularly.

A rented GPU bills by the clock, not by the token

The headline here is the simplest number on the page and the one people most often misread. Estimated GPU compute cost is the hourly rate multiplied by the hours you hold the GPU. On the default, 2 per GPU-hour for 720 hours is $1,440.00. Nothing else feeds into it.

Change utilization, throughput or the token target and that figure does not move. Drop utilization from 50 to 25 per cent and the answer still reads $1,440.00. That is correct. A provider renting you a GPU charges for the time it is reserved for you, whether it is busy or idle, so the bill is fixed once the rate and hours are fixed.

What the other inputs change is the line underneath: how many tokens that money can produce, and so what each million tokens costs you. That is where self-hosting is won or lost. Two teams paying the same $1,440.00 can end up with very different costs per token, depending on how much useful work they get out of the same hours.

From throughput to 1,296,000,000 tokens of capacity

Capacity is throughput multiplied by the number of seconds in your allocated hours, then by effective utilization. On the default, 1,000 tokens per second, sustained over 720 hours, at 50 per cent utilization, gives 1,296,000,000 tokens a month.

That is just under 1.3 billion tokens. It is a ceiling, not a forecast: the most this allocation can produce if your throughput and utilization figures are right.

Divide the compute cost by capacity in millions and you get the cost per million tokens, $1.11 on the default. That figure is what you compare against a per-token API price. If a hosted API would charge you less than this per million for the same model quality, renting the GPU is not saving money at your utilization.

Capacity moves in a straight line with each of the three inputs. Doubling utilization from 50 to 100 per cent doubles capacity and halves the per-million cost to $0.56. Halving throughput halves capacity and doubles the per-million cost to $2.22.

Measuring sustained throughput on your own setup

Sustained Throughput is the field most likely to be wrong, because the number people quote is often the wrong kind. A single request streaming its reply may produce tokens at one speed. A server handling many requests at once, batching them together, can produce far more tokens per second in total. For cost, the total is what counts.

Measure it under a load that looks like your real traffic: your model, your hardware, your serving software, your typical prompt and reply lengths, and a realistic number of simultaneous users. Run it long enough to settle, then divide the total tokens produced by the seconds elapsed.

Be clear which tokens you are counting. Processing the prompt and generating the reply are different workloads, and a benchmark may report only one. Whatever you measure, count the same kind of tokens in Tokens to Serve, or the comparison between capacity and demand will be meaningless.

Do not use a figure from a hardware vendor's announcement or someone else's benchmark without testing. Model size, precision, context length and batch size can each change throughput many times over.

Effective utilization: the 50 per cent default and real traffic

Effective Utilization is the share of the allocated time during which the GPU actually runs at the sustained throughput you measured. The default assumes half.

Real traffic is uneven. A customer-facing service might be busy in business hours and quiet at night. A GPU sized for the peak sits mostly idle the rest of the time, and its average utilization can be well below half. A batch job that processes a queue around the clock can run close to full.

The best source for this number is your own logs. Take the tokens you actually served last month and divide by what the hardware could have produced if it had run flat out for every allocated hour. That ratio is your effective utilization.

At 80 per cent, the default allocation's cost per million falls to $0.69. At 25 per cent it rises to $2.22. Moving utilization is usually cheaper than buying faster hardware: batching requests together, scheduling batch work into quiet hours, or shutting GPUs down when traffic is low all raise it.

The field must be above zero and at most 100 per cent, and the calculator rejects anything outside that range. If your own logs suggest a figure above 100, the throughput you measured is too low, so measure it again under heavier load.

Reading the target-token figure against the bill

The last part of the interpretation line prices your Tokens to Serve at the per-million cost. On the default, 1,000,000,000 target tokens at $1.11 per million is $1,111.11.

That is not what you will pay. If you hold the GPU for all 720 hours, the bill is $1,440.00 whatever you serve. The $1,111.11 is the cost of the tokens you need, if you could buy capacity in exactly that amount. The gap between the two, about a quarter of the bill, is spare capacity you pay for and do not use.

Read it the other way too. Your target is about 77 per cent of the 1,296,000,000 token capacity. If your provider lets you scale down or stop the GPU when idle, you could in principle cut hours to match the target, and the bill would approach the lower figure.

When the target is larger than capacity, the line adds a warning and an estimate of how many times the GPU hours you would need. Doubling the target to two billion tokens on the default allocation gives a target cost above the $1,440.00 bill and a warning that you would need about 1.54 times the hours. The target cost there is not something you can pay on this allocation; it tells you to add hours or speed up serving. Always compare target with capacity before trusting the final figure. In practice you also want headroom above the target, since traffic arrives in bursts and a GPU running at its limit makes users wait. Many teams size capacity well above average demand for that reason, which is another way of saying they accept lower utilization in exchange for responsiveness.

Hourly rates: 1, 2 and 3 per GPU-hour

The three presets vary only the hourly rate. At 1 per GPU-hour the compute cost is $720.00 and the per-million cost $0.56, with the target tokens priced at $555.56. At 3 per GPU-hour the bill is $2,160.00, the per-million cost $1.67 and the target $1,666.67. Everything scales in proportion, because capacity does not depend on price.

When you look up a rate, read the unit carefully. Cloud providers often price whole instances, and an instance may contain one GPU or several. If the price is per instance-hour, either divide it by the number of GPUs and work per GPU, or keep it per instance and enter the whole instance's throughput.

The same hardware can carry several prices. On-demand rates are the highest. Reserved capacity committed for months or years is usually cheaper but billed whether you use it or not. Interruptible or spot capacity can be cheaper still but may be taken back at short notice, which matters for a live service. Enter the rate you will actually pay, after any discount you have agreed, and check whether storage, network transfer or a minimum billing period are charged separately.

More than one GPU: hours, replicas and split models

The hours field is in GPU-hours, so a month of one GPU is 720 hours of continuous running. How you enter several GPUs depends on how they work together.

If you run independent copies of the model, each on its own GPU, keep throughput at the figure for one copy and multiply the hours. Two replicas for a month is 1,440 hours. The cost doubles and so does capacity, so the cost per million stays at $1.11.

If one copy of the model is split across several GPUs because it does not fit on one, treat the group as a single unit. Enter the group's combined hourly rate, 720 hours, and the throughput the group delivers together. Entering the GPU count in hours while also using the group's throughput would count capacity twice.

Whichever way you choose, keep the three fields consistent: rate per unit-hour, hours of that unit, and throughput of that unit.

Costs a GPU-hour rate leaves off the invoice

The estimate covers compute time only. Running your own inference also needs disk to hold model weights, network transfer to and from users, load balancing, monitoring and, for most teams, someone's time to keep the service up and patched.

There are also hours you pay for that serve no traffic: startup while weights load, test deployments, and capacity kept warm for failover. If you keep a standby GPU for reliability, add its hours.

None of these make self-hosting the wrong choice, but they belong in the comparison with a per-token API. A fair comparison puts the per-million figure from this page, plus your share of those extras, against the API's price per million for a model you consider equivalent.