Slide 1 of 8
llm-d llm-d Open Source Framework

Your Agent Makes 7 LLM Calls.
Why Pay for 7 Cold Starts?

llm-d uses KV cache-aware routing to eliminate redundant prefills — up to 84% faster time-to-first-token in the illustrative agentic scenario below.

84%
Warm TTFT Reduction
7
LLM Calls per Agent Task
6 of 7
Calls Hit a Warm Cache
All figures are illustrative simulation values, not measured benchmarks.
Slide 2 of 8

Every Call Pays the Full Prefill Cost

Agentic workflows invoke the LLM multiple times per query. Without smart routing, every call recomputes the KV cache from scratch, wasting GPU time on identical system prompts.

7-Call Agent Workflow
Prefill Compute (Redundant)
System Prompt Tool Defs
Cache Utilization
~1,770ms Redundant Prefill

Why This Hurts

  • 2,300 prompt tokens (system + tools) re-parsed every call
  • 350ms cold TTFT on each of 7 calls
  • Same prefix recomputed 7 times per task
  • GPU compute wasted on identical prefills
Slide 3 of 8

KV Cache-Aware Routing with EPP Scoring

The Inference Gateway's Endpoint Picker (EPP) hashes the prompt prefix and routes subsequent calls to vLLM pods that already hold a warm KV cache. Near-zero prefill for calls 2 through 7.

Prefix Hashing
Hash system prompt + tools
into prefix key 0xa3f7c2e1
EPP Scorer
60% cache + 20% queue
+ 20% GPU load
Warm Pod
Route to cached pod
Skip 92% of prefill
350ms
Cold TTFT (Before)
55ms
Warm TTFT (After)
84%
TTFT Reduction
Slide 4 of 8

Agent Execution Trace

Watch a 7-call agent workflow (plus two external tool executions) route through llm-d. Green bars are cache hits, amber partial matches, red cold misses, violet external tools. Timings are simulated.

Slide 5 of 8

The Numbers Tell the Story

Random routing vs. EPP cache-aware routing on the same 7-step agentic workflow. Illustrative simulation values — not a formal benchmark.

2,820ms
Total Time (Random Routing)
1,440ms
Total Time (llm-d EPP)
49%
Faster Execution
Slide 6 of 8

Cross-Agent Cache Sharing

Agents sharing the same system prompt route to pods with warm KV cache. EPP scores prefix hash matches across all active agents, enabling cross-agent cache reuse.

Research Agent
Code Agent
Review Agent (MCP)
EPP Router
Slide 7 of 8

Cost Savings at Scale

At production scale, cache-aware routing compounds into large GPU-time savings. Illustrative cost model: 7 LLM calls per agent task, 2,300 prompt tokens per call, ~60% prefill cost avoided, 70B-class model at $0.90/M input tokens.

Scale Without llm-d With llm-d Monthly Savings
1K tasks/day $435/mo $174/mo $261/mo
10K tasks/day $4,347/mo $1,739/mo $2,608/mo
100K tasks/day $43,470/mo $17,388/mo $26,082/mo
1M tasks/day $434,700/mo $173,880/mo $260,820/mo
60%
Cost Reduction
92%
Prefill Skipped on Cache Hits
Apache 2.0
Open Source License
Slide 8 of 8

Stop Paying for Cold Prefills

llm-d is open source, Kubernetes-native, and ready for production. Route your agentic AI workloads through cache-aware scheduling today.

Open Source
Apache 2.0 Licensed
K8s Native
Inference Gateway / Gateway API
vLLM-Based
Built on Production vLLM