Inference cost calculator

What does a million tokens cost on hardware you own, and when does that beat an API or a rented GPU? Enter your own figures; every formula is published.

Formulas and assumptionsResearch behind it (OFL-006)

Skip to the results

Switching converts the amounts you entered. Rates: European Central Bank reference rates, as of 2026-11-27.

Hardware and depreciation

The machine you would buy or already own.

GBP

The complete machine, GPUs included.

GBP

The GPU share of the server cost.

GPUs
months

Straight-line write-off.

%

Share of the server cost still worth something at the end.

Power and hosting

What it costs to keep the machine running.

GBP per kWh
W

Whole machine at the wall when idle.

W

Whole machine at the wall while serving.

GBP per month

Colocation, bandwidth, networking, upkeep.

Throughput and workload

What the machine serves, and how fast.

tokens/s

At the concurrency below.

tokens/s

Used only when the output throughput above excludes prefill.

ratio
%

Share of input tokens served from cache.

requests
How much it is used

Share of all hours spent serving at the throughput above.

%

Above 0 and at most 100.

Compare with a per-token API (optional)

Enter the prices from the provider you would use. Prices are per million tokens.

GBP per million
GBP per million

Leave blank to use the input price.

GBP per million
Compare with renting GPUs (optional)

Enter an hourly price per GPU from a provider you would use.

GBP per hour
GPUs

Leave blank to use the number of GPUs above.

Estimate

Every figure below is computed from the inputs on the left by the published formulas.

Per million output tokens
£0.346
fully loaded, with example inputs
Per million tokens, input and output
£0.115
fully loaded, with example inputs
Per month
£131.05
fully loaded, with example inputs
Self-hosting, all figures in GBP. Fully loaded means depreciation, electricity and hosting.
Throughput
Effective output throughputAs entered; includes prefill.480.0 tokens/s
Per-stream decode speedAggregate divided by concurrency.30.0 tokens/s
Per month
Busy hours511 h idle.219 h
Output tokens served378.4 million
Input tokens processed756.9 million
Energy230 kWh
Depreciation£66.67
Electricity£64.39
Hosting and maintenance£0.00
Fully loaded£1,573 per year.£131.05
Per million output tokens
Fully loaded£0.346
Hardware onlyDepreciation spread over the tokens served.£0.176
Electricity while servingA floor, not a price: no idle, hosting or depreciation.£0.113
Efficiency
Output tokens per second per 1,000 of server cost160.0
Output tokens per second per watt0.686
Energy per million output tokens0.41 kWh

Monthly cost by utilisation

£0£50£100£150£2000%25%50%75%100%Utilisation (share of all hours spent serving)your scenario
  • Self-hosting (fully loaded)

The link holds your inputs and nothing else is stored or sent.