How This Tool Works
Our LLM Inference Speed Calculator estimates your model's generation speed by modeling the primary computational bottleneck: memory bandwidth. The core principle is that generating tokens requires constantly moving weights and activations between GPU memory and compute units.
We factor in several crucial variables:
- Memory Bandwidth (GB/s): This is the rate at which data can be moved. It's often the limiting factor, especially for larger models.
- Model Size & Quantization: Smaller quantization (e.g., 8-bit vs. 4-bit) reduces the data size, allowing more tokens to be processed per cycle, but larger models require more bandwidth regardless.
- Context Window: A longer context window increases initial memory consumption and overall throughput requirements for the prompt phase.
By inputting your specific model parameters, we provide a realistic tokens/second estimate across various hardware architectures like the H100 or RTX 4090.