The FastPath KV-Cost Router: 94.1% of Agent Requests Within 1 s on 2xH100 with a Capped KV Cache, at the Cost of a 60 s Tail
Year: 2026
Type: preprint
Abstract: A production model runs as several engine copies behind a router. We measured released routers (llm-d 1.0, the vLLM router, the SGLang router and NVIDIA Dynamo) in front of two stock vLLM 0.19.0 engines with Qwen3-1.7B on 2xH100, with each engine's KV cache capped at 64,000 tokens to create cache pressure. We test the FastPath KV-Cost Router (kv_cost), a gateway that scores engines by estimated time to first token (TTFT) and holds a request when no engine can start it in time. On an AgentX-style agent workload kv_cost answered 94.1% of requests within 1 s (TTFT <= 1 s, TPOT <= 50 ms; 93.8-94.5% by seed). llm-d, the vLLM router and the SGLang router answered every request, but none within 1 s (median TTFT 3.5 s). The price is the tail: 3.4% of agent requests waited over 50 s (prompts of 4,000 tokens or more were late 4.5 times as often, yet 76% of late requests were shorter), and at a TTFT bar of 6 s or more the cache-first routers are near 100% on time against about 95%. At twice round-robin capacity kv_cost answered 27.6 requests per second on time, against 0 for llm-d and 24.9 for Dynamo, which refused 38.6% of requests; but 27% of kv_cost's requests there waited over 30 s, and llm-d leads at bars from 30 to 62 s. Rules were committed to a private repository before the run. Three of ten gates failed: the busy-load bar (one seed of three), an opt-in variant's closed-loop gate and a block-size gate. With twice the cache both routers were 100% on time; on 1k1k closed-loop traffic kv_cost's throughput was 1.5-5.3% below llm-d's. A 4xH100 repeat with Qwen3-8B FP8 did not confirm the result: both headline rules failed, and per seed against llm-d the pre-registered blocks were 5 ahead, 14 tied and 5 behind; post-hoc cells favoured kv_cost (9 of 10 seed pairs) and need a repeat. Neither cost-based routing nor holding is new; our contribution is the measurement.
Language: English
Subfield: Hardware and Architecture
Field: Computer Science
Domain: Physical Sciences
Open Access status: green
OpenAlex ID: W7242006355
