Practical overview
When it fits
Consider CacheRoute when repeated knowledge in LLM requests creates prefill overhead and the serving workflow is built around vLLM and LMCache. Use the mock-mode demo to explore components without a vLLM model; a full deployment is the documented route for serving with a model.
Who it is for
- Teams building knowledge-intensive LLM services such as knowledge question-answering or browser AI.
- Engineers operating serving workflows based on vLLM and LMCache.
Documented uses
- Reuse KV-cache blocks for recurring external knowledge instead of repeatedly prefilling the same long text.
- Route knowledge-oriented requests to serving systems based on knowledge availability, load and topology.
- Choose between recomputing text and injecting cached KV data in response to compute and network conditions.
- Observe Proxy state and, optionally, Instance resources through documented dashboards.
Requirements & limits
The public repository is licensed under Apache-2.0.
- The repository distinguishes a mock-mode demo from full deployment, which requires a serving environment and model.
- The documented core environment lists Python 3.12.x, CUDA toolkit 12.8 in the container, PyTorch 2.9.1, vLLM 0.13.x, LMCache 0.3.11 and Redis 7.
- Rust/Cargo is needed only for the resource agent; Tkinter is needed only for the desktop dashboard.
- The repository provides separate legacy and modern v1 environment guidance and cautions against mixing their deployment interfaces.
Check current requirements in the official documentation. Source-based guidance does not mean OpenViST has run or independently tested this project.
Start the mock-mode component demo
Run CacheRoute’s documented lightweight demo without a vLLM model and open its browser interfaces.
Before you start
- CacheRoute repository and its application dependencies installed.
- Set USE_MOCK = True in core/config.py.
- Run the component entrypoints from the repository’s test directory.
Steps
Set USE_MOCK = True in core/config.py.
From test/, start demo_scheduler.py with --cacheroute and demo_kdn.py in separate terminals.
Start demo_proxy.py with --strategy round_robin, --injection-strategy iws and --ready-release-policy text_bypass.
Start demo_instance.py with --port 9001 --host 127.0.0.1, then demo_client.py with --with-ui.
Open the Proxy UI at a URL similar to http://127.0.0.1:8202 or the Client UI at http://127.0.0.1:7071/ui/client.
Expected outcome
A mock-mode component demo with Proxy and Client browser interfaces.
Guide limitations
- This demo does not require a vLLM model and is distinct from a full CacheRoute serving deployment.
- The listed addresses are examples from the documentation.
Sources & review
Source record details
- Source availability
- Active
- Sources checked
- 28 November 2026
- Original website title
- AstraNetLab/CacheRoute · Official homepage title · retained in its source language

