Understanding performance benchmarks for LLM inference
Jan 12, 2024

Summary
This post provides a detailed guide on understanding and creating nuanced performance benchmarks for LLM inference. It breaks down key factors to consider, including hardware, streaming, quantizing, input/output size, batch size, percentile reporting, and network speed. It elaborates on measuring latency (time to first token, total generation time, cold starts) and throughput (requests per second, tokens per second), emphasizing the importance of output tokens per second for real-time applications. The post also discusses cost measurement (cost per minute, cost per thousand tokens) and provides an example of a high-quality benchmark definition.
More from the Baseten AI Model Deployment and Serving Platform trail
- LangChain trains custom models for LangSmith Engine with Baseten Loops
- DeepSeek-V4.1-Flash: more efficient prefill for coding agents
- Blaxel is joining Baseten to build the future of agentic infrastructure
- How Baseten makes pyannote’s diarization models 9.6x faster
- Optimizing delta weight syncs for managed rollouts