ECONOMICS

Standardize the request portfolio before comparing inference resource efficiency

In this article
THE QUICK TAKE

Separate configuration effects from changes in input, output and batch composition by replaying a fixed request portfolio.

A faster month can have easier requests

A serving team compares successive resource reports. The newer configuration completes more requests per accelerator-hour, but its traffic contains shorter documents and fewer long answers. Neither observation alone establishes that the configuration improved. The question is how to compare resource efficiency for a constant service portfolio while still reporting what actually arrived. The answer needs both observed traffic and a standardized replay, with their different purposes clearly labeled in the decision record.

Preserve several workload dimensions

Input length, requested output limit and actual output length describe different work. The vLLM metrics design exposes separate prompt and generation token histograms alongside request outcomes and timings. These marginals do not reconstruct the joint distribution: long inputs might be paired with short or long outputs. Preserve request-level class assignments in an appropriately minimized record. Include modality, cache eligibility and acceptance rule when those dimensions change execution or the meaning of a completed result.

Choose the portfolio before looking at winners

Define workload classes from the service question, then select a finite versioned collection representing those classes. Declare fixed class weights as an analytical reference, not as a forecast of demand. Keep another report with observed proportions. A change in observed composition can be operationally important even when standardized performance remains stable. Do not choose weights after seeing which configuration wins; doing so can turn an explanatory comparison into a favorable but unrepeatable selection.

Replay the joint collection

Run each configuration on the same request identities, arrival schedule, quality checks and generation settings. Preserve input-output pairing and the distribution of repetition rather than independently sampling their marginal lengths. Record actual generated lengths, because an early answer truncation can look like an efficiency gain. Keep pool boundaries and warmup treatment matched. Where batching depends on arrival order, replay that order and repeat with declared alternative schedules instead of assuming that per-request measurements simply add to a production total.

Keep request and execution units distinct

Triton’s metrics reference distinguishes successful requests, inference items and batch executions. A single request can contain multiple items, and caching changes which work appears in execution counters. Therefore a lower execution count is not automatically a lower amount of delivered service. Report resource use per accepted portfolio, along with each class’s completed items and rejection outcomes. An aggregate tokens-per-second figure can accompany this record, but it cannot replace the matched service definition or demonstrate answer quality.

Check the case that reverses the conclusion

Inspect classes separately before forming the standardized aggregate. A configuration may improve the dominant short class while degrading long-document completion enough to violate its requirement. Report that failure even if the weighted average looks favorable. Also test portfolio drift: a new image-heavy or mostly uncached stream may lie outside the original reference. The old comparison remains evidence for its declared population; it is not a measured prediction for the changed service merely because the model name stayed the same.

Deliver an auditable comparison

Save the portfolio version, class definitions, weights, arrival schedules, acceptance results and resource interval. State whether shared consumption was measured directly or allocated by an explicit approximation. No universal economic ranking follows without the service’s own priorities and resource constraints. The capacity-planning guide introduces workload profiles, while benchmark methodology covers controlled measurement. This protocol adds a reproducible standardization boundary so changes in request composition cannot silently masquerade as improvements in the serving configuration.

Earn rental income from GPUs

Have idle GPUs or looking to fund AI infrastructure? Retrivium finds a rental platform, sets up the server and helps you assess income and costs with a pilot.

Explore GPU hosting
← All articles