GPU Utilization: The Number That Decides Self-Hosted AI Cost
GPU utilization LLM cost decides what each self-hosted request costs. Learn how idle hardware, batching and steady volume change it, with a worked example.
Updated
Self-hosted LLM cost per request is the hourly cost of the machine divided by the number of requests it finishes in that hour. GPU utilization, the share of each hour the hardware spends doing real work, sets that request count, so it is the first number to watch.
Why is self-hosted LLM so expensive?
A self-hosted model bills you for the machine every hour, busy or not. An API bills per token, so an idle hour costs nothing. The hardware bill does not shrink on a quiet Sunday. That gap is why the same model can cost less or more than an API, depending on how full the machine stays.
What is idle GPU cost?
Idle GPU cost is the money spent on hours when the hardware waits for requests. It does not show up as a separate line on your invoice. It is capacity you paid for and did not use, and its cost is spread across every request you do send.
Here is a hypothetical example with round numbers. Suppose a server costs $10 an hour and finishes 1,000 requests in an hour at full use. At full use, each request costs $0.01. At 10% use, the same hour finishes 100 requests, and each one costs $0.10. The machine did not change. Only the traffic did.
How do I calculate self-hosted inference cost per request?
Work it in three steps:
- Add up the hourly cost of the machine, including storage, networking and the engineering time to keep it running, spread across the hours you pay for.
- Measure how many requests it finishes per hour at the concurrency you will really run, not from a single-request test.
- Divide the first number by the second.
Check the result against your real traffic. A figure from a test rig is only a starting point.
What is self-hosted LLM cost per token?
It is the same division with tokens in place of requests. Use the hypothetical server above and assume each request uses 500 tokens. A full hour then handles 500,000 tokens, which works out to $20 per million tokens. At 10% use, the same machine handles 50,000 tokens an hour and costs $200 per million.
For comparison, Claude Opus lists at $4 per million input tokens and $20 per million output tokens. Claude Haiku lists at $0.10 input and $0.50 output for prompts up to 100K tokens. Anthropic’s Batch API is half price. Input and output tokens are priced differently on the API, so a single blended rate is only a rough comparison. Check the current pricing page of any other vendor, because prices change.
How do batching and steady volume change the math?
Batching runs several requests through the model together, so the hardware does more work in each pass. Steady volume keeps the queue from running dry. Both raise utilization, and higher utilization lowers the cost of each request. Concurrency is the setting that decides how much batching you get, as covered in concurrency in LLM serving.
In our own serving runs, with 32 requests at a time, the Accuracy tier processed about 5,100 tokens per second and the Standard tier about 14,000, counting input and output across all requests. One request at a time, they write about 90 and 174 output tokens per second. Standard handled 2.7x more documents an hour than Accuracy. These figures come from one setup, so treat them as a reference point, not a promise for your traffic. For the difference between speed per request and total output, see throughput vs latency.
Spiky traffic hurts. If a machine sits at 10% use on most days and peaks for an hour, you either pay for the whole day to cover that hour or you queue requests at the peak. Either way, the number to check is average utilization across the hours you pay for.
When is self-hosting the wrong choice?
Low volume is the usual case. If your traffic is small or uneven, an API charges only for the calls you make, and a server that sits idle costs more per request. Self-hosting also means you run the uptime, updates and security work that a provider would otherwise handle. The full picture is in LLM total cost of ownership.
Frequent change is another case. A task that shifts every few weeks needs a new test set and a new training run each time. Fine-tuning fits one narrow task with good data.
To see your own cost per request, run the free AI cost audit inside a repository, or book a call with Own Weights. The audit lists your AI calls, models and estimated cost, so you can see which tasks have enough steady volume to justify hardware you keep busy.
Questions
Why is self-hosted LLM expensive?
The machine costs the same whether it is busy or idle, so cost per request rises whenever traffic falls. An API bills only for the tokens you send, which makes it cheaper at low volume. Self-hosting tends to pay off only when the hardware stays busy for most of its hours.
What is idle GPU cost?
Idle GPU cost is the spend on hours when the hardware waits for requests and does no useful work. It is capacity you paid for and did not use. The usual fixes are steadier traffic, batching, or running fewer machines.
How do I calculate self-hosted inference cost per request?
Divide the hourly cost of the machine by the number of requests it finishes in that hour, measured at the load you expect. Include storage, networking and the time it takes to keep the system running. Redo the number when your traffic or prompt length changes.
What is self-hosted LLM cost per token?
It is the same division with tokens in place of requests: hourly cost divided by tokens processed per hour. The result moves a lot with utilization, because the hourly cost stays fixed. Compare it against the current price list on each API vendor's pricing page.
How does GPU utilization affect LLM cost?
Cost per request falls as utilization rises, because a fixed hourly cost is spread across more requests. A fast machine that sits mostly idle can still cost more per request than a slower API. Utilization is the input that changes the answer most.