Improve TTFT for multi-turn agentic workloads with bi-directional KV transfer in vLLM
The AWS Machine Learning Blog explains a bi-directional key‑value (KV) cache transfer that lets a decode node return previously computed KV blocks to a prefill node for the next turn of a multi‑turn agentic conversation. By reusing KV instead of recomputing it, the feature flattens time‑to‑first‑token (TTFT) growth as prompts become longer.
Key points
- With KV reuse, Qwen3‑32B latency stays near 122 ms‑460 ms versus 158 ms‑778 ms without it; GLM‑5‑FP8 stays 358 ms‑702 ms versus 500 ms‑2,334 ms.
- Feature uses NIXL connector, a KV‑cache‑aware router, default block TTL 480 seconds and recompute threshold 64 tokens.
For Qwen3‑32B, latency rises from 158 ms at 2k tokens to 778 ms at 24k without KV reuse, but only from 122 ms to 460 ms with it. GLM‑5‑FP8 goes from 500 ms to 2,334 ms without reuse, versus 358 ms to 702 ms with reuse. The transfer adds a small 30‑130 ms overhead, far outweighed by the saved recompute time.
The implementation extends the NVIDIA Inference Xfer Library (NIXL) connector, adds a KV‑cache‑aware router, and uses a default block‑TTL of 480 seconds and a recompute threshold of 64 tokens. The feature is available in vLLM v0.21.0 or later and can be reproduced with the provided GitHub guide.
The story so far
4 episodes →- Improve TTFT for multi-turn agentic workloads with bi-directional KV transfer in vLLMthis story
Improve TTFT for multi-turn agentic workloads with bi-directional KV transfer in vLLM
AWS Machine Learning Blog · 19 October 2026
Loading the full article…
This text was published by AWS Machine Learning Blog and written by Sunita Nadampalli. It is reproduced here with attribution so you can read it in full; the rights remain with the publisher. Read it at the source ↗
Coverage and discussion
2sources- Push-based KV transfer to improve TTFT and TPOT for disaggregated inference in vLLMPrimary source · AWS Machine Learning Blog ·
The headline, key points and digest above were generated by Digest AI's editorial model from the linked sources. Automated summaries can contain errors: the sources are the record. Spotted a mistake? Tell us. Published by Martin K., who runs Digest AI and handles corrections.
More in Agents & Tools
All →- Developers use Claude to strip ads and bloatware from smart TVs · 1 src
- Researcher says Chinese‑speaking hacker used AI agents to breach 100+ firms · 2 src
- DeepSeek launches Search and Fetch APIs at $0.75 per 1,000 requests · 5 src
- Accenture expands federal AI push with Google's Gemini agents · 2 src
- KDnuggets compares LangChain, LlamaIndex and building LLM apps from scratch · 1 src
Comments
via GitHub Discussions