Part of the AI & Machine Learning suite · 24 calculators

Inference Throughput Calculator

How fast a model serves — tokens per second, time to first token, total latency, and what a served request costs on your own hardware.

Generation is memory-bandwidth bound, not compute bound: each token requires reading the whole model from memory, so tokens per second is roughly bandwidth divided by model size.

Results update as you type
Results
Tokens per second (total)
1,360.1
Tokens per second per request
Model size read per token (GB)
Generation time per request (s)
Requests per hour
Cost per request
Cost per million output tokens
Throughput gain from batching
Reviewed September 2026. Model arithmetic is the same everywhere: the same formulas in every market, in your own currency. The UK regulates AI through existing sector regulators rather than a single AI statute.
No account required · Google Analytics off unless allowedCalculator arithmetic runs in your browserResults update as you type
All calculations run 100% in your browser. The calculator code does not submit your figures to GlobalCalc to obtain a result.
About inference throughput

How the inference throughput calculator works

Generation is memory-bandwidth bound, not compute bound: each token requires reading the whole model from memory, so tokens per second is roughly bandwidth divided by model size. That is why a bigger model is slower even on the same card, and why quantisation speeds generation up as well as shrinking it.

Batching is the lever. One request wastes most of the bandwidth; batching amortises the same read across many requests, which multiplies throughput at the cost of a little latency per request.

Formula: tokens/s ≈ bandwidth / model bytes × batch efficiency

Worked examples

InputsTokens per second (total)Note
A 13B model at fp161,360.1batching multiplies throughput
No batching128.8the same card, a fraction of the output
4-bit weights5,440.4four times the token rate

Frequently asked questions

Why is generation memory-bound?

Because producing each token reads every weight in the model. The arithmetic is trivial next to the bandwidth needed to fetch the weights.

How much does batching help?

A great deal — the same weight read serves every request in the batch. Returns diminish, but going from 1 to 16 typically multiplies total throughput several times over.

Does batching make responses slower?

Slightly, per request. Total throughput rises far more than individual latency does, which is the right trade for a busy service.

Why does quantisation speed things up?

Because there are fewer bytes to read per token. 4-bit weights are a quarter the bandwidth of fp16, and generation scales almost directly with that.

What about the prompt?

Prompt processing is compute-bound and parallel, so it is fast — it is generation, one token at a time, that dominates latency.

Where these figures come from

Last checked: September 2026. The relationships here are architectural, not vendor-specific: bytes per parameter follow the numeric format, KV-cache size follows the transformer definition, and token-per-word ratios come from published tokeniser behaviour.