Model Performance Benchmark: What to Measure So the Number Decides Cost

Model performance for serving decisions is cost per request at a fixed p95 latency and stated arrival rate, not peak tokens per second.

Model Performance Benchmark: What to Measure So the Number Decides Cost
Written by TechnoLynx Published on 11 Jul 2026

An AI performance benchmark decides cost when it reports cost per request (or per million tokens) at a fixed tail-latency target and a stated arrival rate. Peak tokens per second can’t do that job. For production serving, MLPerf’s authors identify latency-bounded throughput as a measure: how much work a configuration completes while its latency stays within a bound. Fix the latency budget first, then measure cost at the load that budget allows. The result is then already in the units your margin is expressed in.

How Does an AI Performance Benchmark Work, and What Does It Mean in Practice?

A serving benchmark works like this. A load generator sends requests to the system under test at a controlled rate and pattern, and latency and throughput are reported as distributions. In MLPerf’s server scenario, the LoadGen tool issues queries following a Poisson distribution to mimic how requests really arrive at a server. MLPerf’s rules define a valid run as a complete set of inference queries, including pre- and post-processing, that meets both a latency requirement and a quality requirement for its scenario.

In practice, three settings shape the number: the arrival pattern, the latency bound and the shape of the requests. Databricks advises teams to characterise their expected input and output lengths before committing to a latency target. The request mix matters too. A 2025 review of LLM serving evaluations (arXiv 2507.09019) cites Vidur’s finding that optimising for one workload type can cost up to 2× in performance on another. A benchmark run on a short-chat trace says little about a summarisation service that takes long prompts. Our piece on why AI performance must be measured under representative workloads covers that side of the problem.

What Does ‘Performance’ Actually Mean for an AI Benchmark: Speed, Throughput, Latency, or Cost?

It means all four, measured separately and then joined up. For a deployment decision, the joined-up figure is cost at a constrained latency. These are the terms a serving benchmark should report on their own:

  • Time to first token (TTFT): the time from a request arriving to the first output token, including scheduling delay and prompt processing. It matters most for interactive applications.
  • Time per output token (TPOT) or time between tokens: the Mélange paper defines average TPOT as total request latency divided by the number of tokens generated. Time between tokens tracks how smoothly users see the text appear.
  • End-to-end latency: the time from input to output. A single end-to-end figure easily hides TTFT and time-between-token behaviour.
  • Throughput: the rate of completed work per unit time. SemiAnalysis separates throughput per GPU (tok/s/gpu) from interactivity per user (tok/s/user).
  • Capacity or goodput: the highest request load a system can sustain while meeting its latency SLOs. This is the figure a concurrency-aware cost model feeds into its cost formula.
  • Cost per token or per request: a GPU costs a fixed amount per hour. If throughput falls as interactivity rises, fewer tokens come out per hour and the cost per token goes up.

Report percentiles, not averages. A 2025 report on AI efficiency metrics (arXiv 2510.17885) notes that at scale, tail latency (p95 or p99) dominates how fast a service feels, so it has to be managed directly, not inferred from the mean. Speculative decoding is a good example. It often lowers median TPOT while raising P99 TPOT, which means more stalls the user can see. SemiAnalysis’s InferenceMAX analysis calls TCO per million tokens “the true north star” and describes raw performance as “merely a stepping stone” to it.

Why Is Peak Throughput Misleading for a Production Serving Decision?

Peak throughput is measured at saturation, an operating point typically unreachable under a production latency SLA. On one NVIDIA A100, Databricks found that raising the batch size to 64 to maximise throughput increased throughput 14× and latency 4×. Past a certain batch size, each doubling only adds latency. So the headline number belongs to a configuration that would break an interactive service’s latency budget.

In the 2019 MLPerf Inference paper, moving from offline to the latency-bounded server scenario cut some systems’ throughput by as little as 3% and others’ by much more, such as 50%. Its authors concluded that a comparison with unconstrained latency “has little bearing on a latency-constrained scenario”. The full results are discussed in our article on MLPerf Inference scenarios and results. SemiAnalysis makes the same point from the user’s side. A GPU with 4× the throughput at 5 tok/s/user has little real-world advantage, because a chatbot at that speed is too slow to use.

The second problem is utilisation, and its cost error exceeds an order of magnitude. A 2026 concurrency-aware cost study (arXiv 2606.11690) ran 42 vLLM benchmarks on H100 GPUs. On identical hardware, the effective cost per million tokens varied by up to 36.3× when only the offered request rate changed. Calculators that assume the GPU runs at peak throughput understate cost by a factor of 1/U, where U is the utilisation actually achieved. At 1 request per second that gap was 17.5–36.3×. Even at 10 requests per second the naive model was still wrong by 2.5× on dense Llama. The same authors note that a per-token calculator’s error always runs in the direction that makes self-hosting look cheaper than it is.

They also say utilisation “is not an input”: it results from the arrival rate, the model architecture, the quantisation and the SLO together. The cost cliff held up across their probes of I/O shape, burstiness and prefix caching. It is a structural property of the continuous-batching scheduler, not a measurement artefact. On A100 the spread was narrower, at 7.0–11.4×, but the shape of the curve was the same. In short, a cost figure means nothing until it states the arrival rate it was measured at.

How Do You Fix p95 Latency so an AI Performance Benchmark Is a Fair Comparison Across Configs?

Choose the percentile and the bound from the product, hold them constant for every configuration, raise the load until each configuration breaks the bound, and record the cost at the last load that held. The concurrency-aware cost study describes the effect: an SLA fixes the latency, which caps the load a deployment can sustain, which pins its cost per token. In its words, “the SLA is therefore a price”.

One dynamic-batching study (arXiv 2503.05248) shows the mechanism directly. A 50 ms decoding SLA allowed a batch size of about 100 and roughly 1,900 tokens per second. Relaxing the SLA to 80 ms allowed a batch size of 230 and 2,700 tokens per second. Compare configurations at different latency bounds and you are partly comparing the bounds.

The procedure, in order:

  1. Pick the latency metric and percentile from the product. TTFT governs how responsive a service feels, and TPOT governs how fast it feels. Code completion, chat and long-form generation put different weight on each. The Mélange authors used a 40 ms TPOT SLO where quick responses mattered and 120 ms where longer waits were acceptable. Keep the bound realistic for interactive use. The 2025 review flagged published evaluations with a 6 s TTFT SLO and a 500 ms per-token SLO as impractical.
  2. Characterise the request mix of expected prompt and output lengths before setting the latency target.
  3. Sweep the arrival rate and find the highest rate that holds the bound. MLPerf’s LoadGen runs a binary search over queries per second, lowering the value after each failed run. InferenceMAX also sweeps concurrency and parallelism schemes to map the whole throughput-latency curve.
  4. Run long enough to trust the tail. The 2019 MLPerf paper needed about 270K queries for a 99th-percentile guarantee on vision tasks and 90K for translation’s 97th percentile. The current rules use an early-stopping calculation at 99% confidence. The minimum run time is 600 seconds.
  5. Record cost at that rate, not at saturation. Use goodput at the SLO as the cost input, not the raw maximum from a benchmark with no SLO.

Two details often slip. First, some autoscaling targets track the median rather than the tail. GKE Inference Quickstart’s HPA thresholds keep P50 latency below a set value, and a median target says nothing about the p99 your users see. Second, baselines need comparable implementations. Otherwise, implementation differences can mask or exaggerate the gains being measured. Our guide on structuring serving configs so cost-per-request comparisons are fair covers how to set that up.

What Does a Table Ranking Configs by Cost per Request Look Like?

Worked Example: Six Configs Under One Fixed SLA

This table ranks configurations by cost at the SLA, shows the arrival rate each can sustain, and keeps the saturation figure for comparison. The figures come from Table 4 of the 2026 concurrency-aware cost study: vLLM on H100, with an SLA of TTFT p99 ≤ 300 ms and TPOT p99 ≤ 50 ms.

Rank at SLA Config Highest SLA-feasible load (rps) $/MTok at SLA $/MTok at saturation (SLA-infeasible) SLA premium $ per 1,000 requests at SLA (500 tokens assumed)
1 Qwen3-A3B FP8 50 0.263 0.209 1.26× 0.13
2 Llama 8B FP8 25 0.337 0.238 1.42× 0.17
3 Llama 8B FP16 25 0.368 0.311 1.18× 0.18
4 Qwen3-A3B FP16 25 0.411 0.364 1.13× 0.21
5 Mixtral FP8 25 0.732 0.515 1.42× 0.37
6 Mixtral FP16 10 1.666 0.871 1.91× 0.83

Every saturation floor in the study sits at 100–200 requests per second, where TTFT p99 reaches 2.2–15.7 seconds. The SLA-feasible floor, not the saturation floor, is what an SLA-bound operator actually pays. Read honestly, the table shows that in this data set the ranking order does not change between saturation and SLA cost. What changes is the size of the gap. The premium ranges from 1.13× for Qwen3-A3B FP16 to 1.91× for Mixtral FP16. The load column matters just as much. Mixtral FP16 holds the SLA only up to 10 requests per second, so a product expecting 25 would need extra replicas.

The order does flip in other studies. Mélange found that under tight TPOT SLOs (below 60 ms), an A100 delivered more than 2× the tokens per dollar of an A10G, while looser SLOs let cheaper GPUs compete. For GPT-OSS 120B FP4 summarisation, SemiAnalysis found MI355X on vLLM can beat B200 on TRT-LLM on TCO per million tokens below 225 tok/s/user, with B200 on TRT-LLM ahead above that. Change the latency target and you can change the winner.

One caveat applies to any table that mixes models. The rows above are different models, so ranking them on cost assumes each is good enough for the task. Check that separately, for example with LLM-judged quality scores alongside cost per request. For two configurations carried all the way to a before/after cost, see our worked cost-per-request comparison.

How Does a Cost-at-Latency Benchmark Relate to MLPerf Inference?

A cost-at-latency benchmark follows the logic of MLPerf’s server scenario and adds two things MLPerf leaves out: a price and your own workload. MLPerf Inference defines four scenarios: single-stream, multistream, server and offline. In the server scenario, queries arrive in a Poisson pattern and the metric is the queries per second a system can sustain while meeting a latency bound. The 2019 paper set those bounds between 15 and 250 ms depending on the task. The offline scenario leaves latency unconstrained and reports samples per second. For LLM tasks, the current rules set TTFT and TPOT bounds per category. One benchmark’s interactive category, for example, requires 450 ms TTFT and 40 ms TPOT.

  MLPerf server MLPerf offline Cost-at-latency benchmark
Arrival pattern Poisson, swept by binary search All samples at once Your production arrival rate and mix
Latency bound Set per benchmark None Your product’s p95 or p99 SLO
Model Reference model at an accuracy floor Reference model at an accuracy floor The model you would deploy, at a quality you accept
Headline metric Latency-bounded throughput Throughput Cost per request at the SLO and stated arrival rate
Price Not among its listed metrics Not among its listed metrics The decision variable

The mapping is simple. If your product has users waiting on responses, the server or interactive result is the relevant one. Live sports analytics is one such latency-bound product; see our AI engineering for sports analytics work. A batch job maps to offline. MLPerf also refuses to give a single summary score, because how much each task should count depends on the buyer. A cost-at-latency benchmark makes the same choice, only narrower: it measures one workload at one SLO.

How Do You Translate a Benchmark’s Performance Number into a Defensible Deployment Decision?

Replace the single figure with a curve, and state the commitment it rests on. The concurrency-aware cost study puts it plainly: if your answer to “what does a million tokens cost us?” is one number, replace it with a curve before the next infrastructure review. The same study reverses the usual procurement order. Declare the SLO first and derive the cost from it. When comparing against serverless APIs, account for the fact that published per-token prices come with no enforceable p99 TTFT or inter-token guarantees. Compare only after accepting that the serverless route gives up control of tail latency.

A decision memo built on the benchmark should state:

  • the latency metric, percentile and bound, and which product requirement sets them;
  • the arrival rate (average and peak) the cost was measured at;
  • the request mix, as prompt and output length distributions;
  • the hourly price assumption behind the cost figure;
  • the quality floor the model had to meet;
  • the end-to-end environment it was measured in, since Databricks observed a 2× latency difference between 8×A100 servers from two cloud providers.

Before trusting any of it, profile. Our position is that best practices only make sense in context, and that context comes from profiling the workload, not from reading about someone else’s. If a configuration underperforms its expected curve, profiling GPU kernels to find the real bottleneck is how to find the cause. Profiling the deployed serving path comes before the cost sweep, because a sweep over a misconfigured stack prices the misconfiguration.

How Should You Think About an AI Performance Benchmark in Practice?

Treat the benchmark as pricing a latency commitment, not as a speed contest. Its cost figures depend on the SLA you sign, the traffic you actually get and the model you deploy. A speed figure that drops those conditions has thrown away the part that determines cost.

Two questions sit next to this one. Whether a public leaderboard result transfers to your traffic is covered in why the leaderboard number isn’t your number. Which tools can produce decision-grade numbers at all is covered in what separates decision-grade benchmark tools from leaderboards. If the question is the accelerator itself rather than your serving path, LynxBenchAI is the TechnoLynx benchmark product for measuring AI hardware. It measures the device, not your deployed service. One question remains open after any of these. Your SLO is a product decision before it is an engineering one, and until someone commits to it, no benchmark can give you a cost.

FAQ

Which LLM Is Most Cost-Effective?

The Mélange study found that request size, request rate and latency SLO together decide which GPU type is most cost-effective. Ask the question at your SLO and your traffic.

What Is a Benchmark in Measurement?

In AI benchmark testing, a benchmark is a standardised procedure for measuring a system under defined conditions so that results can be compared. For inference, those conditions include the latency and quality bounds the run has to meet.