Throughput

Category: Generative AI / LLM

The total number of requests or tokens an AI system can process per unit of time, measuring the system overall capacity.

Full Explanation

Throughput measures the total processing capacity of an AI serving system, typically expressed as requests per second or total tokens per second across all concurrent users. High throughput enables serving many users simultaneously, which is essential for production deployments. Throughput is distinct from per-user latency: batching multiple requests together increases throughput but may increase individual request latency. Key factors affecting throughput include hardware (GPU type, count, and memory), model size, batching strategy, and serving framework optimizations. Continuous batching, which dynamically adds and removes requests from a batch as they complete, significantly improves throughput compared to static batching. Techniques like PagedAttention, speculative decoding, and quantization all contribute to improved throughput. Throughput directly impacts the cost-per-request of serving, making it a key metric for the economics of AI deployment.

Related Terms

More in Generative AI / LLM

Explore More