AgentPerfBench: A Benchmarking and Evaluation Suite for Inference Performance of Agentic LLMs
Reading guide · Based on sections of the original paper
Why read this
Read it if you choose serving engines, schedulers or accelerators and need agent-like workloads, saturation-sweep methodology, or released kernel profiles to replace ShareGPT-style benchmarks.
What the authors found
- The study used medium multi-turn trace replay on H100 with vLLM, prefix caching enabled, and concurrency up to 80. On LLaMA-3.1-8B, the coding-agent workload raised median TTFT from 343 ms (chat) to 11,719 ms and cut throughput from 13.5 to 2.4 req/s. The gap does not hold across all models: gpt-oss-20b coding throughput (16.5 req/s) slightly exceeded chat (15.3 req/s), although its TTFT was still about 8× higher. Saturation behavior.
- The authors compared synthetic-distributional rows at C=200 and C=320. Across 63 chat groups, median request throughput rose 11%. Across 66 agentic groups, 41 changed by no more than ±10% and 15 lost more than 10%. Representative agentic losses were 43–76%. The authors attribute this to KV-capacity pressure. Saturation behavior.
- For LLaMA-3.1-8B on one H100 at C=80, the effective OI was 2,409 for the coding agent and 181 for chat, against a ridge of 295 FLOP/byte. These OI values are analytical estimates derived from model architecture and token statistics, not direct measurements. The authors say the Figure 4 plot empirically validates the regime classification. 4.3 Roofline Bottleneck Diagnosis
Main limitation
Sessions were truncated at per-run context caps, for example 32K tokens for LLaMA-3.1-8B. Server-side KV eviction and recomputation were not measured, and all results come from single-node tensor parallelism. The reported agentic gaps are therefore probably lower bounds. The synthetic-profile validation also covers only one setting: H100, LLaMA-3.1-8B, vLLM, C=5. 4.4 Discussion
Where to start
Saturation behavior. · Read Tables 4–5 for per-model saturation points, the exceptions where agentic throughput exceeds chat, and the missing Mixtral coding-agent row.
Abstract
The optimization of LLM serving engines, such as vLLM and SGLang, is largely benchmark-driven: optimizations, scheduling policies, hardware and system designs are all selected based on representative workloads. However, a significant mismatch has emerged in the agentic era. Existing benchmarks primarily focus on simple single-turn chatbot workloads. LLM applications are increasingly agentic: coding agents, terminal execution systems, and tool-use agents issue multi-turn requests with growing context lengths. We introduce AgentPerfBench, a benchmark suite for agentic inference. It uses real traces from agentic benchmarks, such as SWE-Bench and TerminalBench, alongside standard chat baselines. This enables benchmarking of models on multi-turn tasks involving tool calling, skill utilization, and increasing context lengths. AgentPerfBench also samples from empirical distributions of input length, output length, and turn count derived from the real traces, generating representative synthetic profiles for cheap and accurate measurements on new hardware. In addition, we further find that several existing benchmarks fail to accurately reflect real hardware performance for two key reasons: 1) they do not account for realistic context-length growth, and 2) they measure inference performance without operating at hardware saturation. We discuss these issues in detail and provide rich kernel-level Nsight Compute (NCU) traces to construct a new multi-dimensional roofline model that captures hardware-system limitations in both memory bandwidth and memory capacity footprint. The benchmarking suite then includes automated scripts to identify potential bottleneck conditions on emerging hardware when evaluated with diverse agentic traces. Together, these contributions quantify the chat-to-agentic gap in current inference benchmarks and characterise per-kernel GPU resource utilisation via roofline analysis.