KVStash benchmarks: what we measured, how, and what is not tested yet
Dated studies of KVStash under SGLang and vLLM. Studies 1 and 2 compare reading the KV cache back from KVStash with recomputing it, which is what a restarted or new engine does. Study 3 puts KVStash next to vLLM 0.33's own GPU cache and CPU tier on the same GPUs: while the engine runs, its own tiers are faster; after a restart they are empty. Every number carries its engine, model, precision, GPU, prompt length and date, with the raw data and the limits.
Last updated
Published studies
Study 3 puts KVStash next to vLLM 0.33's own caches. Study 2 reads a 524k-token prompt back into vLLM on six machines. Study 1 ran on 29-30 October 2026 with SGLang and its HiCache storage tier, in two parts. Each keeps its own caption.
vLLM 0.33 after a restart
22.0 s→1.53 s
Time to first token for a 110k-token prompt after a vLLM restart, recomputed or read back from KVStash, next to vLLM's own GPU cache and CPU tier on the same GPUs. While the engine runs, its CPU tier is faster (0.81 s); a restart empties it. Also Study 2's 524k prompt on vLLM 0.33.
vLLM 0.33.0, L40S, 3 GPUs, answers checked, 9 Nov 2026
Read study 3 Study 2524k-token prompts on vLLM
474 s→2.77 s
Time to first token in a new vLLM engine for a 524,231-token prompt, recomputed or read back from KVStash (146-194x across 6 machines), answers checked. For when the engine's own cache is gone; while it still holds the prompt, that cache is faster.
vLLM 0.25.1, L40S, Prometheus counters and checker published, 4 Nov 2026
Read study 2 Study 1aLong prompts on SGLang
20.8 s→1.52 s
Time to first token for a 110k-token prompt, 13-19x faster than recomputing across 8 runs, covering prompts from 8k tokens with the output checked. SGLang's own memory tiers are faster while they still hold the prefix.
L40S, median of 5 after a verified cache flush, 29-30 Oct 2026
Read study 1a Study 1bServing load, restarts and failures
9.02 s→0.80 s
p99 time to first token after a server restart, 99% of prompt tokens reused, with KVStash adding an 80 GiB DRAM tier that survives the restart. With the store killed mid-load: 512 of 512 requests completed.
L40S and H100, SGLang's own load generator, 29 Oct 2026
Read study 1bHow are the KVStash benchmarks measured?
The same prompts on the same server, recomputed and then read back from KVStash after the engine's own caches are emptied, with the store's counters showing where every byte came from. Studies 1 and 2 compare with recomputing because that is what an engine does once its own cache has lost the prefix; Study 3 adds vLLM's own tiers on the same GPUs.
- 1
Dated
Each study names the days it ran and the run ids behind each table.
- 2
Captioned
Engine and version, model, precision, GPU, prompt length and settings sit next to the number.
- 3
Downloadable
CSV and JSON for every table, generated from the same source as the page.
- 4
Limits stated
What a study does not show is written on the study page, next to what it does.
What is not tested yet
We do not quote numbers for these. If one of them is your setup, we would rather measure it with you than estimate it.
The S3 tier under SGLang
The tier exists in the daemon; we have no SGLang serving numbers for it.
A store on a separate machine
In the published studies the daemon ran on the same host as the GPU server, reached over loopback TCP. Over a network the link sets a floor.
Other stores
LMCache and Mooncake have not been measured against KVStash. vLLM's built-in CPU offloading is in Study 3.
Current SGLang release
Study 1 ran on SGLang 0.5.15.post1; newer SGLang releases are GPU-tested for correctness and not yet in a published study. Study 3 covers vLLM 0.33.0.
Tensor parallel above 1
Every run used one GPU per server.
524k and 1M-token prompts on SGLang
The longest SGLang prompt measured is 110k tokens.
A dedicated NVMe drive
The NVMe-tier result used the cloud GPU container's own disk.
Raw data
Every table as CSV or JSON, generated from the same source as the pages. Study 2 also ships its raw records and the checker that recomputes them.
Study 2: 524k-token prompts on vLLM
- Per-machine summaryvllm-524k-summary.csv, 8 rows
- Per-machine summaryvllm-524k-summary.json, same rows
- Raw records and Prometheus seriesvllm-524k-raw.tar.gz, every pass, every machine
- Checkervllm-524k-check.py, recomputes the timing figures, no GPU
Study 1: SGLang
- All of Study 1study1.json, all tables and captions
- Prompt-length sweepstudy1-sweep.csv, 4 rows
- 110k prompt, 8 runsstudy1-110k-spread.csv, 8 rows
- L40S load teststudy1-load-l40s.csv, 6 rows
- H100 load teststudy1-load-h100.csv, 6 rows
- Two servers, one storestudy1-shared.csv, 2 rows
Study 2 (vLLM, GLM-4-9B-chat-1M, fp8 KV cache) and Study 1 (SGLang, Qwen2.5-7B, BF16) differ in engine, model and precision, so their numbers are never set side by side without captions. Earlier vLLM results, at 131k tokens on an A10G, are on the vLLM integration page.
Want these numbers on your workload?
Tell us your engine, model, GPUs and prompt lengths. We will say what we would measure, how, and whether KVStash is likely to help.
Or write to rudray@kvstash.com