AI Token Speed & Latency Calculator: Tokens/sec, TTFT, ITL & GPU Memory Bandwidth
Calculate real-world LLM inference throughput based on GPU memory bandwidth (HBM/GDDR), active parameter weights, quantization, and context size. Accurately model Time-To-First-Token (TTFT in ms), Inter-Token Latency (ITL), and Tokens Per Second (TPS) across vLLM, TensorRT-LLM, or Ollama.
1. Model Architecture & Quantization
2. GPU & Accelerator Specifications
Physical Bottleneck Analysis
GPU Hardware Comparison & Theoretical LLM Throughput
| Accelerator / GPU | Memory Type | Bandwidth | TPS Llama-8B (FP16) | TPS Llama-70B (FP8) | Primary Bottleneck |
|---|---|---|---|---|---|
| Nvidia RTX 4090 (24 GB) | GDDR6X | 1,008 GB/s | ~48 tok/s | Out of VRAM | VRAM Capacity & Bus |
| Nvidia A100 SXM (80 GB) | HBM2e | 2,039 GB/s | ~96 tok/s | ~22 tok/s | HBM2e Bandwidth |
| Nvidia H100 SXM (80 GB) | HBM3 | 3,350 GB/s | ~158 tok/s | ~36 tok/s | HBM Read in Decode |
| Nvidia H200 SXM (141 GB) | HBM3e | 4,800 GB/s | ~225 tok/s | ~52 tok/s | NVLink Interconnect |
| Nvidia B200 (192 GB) | HBM3e | 8,000 GB/s | ~375 tok/s | ~86 tok/s | Thermal & Compute Bounds |
Frequently Asked Questions: AI Token Speed & Latency
Why is autoregressive token generation (Decode) memory-bandwidth bound rather than compute-bound?
In the autoregressive decode phase of a transformer, emitting every single new token requires reading ALL active model weight tensors from HBM/VRAM into the streaming multiprocessors (SMs). Because generating a single token is a matrix-vector multiplication (GEMV with operational intensity < 2 FLOPs per byte transferred), compute cores spend idle cycles waiting on memory bus transfer. The theoretical upper bound of decode speed is physically governed by Memory Bandwidth divided by Model Weights in bytes.
What is the difference between Time-To-First-Token (TTFT) and Inter-Token Latency (ITL)?
TTFT is the latency in milliseconds from when a request is dispatched until the very first generated token arrives (Prefill phase). Unlike decode, prefill processes the prompt tokens simultaneously as a matrix-matrix multiplication (GEMM), making it compute-bound (TFLOPS). Inter-Token Latency (ITL) measures the duration between subsequent streaming tokens during the memory-bound decode phase; a lower ITL results in faster, smoother streaming text.
How does quantization (FP8 vs INT4 vs FP16) increase tokens per second?
Quantizing a 70B model from FP16 (140 GB) down to FP8 (70 GB) or INT4 (39 GB) cuts the raw bytes that must cross the memory bus per token by half or three-quarters. If an Nvidia H100 delivers 3,350 GB/s at 75% memory efficiency (~2,500 GB/s effective), running FP16 yields ~17.8 tokens/sec, while running FP8 immediately doubles streaming speed to ~35.7 tokens/sec on the exact same silicon.