AI inference vs training is not one workload running at two speeds. Each one stresses a different part of the machine. Training runs a forward and a backward pass, keeps activations and gradients in memory at the same time, and optimises for loss rather than latency. Inference drops the backward pass. For language models it generates output one token at a time, which makes it far more sensitive to memory bandwidth and latency than to raw arithmetic. LynxBenchAI reports Training and Inference as separate scores, next to a third score for Compute, instead of collapsing them into one number that hides where a device is strong or weak.
When the binding constraint changes, the ordering of devices can change with it.
Which Is Faster for AI, the B200 or the H100?
To a platform lead, B200 vs H100 for AI sounds like a question with one number for an answer. Both devices have a published 26Q3 LynxBenchAI result, though, and each result is split into Training, Inference and Compute category scores, so the question contains three comparisons. In the 26Q3 results the NVIDIA B200 scores 1089.7 on Training, 2224.5 on Inference and 611.1 on Compute. The NVIDIA H100 80GB HBM3 scores 709.3, 1678.1 and 487.1. The B200 is ahead in all three categories here, but by a different margin in each, and the margin that matters depends on what the fleet is actually asked to do.
The B200 against H200 comparison has the same honest answer: which category matches your workload? For the B200 against the B300 SXM6 AC, each result is likewise three scores, produced on a specific machine with a specific backend, driver, framework and runtime version.
Why Inference Is so Often Memory-Bound
A layer is compute-bound when it does a lot of arithmetic per byte it fetches, which leaves memory idle. It is memory-bound when it fetches a lot of data for little arithmetic, which leaves the compute units underused. The roofline model pictures this. Plot arithmetic intensity (operations per byte moved) against attainable throughput, and every kernel hits either a bandwidth slope or a flat compute ceiling.
Inference sits on the bandwidth slope more often than training does. Each parameter has to be loaded from memory once per inference pass. Once the parameters no longer fit in cache, inference becomes memory-bandwidth bound rather than compute-bound. Autoregressive generation makes this worse. A 1,000-token response needs 1,000 separate forward passes, and each one reads the full parameter set from memory. Each generated token also adds to a key-value (KV) cache that grows over the sequence. Training’s memory pattern, by contrast, is fixed.
Hardware trends make the gap wider. Gholami et al. found that peak server FLOPS grew about 3.0x every two years over the past 20 years, while DRAM bandwidth grew about 1.6x and interconnect bandwidth about 1.4x. They conclude that memory, rather than compute, has become the main bottleneck in AI applications, especially in serving. The Splitwise authors (ISCA 2024) make the same point about two specific GPUs: the H100 has 3.43x the compute of the A100 but only 1.6x the memory bandwidth, with no increase in memory capacity. Our separate piece on when memory bandwidth, not compute, is the inference bottleneck goes further into the serving side.
Is the Prefill Phase of LLM Inference an Exception?
Yes. Prefill is the compute-bound part of LLM inference. The prefill phase processes the whole input prompt in one forward pass to build the KV cache and produce the first token. Because that work runs in parallel across all input tokens, compute utilisation is high. Decode then produces each later token one at a time, and every step reloads the model weights plus the growing KV cache, which makes it memory-bound. Splitwise reports the same split: a compute-intensive prompt phase and a token-generation phase that is limited by memory bandwidth and capacity, even with current batching. The Sarathi-Serve authors (OSDI 2024) put it as a contrast: prefill iterations take longer but saturate GPU compute, while decode iterations are short and leave compute underused.
The two phases respond to different hardware changes. In SPAD’s simulations, cutting a modelled H100’s memory bandwidth by 40% raised prefill latency by only 17%, and halving its compute raised decode latency by only 22%. Splitwise found that the token phase lost almost no latency under a power cap of more than 50%, while the prompt phase slowed substantially. In Splitwise’s traces, most end-to-end time is spent in the token phase. For BLOOM-176B, a prompt phase with 1,500 input tokens took as long as a token phase with only 6 output tokens.
The prefill and decode split has known exceptions:
- Very short prompts. Prefill with very short sequences shifts towards memory-bound because there is little data reuse. The roofline survey by Yuan et al. agrees and adds that prefill becomes more compute-bound as sequence length grows.
- Very long prompts. SPAD notes that at long sequence lengths the quadratic cost of attention puts more pressure on memory again. Read together with the roofline survey, this suggests prefill is most clearly compute-bound in a middle range of lengths, not at the extremes.
- Large decode batches. Decode can shift towards compute-bound at large batch sizes. SPAD’s authors add that batches of 256 or more are rare in production, particularly for latency-sensitive work, because of HBM capacity limits and diminishing returns from batching.
Prefill is therefore an exception to “inference is memory-bound”, not a counter-example. It is one more reason to treat inference as a set of workloads with their own bottlenecks.
What AI Training and Inference Each Stress in Hardware
Training’s memory footprint comes from more than the parameters. Intermediate activations have to be kept until the backward pass consumes them, and the memory they need grows with depth times hidden size times batch size. In a 2019 study of language-domain training, the per-accelerator memory footprint of a training step exceeded the 16 or 32 GB HBM capacity of accelerators at the time by 8 to 100 times. NVIDIA’s own server guidance for training names model size as the driving factor. It also calls for a CPU fast enough to keep preprocessing from starving the GPU, NVLink or NVSwitch between GPUs, and high-bandwidth Ethernet or InfiniBand for multi-node runs.
Inference is constrained by latency, which limits the batch size the application allows. When predictions are made on a single data point, latency dominates the runtime. Accelerators limited by memory bandwidth and footprint rely on large batches to stay busy, and real-time inference often cannot provide them. Meta’s infrastructure team describes the same split in design goals: training throughput efficiency for training, and throughput bounded by tail latency for inference.
| What is stressed | Training | Inference: prefill | Inference: decode |
|---|---|---|---|
| Compute | High: forward plus backward over large batches | High: parallel across all prompt tokens | Moderate: compute largely underused |
| Memory capacity | Weights, activations and gradients held together | Low | High: weights plus a growing KV cache |
| Memory bandwidth | Less binding: gradient calculations are compute-intensive | High | High: weights reloaded every token |
| Latency target | Throughput | Time to first token | Time per output token |
| Interconnect | Critical for multi-GPU and multi-node runs | Matters if the KV cache moves between machines | KV-cache transfer adds to time between tokens |
The difference also shows in silicon design. A 2019 accelerator survey observed that processors designed for training can also perform well at inference, but the converse is not always true. In that survey, every processor below 100 W was an inference-only accelerator.
Why Training Runs at fp32 and bf16 While Inference Uses fp16, int8 and fp8
Training needs numerical range because small gradients can be lost at low precision. Inference gains from moving fewer bytes. The 2019 accelerator survey sums up the convention: higher-precision representations, especially floating point, are generally used for training, and lower precisions, including integers, have proven reasonably effective for inference.
On the training side, the mixed-precision technique of Micikevicius et al. stores weights, activations and gradients in half precision but keeps a single-precision master copy of the weights and scales the loss so that small gradients survive. Google built bfloat16 with the same exponent size as FP32 because, in its experience, neural networks are far more sensitive to exponent size than to mantissa size. Its TPU matrix units multiply in bfloat16 and accumulate in full FP32.
On the inference side, NVIDIA’s integer quantisation study describes how int8 reduces model size and improves latency and throughput by using high-throughput integer instructions. The roofline view explains why quantisation helps decode in particular. Fewer bytes per weight raise arithmetic intensity, which matters most where the stage is memory-bound. The boundary is not absolute, though. The FP8 formats proposed by NVIDIA, Arm and Intel were shown to match 16-bit training quality on models of up to 175B parameters, as well as serving post-training quantisation. Precision follows the bottleneck, and the bottleneck follows the workload.
LynxBenchAI builds this into its design rather than leaving it to the reader. Each precision is reported separately, and a result only counts once it passes a per-precision correctness threshold. A precision that produced no result shows up as 0.0. In the 26Q3 results the NVIDIA GeForce RTX 3080 records 0.0 at fp8 on every inference model, next to 516.0 at fp16 on Flan-T5 Small.
Why Training Benchmark Results Don’t Carry over to Inference Hardware Choices
A training benchmark times forward and backward passes at training precisions. Serving depends on token-phase memory capacity and bandwidth, single-request latency and quantised arithmetic. Those are different resources, so performance conclusions from a training result do not transfer automatically to serving. Even benchmark design reflects the split. The MLPerf Training authors name challenges specific to training: throughput optimisations that can lengthen time to solution, and run-to-run variance from stochastic training. MLPerf Inference is a separate benchmark with its own method and rules.
In LynxBenchAI: Three Category Scores and an Ordinal GT
Every LynxBenchAI run produces three category scores (Training, Inference and Compute) plus GT, an overall figure aggregated from them. Each category score is meant to be read on its own as how that executor handles that class of work, not only as an input to GT. A device that trains well and infers less well appears as exactly that, instead of being averaged into one rating.
The AMD Instinct MI300X against the H100 80GB HBM3 pair shows why the separation matters. In the 26Q3 results the MI300X scores 727.2 against the H100’s 709.3 on Training but 1304.0 against 1678.1 on Inference. On Compute the MI300X scores 1023.3 against the H100’s 487.1. Its GT is 986.7 against 939.5. A reader who looked only at GT would rank the MI300X above the H100. On Inference, the category that matters for serving, it is behind. GT is ordinal, so the gap between 986.7 and 939.5 is not a percentage, and it is not a 0 to 100 rating either.
The way results are summed is a known trap in its own right: Fleming and Wallace showed back in 1986 that taking the arithmetic mean of normalised benchmark results leads to wrong conclusions. GT is still the only aggregate, and the category scores are not interchangeable. A reader cannot trade a Training lead against an Inference deficit and come out even.
Each class is also measured at its own saturation point. LynxBenchAI holds the model and precision constant and raises the batch size until throughput plateaus within a defined noise band, so a laptop GPU and a data-centre part are each read where they actually level off. Each test is one continuous timed window after a discarded warm-up. That makes it a controlled measurement, not a reproduction of a serving fleet’s thermal or duty-cycle conditions. Scores compare within the 26Q3 release only. A Training score from one release does not belong next to an Inference score from another.
Which Costs More over a Model’s Lifetime, Training or Inference?
Over a model’s lifetime the serving side ends up dominating in several estimates, but the split varies by use case. Patterson et al., as cited in a 2025 paper on energy-efficient training, estimate that inference energy eventually exceeds training energy by 2 to 10 times over a model’s lifetime. A 2025 study of LLM inference energy cites estimates that inference can account for up to 90% of the energy a model consumes over its lifecycle. Luccioni, Jernite and Strubell (FAccT 2024) collect estimates that inference makes up 80 to 90% of ML cloud computing demand. They also report a 2022 Google figure of 60% of ML energy going to inference and 40% to training.
The caveats matter. In 2021, Meta attributed about one-third of its end-to-end ML carbon footprint to inference. Wu et al. (Meta, MLSys 2022) found the split varied by model: the language model was dominated by inference, at 65% of resources against 35% for training, while recommendation models split roughly evenly. Per operation, training remains orders of magnitude more energy-intensive than a single inference. Luccioni et al. estimate that BLOOMz models need between roughly 200 million and 590 million inferences before inference energy equals training energy, a level that popular deployments can reach quickly. The reason serving costs pile up is structural. Training is largely a fixed expense, while inference cost is variable and scales with every request. Output length makes it worse, because output tokens drive energy far more strongly than input tokens.
At that point, inference becomes an operating cost that someone has to reduce. TechnoLynx covers that side: what inference costs in production, optimising inference latency on GPU infrastructure, and profiling where your own inference time goes. If power is part of the decision, choosing an energy-efficient GPU for machine learning looks at it from the hardware angle.
Reading a Result for the Work You Actually Run
Start with the category that matches the job. If the device will mostly fine-tune, read Training. If it will mostly serve, read Inference, and keep in mind that the Inference score covers one release’s fixed catalogue at declared precisions, so it does not predict latency for your own model. Read GT last, as an ordinal summary, after the category scores have told you where the device is strong and where it is weak.
To see the split on the hardware you already have, install the LynxBenchAI Personal Edition. It measures your executor against the release catalogue and prints Training, Inference and Compute side by side. Installing it and reading the scores takes half an hour. Published device results and the methodology behind them are on the LynxBenchAI results and methodology pages.
FAQ
Is ChatGPT Inference?
Yes. Using a chatbot is inference: the model applies fixed, pre-trained weights to your prompt and generates a response, and its weights are not updated the way they are in training.
What Is BF16?
BF16 (bfloat16) is a 16-bit floating-point format with the same exponent size as FP32.
How Does Mixed Precision Training Work?
Mixed precision training stores weights, activations and gradients in half precision, keeps a single-precision master copy of the weights to accumulate updates, and scales the loss so that small gradients are not lost. Its authors report that this cuts memory use by nearly half.