Inference terms

Tokens per second: per-user vs total throughput

Tokens per second (TPS) measures LLM generation speed, and it has two meanings. Per-user TPS is how fast one response streams, roughly 1 divided by inter-token latency. System or aggregate TPS is the total output across all concurrent requests, which drives cost. Raising concurrency usually lifts aggregate throughput while lowering per-user speed, so always say which one you mean.

Two meanings of tokens per second

NVIDIA's benchmarking guide separates the two. System TPS is total output tokens across all simultaneous requests divided by the test window. It rises with concurrency until the GPU saturates and can fall after that. TPS per user is one request's output length divided by its end-to-end latency; for long outputs it approaches 1 divided by inter-token latency, and it falls as concurrency rises.

The two pull in opposite directions. A GPU serving one user at a time gives that user its full speed but wastes most of its capacity. The same GPU serving 64 users gives each one less speed but produces far more tokens in total. Vendor claims and benchmark posts often quote one without naming it, so check before you compare.

Two meanings of tokens per second
MetricFormulaWho caresEffect of more concurrency
Per-user TPSoutput tokens ÷ request latency (≈ 1 ÷ ITL)The person reading the streamUsually goes down
Aggregate (system) TPSall output tokens ÷ test durationWhoever pays for the GPUGoes up until saturation
Inter-token latency (ITL)(e2e latency − TTFT) ÷ (output tokens − 1)UX and SLO ownersUsually goes up
Requests per secondcompleted requests ÷ test durationCapacity plannersUp until saturation

References: NVIDIA NIM LLM benchmarking: metrics

TPOT vs ITL

Time per output token (TPOT) and inter-token latency (ITL) are closely related and sometimes used as synonyms; the NVIDIA guide treats them as the same average, computed as (end-to-end latency − TTFT) ÷ (output tokens − 1). The subtraction removes the first token, so the number describes only the decode phase.

Some tools keep them apart. vLLM exports vllm:request_time_per_output_token_seconds, a per-request average, and vllm:inter_token_latency_seconds, which records each gap between tokens. The averages match, but the gap histogram shows stalls that a per-request average hides, such as a pause while a long prompt is prefilled in the same batch. Read both when tuning.

References: NVIDIA NIM LLM benchmarking: metrics · vLLM documentation: Metrics design

Worked example: from ITL to cost

These numbers are illustrative assumptions, not measurements. At 1 concurrent request a model streams with 12 ms ITL, about 83 tokens/s per user. At 32 concurrent requests ITL rises to 25 ms, so each user gets 40 per second, but the server produces up to 32 × 40 = 1,280 tokens/s in total. At 128 requests ITL rises to 60 ms: about 17 per user and up to 2,133 total.

Cost per million output tokens = hourly GPU price ÷ (aggregate TPS × 3,600) × 1,000,000. At an assumed $2 per GPU-hour, the single-user setup costs about $6.69 per million tokens, the 32-user setup $0.43 and the 128-user setup $0.26. The aggregate figures are upper bounds that assume every slot stays full.

Worked example: from ITL to cost
Concurrent requests (illustrative)Assumed ITLPer-user tokens/sAggregate tokens/sCost per million at $2/h
112 ms8383$6.69
3225 ms401,280$0.43
12860 ms172,133$0.26

References: NVIDIA NIM LLM benchmarking: metrics

A ceiling you can estimate: memory bandwidth

At small batch sizes, decode is limited by how fast the GPU can read the weights from memory, because every output step reads all of them. A rough upper bound for single-stream speed is memory bandwidth ÷ bytes of weights read per token. Real engines land below it because of attention, cache reads and overhead.

An H100 SXM lists 3.35 TB/s of memory bandwidth. Llama 3.1 8B in BF16 is about 16 GB of weights, so the ceiling is roughly 3,350 ÷ 16 ≈ 209 tokens/s per stream. Quantizing to 8 bits halves the bytes read and roughly doubles the ceiling, which is one reason LLM quantization for inference speeds up decode. Batching reuses the same weight read across many sequences, which is why aggregate throughput climbs with concurrency. Once the batch is large enough, the bottleneck shifts from memory bandwidth to compute, and adding sequences stops helping. That turning point differs by GPU, model size and precision, so find it by measurement rather than by spec sheet.

References: NVIDIA H100 specifications

Measure tokens per second in vLLM, SGLang and llama.cpp

vllm bench serve reports output token throughput and, by default, TPOT and ITL percentiles. Sweep --max-concurrency (for example 1, 8, 32, 128) or --request-rate and plot per-user speed against aggregate throughput. On a live server, the vllm:generation_tokens_total counter divided by time gives aggregate output rate.

SGLang publishes sglang:gen_throughput, sglang:inter_token_latency_seconds and sglang:num_running_reqs when started with --enable-metrics. In llama.cpp, llama-bench runs a tg test (128 tokens by default) for generation speed and a pp test for prompt speed, and its -d option measures at a prefilled context depth, since speed drops as context grows. The llama.cpp server returns predicted_per_second in each response's timings.

Always state the input and output lengths, concurrency, model precision and GPU next to any figure. The method is covered in depth in benchmark LLM inference.

Measure tokens per second in vLLM, SGLang and llama.cpp
EngineAggregate throughputPer-user speedNote
vLLMbench serve output throughput; vllm:generation_tokens_totalTPOT and ITL percentilesSweep --max-concurrency
SGLangsglang:gen_throughputsglang:inter_token_latency_secondsNeeds --enable-metrics
llama.cppSum across server slotsllama-bench tg128; predicted_per_secondUse -d to test long contexts

References: vLLM serving benchmark options · vLLM documentation: Metrics design · SGLang documentation: Production metrics · llama.cpp llama-bench README · llama.cpp server README

What raises aggregate throughput

Continuous batching keeps the batch full as requests finish. A larger KV cache budget, from FP8 cache storage or a GPU with more memory, allows more concurrent sequences. Weight quantization cuts bytes read per step. Prefix caching saves prefill work that would otherwise share the GPU with decode.

Speculative decoding is different: it mainly raises per-user speed at low to medium load, and vLLM's documentation frames it as a way to cut inter-token latency in memory-bound conditions rather than to raise peak throughput.

References: vLLM documentation: Speculative decoding

Common misconceptions

These errors show up in GPU comparisons and in pricing estimates. Most come from mixing the two meanings.

Common misconceptions
MisconceptionWhat is actually true
A single number describes a GPUThroughput depends on model, precision, lengths and concurrency
More concurrency is always betterAggregate rises, but per-user speed and TTFT get worse
Prompt tokens count toward output speedPrefill and decode rates differ; report them separately
Peak benchmark throughput equals production throughputReal traffic is bursty; slots sit idle and costs rise
Faster per-user speed means cheaper tokensCost follows aggregate throughput per GPU-hour

References: NVIDIA NIM LLM benchmarking: metrics

Related terms

Time to first token measures the wait before decode starts. AI inference covers the whole serving process. PagedAttention and the KV cache set how many sequences fit in memory. Speculative decoding raises per-user speed when the GPU has spare compute.

Checklist and next step

Name the metric: per-user or aggregate. Fix input and output lengths. Sweep concurrency and record ITL, TTFT and aggregate throughput at each step. Pick the highest load that still meets your latency target. Convert that aggregate rate into cost per million tokens with your hourly price.

With that number in hand you can size a rental. NeuraMesh rents GPUs by the hour: choose a GPU, a plan, GPU count, hours and region on rent GPUs, and you receive a confirmed quotation, typically within one business day, with nothing charged until you approve. Not sure which card gives the best cost per token for your model? Ask the compute advisor.

NeuraMesh prices for these GPUs

NeuraMesh prices per GPU-hour in USD, excluding taxes, as of 2026-11-27. Live prices are on the rental pages.
GPUMemoryData centerValue
RTX 409024 GB$0.46$0.40
L40S48 GB$1.26$0.54
A10080 GB$1.56$0.98
H10080 GB$2.88$2.00

Every order is confirmed in a quotation before you pay. See all GPU prices.

Questions readers ask

What is a good tokens per second for an LLM?

For a person reading a stream, a per-user rate well above reading speed feels fast, and gains beyond that matter less to the reader than a short wait for the first token. For cost, what matters is aggregate throughput per GPU at the latency you accept, so compare that figure across GPUs.

How do I convert tokens per second to cost per million tokens?

Divide the hourly GPU price by aggregate output tokens per hour, then multiply by one million. At an assumed $2 per hour and 1,000 tokens per second, that is $2 ÷ 3.6 million × 1 million, or about $0.56.

Why does speed drop with long contexts?

Each decode step reads the cache for every earlier token, so longer contexts mean more memory traffic per token. llama-bench's -d option measures speed at a given context depth so you can see the drop.

Does a faster GPU always give more throughput?

Not always. Decode at small batch sizes is bound by memory bandwidth, so a card with more bandwidth helps single-stream speed. At high concurrency, compute and memory capacity for the cache matter more. Test the GPU with your model, precision and traffic pattern before committing to a long rental.

Is TPOT the same as inter-token latency?

They describe the same decode pace and share a formula in NVIDIA's guide. vLLM keeps both: a per-request TPOT average and a per-gap ITL histogram, which shows stalls an average hides.

Sources and editorial notes

Primary documentation reviewed November 24, 2026. Provider descriptions reflect published documentation. Recommendations are our analysis; worked figures are illustrative unless explicitly stated otherwise. No independent provider benchmark or uptime ranking is claimed.

Read the editorial policy.

Need this GPU? Rent it from NeuraMesh: choose a GPU and plan, get a confirmed quotation, and pay only when you approve. See pricing.