One-minute summary
- Compare the same requests against the same latency target.
- Count successful responses that met your service targets.
1. Record the settings
Use your own vLLM test server with a model running on the loopback interface. Record the model revision, image version, precision, GPU count and context limit. Set a p95 time-to-first-token target and an error budget. Run a few warm-up requests and exclude them from the measurements.
2. Run two load levels
Set MODEL_ID to the name served by your instance. Run the baseline and repeat at four requests per second with the other settings held constant. Before choosing a rental, repeat with de-identified inputs representative of production.
vllm bench serve --backend vllm \
--base-url http://127.0.0.1:8000 --endpoint /v1/completions \
--model "$MODEL_ID" --dataset-name random \
--random-input-len 512 --random-output-len 128 \
--num-prompts 200 --request-rate 2 --metric-percentiles 953. Choose an operating point
TTFT measures the wait for the first token, inter-token latency measures streaming cadence, and end-to-end latency measures time to completion. If throughput improves but p95 latency or errors exceed the target, choose a lower rate and keep headroom for bursts.
Divide the test-window spend by successful responses within the latency targets. For example, a hypothetical $1.80/hour node used for ten minutes with 900 qualifying responses costs about $0.33 per thousand responses for compute alone. Stop the rental afterward and check for chargeable volumes.
Sources and attribution
Reviewed November 18, 2026 — written by the editorial team; technical review: —.


Comments