LIVE INTELLIGENCE // SEMICONDUCTOR & AI ECONOMICS TERMINAL
NVIDIA · TSMC · HBM4 · CLOUD GPU · AI AGENTS X/@pinovan Substack
Silicon & AI Pulse
Subscribe
Home AI Chips & Silicon AI Security AI Agents GPU & vLLM Hub Agent Hub About Us Disclaimer Contact
Home / Cloud Computing / Intelligence Briefing

How to Measure vLLM Inference Cost Under a Latency SLO

Two GPU accelerator modules on a lab bench with a latency trace in the background

A GPU can produce more tokens per dollar and still cost more to serve an interactive application. The difference is the share of its output that arrives within the latency users can tolerate. This follow-up to the December GPU Inference Cost Monthly shows how to measure that difference with vLLM and turn it into a rental decision.

Decide which requests count

Set the service-level objective (SLO) before running either configuration. An illustrative chat target is time to first token (TTFT) of at most 500 ms and time per output token (TPOT) of at most 50 ms. Use thresholds derived from your application in production. Count a request only if it completes successfully and meets both limits. Set a separate quality or correctness criterion when changing models or quantization.

Track two quantities. Request goodput is qualifying requests divided by observation time. Qualifying output-token throughput is the sum of tokens generated by qualifying requests divided by observation time. They answer different questions when response lengths vary. A 90% request pass rate does not imply that 90% of output tokens qualify. The vLLM benchmark CLI accepts per-request goodput limits through --goodput for TTFT, TPOT and end-to-end latency. Use detailed per-request results to compute the token-weighted quantity. The DistServe paper explains why first-token and decoding latency matter separately.

Run a comparison you can reproduce

  1. Pin the model revision, quantization, vLLM build, tokenizer and prompt/output length distribution. Record GPU variant, interconnect and tensor parallelism. A two-GPU quote should describe the actual node and topology.
  2. Replay the same offered workload on each configuration. At each load level, use the same request timestamps or equivalent arrival process, workload mix, timeouts and cache policy. Measure client-side latency and record attempted, completed, failed and qualifying requests.
  3. Start below saturation and raise the offered request rate. Repeat the runs and report tail latency and SLO pass rate alongside output throughput. State whether the window ends after the final response and how you handle warmup, idle capacity and retries. Keep a consistently defined billing window when calculating cost.
  4. Sum the output tokens for requests that pass both limits. Include failed and late requests in the cost of the run because the infrastructure still billed for them. If no tokens qualify, report the run as infeasible for that target.

Worked example: the cheaper configuration flips

Price inputs: Runpod lists Secure Cloud Pods at $4.39/hour for one H100 SXM and $5.29/hour for one H200 as checked on December 3, 2026. The $8.78/hour dual-H100 row is arithmetic using two single-GPU list prices. Verify the actual multi-GPU instance price, availability, interconnect and add-on charges before using it as a quote. Runpod GPU pricing.

Scenario inputs: The throughput and qualifying-token fractions below are hypothetical. Both rows assume one continuously billed hour with the listed rates and no extra fees. These numbers are not results from an H100 or H200 benchmark.

SetupGPU $/hAll output tok/sQualifying token shareQualifying tok/s$/1M all tokens$/1M qualifying tokens
2 × H100 SXM8.782,60070%1,8200.941.34
1 × H2005.291,45095%1,377.51.011.07

For a fixed-price hourly scenario, multiply hourly cost by 1,000,000 and divide by 3,600 × qualifying output tokens/sec. For a real billing window, use total attributable cost × 1,000,000 / qualifying output tokens delivered. Use the latter formula if idle time, storage, variable pricing or retries materially change the bill.

What to put in the decision memo

Report the least expensive configuration that meets the application’s request pass-rate target at the offered load you expect. Include cost per million qualifying tokens, SLO pass rate, p95 TTFT, p95 TPOT, timeout rate, and how much load headroom remains. If data comes from a public benchmark, cite its configuration and workload separately. It can help choose a starting point, but your own workload determines the rental decision.

For the companion techniques, see the prefix-caching benchmark guide and the Cloud GPU and vLLM hub.

To see whether the same configuration meets its latency targets when arrivals cluster, follow the vLLM bursty traffic benchmark guide.

Get the Weekly Silicon & AI Briefing
Free institutional recaps on AI hardware, cloud GPUs, and enterprise economics on Substack.
Subscribe Free →

Comments