Inference

Benchmark LLM inference before you rent at scale

To benchmark LLM inference fairly, compare systems using the same model, precision, request mix and latency target. Measure time to first token, generation speed, error rate and total successful output. Run cold and warm tests separately, and include a traffic burst before choosing a larger rental. Record the GPU model, runtime version and settings so every result can be reproduced.

A stopwatch next to a GPU server with a rising and flattening line chart on its screen
A useful inference benchmark times what the user waits for under realistic load. AI-generated illustration.

Build a small request set from the application

A summarizer and a chat assistant produce different loads. Use representative input lengths and requested output lengths, then keep that test set fixed across providers. Remove sensitive data or create synthetic examples with the same length distribution.

Keep a short quality check alongside the performance test. A faster configuration that truncates responses or changes model precision without acceptable output quality has changed the experiment.

Measure what the user waits for

Time to first token captures how long a user sees no answer. Inter-token latency describes how smoothly the answer continues. Total request latency includes both phases. Aggregate tokens per second helps estimate capacity, but can conceal a slow experience for individual requests.

vLLM provides a serving benchmark with request-rate and dataset controls and latency metrics. Pin the installed version and save its command-line arguments with your results so another engineer can repeat the run.

Measure what the user waits for
MeasurementQuestion it answers
First-token latencyHow long until a response begins?
End-to-end latencyWhen is the complete result ready?
Successful output tokensHow much usable work finished?
Errors and timeoutsWhat did the throughput number leave out?

References: vLLM serving benchmark options

Separate loading from steady operation

Start once with no warm worker and record the delay. Next, run a warm workload long enough to see queueing and memory growth. Finally, send a burst above the ordinary arrival rate and observe how quickly the queue recovers.

Use the same client location for each test. If your users are in India, a benchmark client beside a US GPU is not measuring their network path. Record the region, client location and whether requests cross a proxy.

Make the LLM inference benchmark reproducible

Report median and tail latency together with sample count, duration and failed requests. Repeat the experiment at different times before interpreting a small difference. Keep the raw results; a chart without its configuration cannot settle a later disagreement.

Choose the configuration that meets the latency and quality requirements at an acceptable cost per successful request. If two offers are close, recovery behavior and ease of deployment can reasonably decide the purchase.

Set the pass criteria before running the test

Beyond prompt and output lengths, write down the arrival pattern and the share of requests that use tools or structured output, since both change how long a request holds a worker. Then set a pass condition before looking at provider results: for example, a maximum tail latency, a minimum successful request rate and a quality check.

The values depend on the application, so label them as product requirements rather than universal GPU thresholds. Fixing them first prevents a fast but unusable configuration from winning on one metric.

Count failures, retries and truncation

Count timeouts, errors, empty outputs, truncated results and client retries. State whether failed attempts are included in the cost and throughput totals. If only successful responses are timed, show the success rate beside the latency so the benchmark cannot make an unreliable configuration look fast.

Save a timestamp for each stage of a request, from client send through first token to completion. Then a network delay or queue wait is not mistaken for slow token generation, and a cold-start delay can be separated from steady-state latency in the same log.

Count failures, retries and truncation
MetricReport with it
Time to first tokenMedian and tail percentile, prompt-length band
End-to-end latencyOutput length and completion status
ThroughputConcurrency and successful output tokens
Error rateTimeouts, retries, rejected requests, run duration

References: vLLM serving benchmark options

Control the conditions that can change the result

Pin the model revision, tokenizer, precision, runtime version, server settings, prompt dataset, and client location. Record whether the worker was cold or warm and whether model artifacts were already cached. Keep these details in the result file; a chart without configuration cannot explain why one provider was faster.

Change one major variable at a time. If you change GPU, precision, batch size, and runtime together, you cannot attribute the result. Once individual effects are understood, test the combined configuration you would actually deploy. Repeat close results at another time because a short run can be dominated by queueing or temporary contention.

References: vLLM serving benchmark options

Size concurrency against the target latency

Increase concurrency in measured steps and watch queue time, tail latency, memory, and completed requests. Find the point where the target starts to fail, then test one step above it to understand overload behavior. The useful capacity number is not the maximum request rate before a crash; it is the sustainable rate that meets the quality and latency requirements.

Repeat with the expected mix of prompt and output lengths. Longer generations occupy a worker for more time and change how requests overlap. If traffic is uneven, replay a burst pattern instead of sending requests at a perfectly constant rate.

Rows of identical envelopes queued in lanes into one GPU while a dial gauge watches latency
Concurrency testing finds the request rate at which latency stops meeting the target. AI-generated illustration.

Convert benchmark results into a buying decision

Compare configurations at the concurrency and latency target the product needs, not at extreme load. Calculate cost per successful request or per accepted output at that operating point, using a fixed output validation step and reporting its pass rate with the system metrics. A provider that produces more tokens per second at saturation can still cost more per accepted response if errors and retries rise.

Include the paid time for loading, warm capacity and retries. If a cheaper GPU needs more replicas to meet the tail-latency goal, compare the complete deployment rather than the single-device hourly rate, and show both the measured serving rate and the paid capacity needed to sustain it.

Keep the winning configuration as an acceptance test for the rental. Re-run it after deployment and after material model or runtime changes. If production results differ, compare hardware identity, software versions, data path, concurrency, and warm state before concluding the provider underperformed.

References: vLLM serving benchmark options

Keep a repeatable baseline for future changes

Save a baseline report before changing the model, runtime, or infrastructure. Use the same request corpus and acceptance criteria after the change, then compare the distributions and failure cases. If the test set changes, keep the old set long enough to separate a software regression from a different workload.

A baseline is most useful when it is easy to run and has an owner. Put the command, environment, expected range, and raw output location in the repository or runbook. This turns benchmarking into a deployment check instead of a one-time chart that nobody can reproduce.

References: vLLM serving benchmark options

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
L40S48 GB$1.26$0.54
A10080 GB$1.56$0.98
H10080 GB$2.88$2.00
H200141 GB$4.60$2.73

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

Questions readers ask

Is peak tokens per second enough to benchmark LLM inference?

No. Prompt lengths, concurrency, precision and latency limits can change the result. Keep those conditions equal.

Should I include failed requests?

Yes. Report their count and any billed retries so the apparent throughput does not hide unusable work.

Which LLM inference metrics should I benchmark?

Measure time to first token, inter-token or generation latency, end-to-end latency, successful throughput, errors, and cost. Report request lengths, concurrency, runtime settings, and test duration with the results.

How many requests are enough for an inference benchmark?

Use enough requests to cover ordinary and peak traffic patterns, then repeat close results. Report sample count and duration; a small sample cannot establish stable tail latency.

Should benchmark prompts contain production data?

No. Use a representative, privacy-safe test set with similar lengths and structure. Keep the same fixed inputs across configurations so the comparison remains reproducible.

Should I compare average or p95 inference latency?

Report both median and a high percentile such as p95, with sample count and duration. Tail latency shows slow requests that an average can hide.

When should I repeat an inference benchmark?

Repeat when the result is close, after a material model or runtime change, and on the target region and traffic pattern before scaling a rental.

Sources and editorial notes

Primary documentation reviewed October 9, 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.