What actually drives NVIDIA inference cost
Explore the cost drivers of the NVIDIA inference platform. Compare per-token versus per-hour pricing, engine throughput, and optimization strategies.
In this article7

The inversion of AI economics: Why inference dominates cost
In early enterprise AI deployments, capital expenditures were heavily weighted toward model training and fine-tuning. As foundational models mature into steady-state production workloads, enterprise compute budgets undergo a structural shift: inference transitions from a secondary operational cost into a permanent, dominant cost center. Industry infrastructure tracking indicates that inference accounts for 55 to 80 percent of enterprise AI GPU spend over a model's multi-year operational lifecycle, far surpassing initial training outlays.
Evaluating production infrastructure requires moving beyond raw hourly hardware rental fees. The standard metric for sizing operational expenditure is the cost per million tokens, which normalizes hardware acquisition and electricity costs against actual throughput. Sizing a production system on this basis requires analyzing how raw accelerator bandwidth translates into completed user requests under varying traffic patterns.
- Capital allocation shift: Training represents a discrete, one-time expenditure, whereas inference scales linearly with enterprise transaction volume and API usage.
- Throughput normalization: Evaluating total cost of ownership across architectures requires measuring effective cost per million generated tokens rather than baseline server list prices.
- Lifecycle expenditure: Sustained inference over 12 to 36 months represents the majority of cumulative hardware depreciation and power consumption for enterprise generative AI deployments.
To accurately project infrastructure budgets, engineering and financial teams must account for software stack efficiency, concurrency levels, and billing models across the cost per token spectrum.
Pricing models compared: Per-token versus per-hour
Enterprise procurement teams evaluate two primary commercial structures when deploying models on NVIDIA silicon: dedicated per-hour GPU instances and managed per-token serverless APIs. In dedicated hosting, the buyer reserves bare-metal or virtualized accelerators by the hour, paying a fixed rate regardless of whether the hardware processes incoming requests or sits idle. Published hourly rates for current-generation NVIDIA accelerators vary widely between specialized cloud providers and hyperscalers, depending on commit terms, networking fabric, and storage attached to the node.
The economic viability of per-hour provisioning depends entirely on workload utilization. If a dedicated 8-GPU node operates at an average 20 percent utilization over a billing cycle due to off-peak traffic valleys, the effective cost per completed generation increases fivefold. In contrast, per-token billing transfers capacity management, queue orchestration, and idle hardware depreciation risk entirely to the platform provider.
| Dimension | Per-Hour GPU Rental | Per-Token Serverless API |
|---|---|---|
| Billing Unit | Per GPU-hour or per node-hour | Per million input and output tokens |
| Idle Cost Exposure | Borne by the buyer during traffic troughs | Carried by the provider (buyer pays only for generated volume) |
| Traffic Suitability | Predictable, flat, 24/7 baseline demand | Spiky, unpredictable, or batch-driven volume |
| Infrastructure Overhead | Requires internal cluster management and autoscaling | Zero cluster configuration or runtime maintenance |
For organizations with fluctuating query volumes, per-token architectures eliminate unutilized compute expenses, whereas organizations with high, steady request rates near saturation can achieve lower unit costs through reserved GPU prices.
Teams that want to avoid paying for idle GPU hours can buy inference per token instead: Lyceum Serverless Inference bills open-weight models per token with no minimum spend, for example DeepSeek V4 Pro at $1.75 per 1M input tokens and $3.50 per 1M output tokens.
Hardware utilization and the prefill-decode bottleneck
Large language model generation consists of two distinct execution stages with contrasting hardware requirements: the prefill phase and the decode phase. During prefill, the engine processes the user prompt in parallel, which saturates GPU Tensor Cores and operates as a compute-bound operation. During decode, the model generates output tokens autoregressively one by one. Because each new token requires loading all model weights and KV cache tensors from high-bandwidth memory (HBM) into compute registers, decoding operates as a memory-bandwidth-bound operation.
In unoptimized serving stacks, naive request batching causes extreme memory fragmentation. Static allocation requires reserving contiguous memory blocks for the maximum possible sequence length, and measurements of real inference workloads have put padding and pre-allocation overhead at 60 to 80 percent for typical batch sizes. This memory waste constrains concurrency, leaving streaming multiprocessor utilization around 30 to 40 percent even at moderate request rates[1].
- PagedAttention memory management: Dynamically allocates key-value (KV) cache memory in non-contiguous physical blocks, similar to virtual memory paging in operating systems, virtually eliminating internal memory fragmentation.
- Continuous batching: Inserts incoming requests into the active execution batch at the token level as prior requests finish, avoiding idle compute cycles between prompt arrivals.
- Utilization gains: Combining PagedAttention and continuous batching lifts GPU utilization from the 30 to 40 percent typical of static batching to roughly 75 to 85 percent under sustained load, lowering unit token serving costs[1].
Resolving the memory bottleneck enables servers to sustain larger batch sizes, directly amortizing memory bandwidth overhead across concurrent streams.
Engine selection: vLLM, TensorRT-LLM and throughput
The runtime inference engine translates high-level model architectures into optimized CUDA kernels. On the NVIDIA hardware platform, the two primary runtime frameworks deployed for production LLM serving are vLLM and TensorRT-LLM. While both implement continuous batching and blocked KV caching, their optimization paths and trade-offs differ significantly.
vLLM prioritizes rapid integration, broad model architecture coverage, and native Python extensibility, making it the industry standard for agile serving and fast model deployment. In contrast, NVIDIA TensorRT-LLM compiles model weights into optimized execution graphs, fusing transformer layers and deploying custom C++ runtime kernels specifically tailored to Hopper and Blackwell architectures.
| Engine Feature | vLLM | TensorRT-LLM |
|---|---|---|
| Optimization Method | Dynamic PyTorch/CUDA kernel dispatch | Ahead-of-time compiled graph execution |
| Peak Dense Model Throughput | Baseline production performance | Highest measured throughput at every concurrency level on H100 |
| Model Porting Speed | Direct Hugging Face checkpoint support | Requires engine build step and kernel compilation |
| Target Hardware Support | Multi-vendor (NVIDIA, AMD, custom accelerators) | NVIDIA GPUs exclusively |
Benchmarking on a single H100 with a dense 70B model in FP8 shows TensorRT-LLM leading vLLM at every concurrency level, by roughly 8 percent at a single request and about 13 percent at 50 concurrent requests[2]. For high-volume enterprise deployments, this throughput advantage directly reduces the number of physical nodes required to meet target latency budgets.
Quantization and model right-sizing
Model footprint determines both the minimum hardware cluster size and memory bandwidth pressure during generation. Deploying models in native FP16 or BF16 precision requires approximately 2 bytes of memory per parameter, forcing large models (such as 70-billion-parameter networks) across multi-GPU nodes with tensor parallelism.
NVIDIA Hopper and Blackwell architectures include dedicated Transformer Engines that provide hardware-accelerated 8-bit floating-point (FP8) operations. Quantizing weights and KV cache tensors from FP16 or BF16 down to FP8 halves the bytes stored per value, cutting KV cache memory per token in half, and roughly doubles peak Tensor Core arithmetic throughput: an H100 SXM5 is rated at 1,979 dense FP8 TFLOPS against 989 TFLOPS in BF16[3].
- Throughput scaling: Native FP8 Tensor Core execution roughly doubles token generation throughput on H100 GPUs compared to 16-bit baselines.
- Cost halving: By doubling output throughput per GPU, FP8 quantization halves the effective cost per million tokens with negligible perplexity degradation.
- Node consolidation: A 70B parameter model requiring two 80GB GPUs in FP16 fits onto a single 80GB or 141GB GPU in FP8, eliminating inter-GPU communication latency and networking costs.
Right-sizing model architecture parameters alongside quantization ensures that workloads maximize tokens generated per watt across deployed inference hardware.
Frequently asked questions
What is an AI inference platform?
An AI inference platform is the software and hardware stack that executes a trained machine learning model in production. It manages request batching, memory allocation and hardware utilization to generate predictions or tokens efficiently.
What are the top 3 AI platforms right now?
The dominant software engines for LLM serving are vLLM, TensorRT-LLM, and SGLang. These engines handle continuous batching and memory management, often running on NVIDIA hardware to maximize throughput.
Is ChatGPT inference?
Yes. When a user sends a prompt to ChatGPT, the underlying OpenAI models perform inference to generate the response. The compute required for this generation is entirely separate from the training phase.
What drives the cost of AI inference?
Inference costs are driven by hardware hourly rates divided by realized throughput. Low GPU utilization, memory bandwidth bottlenecks during token decoding, and unoptimized model precision are the primary cost drivers.
Should I buy GPU hours or pay per token?
Paying per token shifts the utilization risk to the provider and is often cheaper for spiky workloads. Buying GPU hours is more cost-effective only when your request volume is high and steady enough to keep the hardware saturated.
How does TensorRT-LLM compare to vLLM?
TensorRT-LLM compiles models into hardware-specific engines and leads vLLM on peak throughput at every concurrency level in published H100 benchmarks. vLLM offers faster iteration and broader hardware support without requiring a compilation step.
Sources
Rankings and scores on Optinest cannot be bought — no commercial relationship changes how a provider is assessed. How we score
Related reading
All Inference →The token price war has a floor: three cents
Compare the cheapest LLM API token pricing, from budget models at $0.03 per million tokens to open-weight frontier options, and optimize inference costs.

Batch OCR on serverless GPUs: cost and throughput
Price a 10,000-page batch OCR run two ways, per token and per GPU-hour, from published European rate cards, with the crossover shown.

Who pays for AI tokens: Cost structures and provider pricing
Understand who pays for AI tokens and how rate cards work. Compare European serverless inference providers to model your exact generative AI costs.
