Axisdream
Written and Published byAxisdream·

Self-Hosting Costs More Than the GPU

A GPU cost line beside the operational costs that surround it

Key Takeaways

  • •The break-even point for running a model yourself depends on utilisation, not on price per token. Most self-hosting estimates leave out half the costs.
  • •Examines the full cost stack, analyzing the structural bottlenecks and trade-offs in real-world deployments.
  • •Provides engineering benchmarks and verification criteria for utilisation is the variable that decides.

Australia's November 2026 guidance on open-weight models discusses total cost of ownership alongside its security analysis, and it makes the point that a self-hosted deployment carries costs the hardware price does not capture.

That is the number most self-hosting calculations get wrong. A comparison that puts a GPU rental against an API rate per million tokens is comparing a capital cost against a unit price, and the two only become comparable once utilisation is in the model.

The full cost stack

Four categories, and most estimates include only the first.

Hardware or rental is the visible cost: a GPU, or an hourly rate for one. It is the easiest number to find and the least informative on its own.

Memory is the constraint that decides whether a workload is feasible at all. Model weights plus the key-value cache for concurrent requests plus the runtime overhead determine the minimum card. A model that needs eighty gigabytes of weights does not run on a card with forty, regardless of the price.

Operations are the recurring costs that scale with time rather than with tokens. Power and cooling for owned hardware. Monitoring, logging and alerting. Security patching for the host and the inference stack. Model updates when the weights change, which for an active open-weights release can be monthly.

Engineering is the cost that dominates at small scale and disappears at large scale. Someone has to build the deployment, tune batching, handle failures, manage capacity and respond to incidents. A team that already runs infrastructure absorbs this into existing roles. A team that does not is hiring for it.

The Australian guidance frames this as total cost of ownership for a reason. The hardware is an input. The system that surrounds it is the cost.

Utilisation is the variable that decides

An API charges per token and the provider absorbs the risk of idle capacity. A self-hosted deployment pays for the card whether or not it is working.

That asymmetry means the comparison flips with load.

A service that processes ten thousand tokens a day uses a rounding error of a GPU's capacity, and the API bill for that volume is small enough that almost any self-hosted arrangement costs more. The break-even point sits far above that.

A service that processes a billion tokens a day can saturate hardware continuously, which is the condition under which self-hosting wins, because the fixed cost is amortised across a volume that keeps it busy.

Between those extremes sits most real workloads, and the honest answer there is that the break-even is workload specific and often closer to the API than intuition suggests.

Bursts make it worse. A workload that needs capacity for two hours a day has to pay for hardware that idles for twenty-two, and an API absorbs that burst at the same unit price as steady traffic. Self-hosting a bursty workload is a decision to fund idle capacity permanently.

Throughput has two regimes

Prefill processes the input and decode generates the output, and they scale differently.

Prefill parallelises across the sequence, so a long prompt is processed quickly relative to its length. Decode generates one token at a time and each step reads the whole key-value cache, so it is memory-bandwidth bound rather than compute bound.

The practical consequence is that throughput depends on the mix of input and output length. A workload with long prompts and short answers behaves differently from one with short prompts and long answers on the same hardware, and the token-per-second figure on a spec sheet describes neither.

Batching changes the picture further. Serving several requests together improves utilisation of the compute units, which raises total throughput and per-request latency at the same time. A system tuned for throughput and one tuned for latency are configured differently on identical hardware.

The number that should be compared

Cost per token is the metric the API publishes and the wrong metric for most decisions.

The right one is cost per successful task. A cheap model that requires three attempts has a cost three times its per-token rate plus the engineering to detect the failures. An expensive model that succeeds once is often cheaper.

Applied to self-hosting, the same principle holds with more force. A self-hosted deployment that runs a smaller model because that is what the hardware supports may cost more per completed task than an API running a larger model, even when the per-token cost of the local deployment is lower.

For an agentic workload the effect compounds, because each task involves many model calls. A failure that forces a retry of a twenty-step task costs twenty times a single call, and the failure rate becomes a multiplier on the whole calculation.

When self-hosting genuinely wins

Five conditions, and a deployment that meets most of them is usually right to run its own.

Volume is high enough to keep hardware busy, which means continuous utilisation rather than occasional peaks. Data cannot leave the environment, because regulation or contract requires it, and that constraint alone can make the economics secondary. The workload is stable, so the model does not need to change monthly and the tuning investment pays back. The team already operates infrastructure, so the engineering cost is absorbed rather than new. And the latency requirement is strict enough that a network round trip matters.

Four of the five are non-economic, which is a useful thing to notice. The strongest cases for self-hosting are about control rather than about price, and the price argument alone rarely survives an honest accounting.

What to calculate before committing

The calculation is short enough to run on a page.

Measure the current token volume, split by input and output, and the peak rather than the average. Identify the smallest configuration that serves the peak at acceptable latency, including the key-value cache for expected concurrency. Price it for a year including power, monitoring and the engineer time it will consume. Compare against the API bill for the same volume at current rates, with a margin for the model improving over that year.

The last item is the one most estimates omit. An API's price per token has fallen repeatedly, and a self-hosted deployment locks in hardware for a service whose alternative price is dropping. A three-year amortisation assumes the comparison stays fixed, and it rarely does.

The model that argues for patience is the one where the workload is small, the hardware is expensive and the API price is falling. The LFM3 family, at 1.7 billion parameters and roughly a gigabyte of weights at 4-bit precision, is a genuine exception, because a model that fits on a laptop changes the analysis entirely. That is a different calculation from serving a sparse model with hundreds of billions of parameters, and conflating the two is how the cost question gets answered badly.

Related Dispatches