KV cache tools
Free tools that run in your browser: size the KV cache of a model and workload, then estimate when reading it back beats recomputing it. No sign-up, nothing sent to us.
Last updated
- Step 1KV cache size calculatorBytes per token, per prompt and for all sessions, for eight model presets or your own config, in BF16 or FP8. Shows whether the cache fits in GPU memory, host DRAM or NVMe.
- Step 2Recompute vs read backFrom the size of a prompt's cache, a read bandwidth and your recompute time, estimate whether storing the cache saves time, next to a measured 110k-token reference point.
How big the KV cache gets
Layers, KV heads and head size decide it, not parameter count: Gemma 2 9B needs 344,064 bytes per token, more than Llama 3.1 70B at 327,680.
Bring one workload. We will measure it with you.
Tell us your engine, model, GPUs and where context repeats or gets lost. We reply with what we would measure, what success looks like, and when KVStash is not worth it.
Or write to rudray@kvstash.com