KV cache calculator
Will it fit on my GPU? Pick a model, its precision and your GPU's memory: see how much is left for the KV cache, and how many requests of your context length fit at once.
Your setup
What fits
Fits: 2 at a time- Concurrent requests at 32K
- 2
- Cache capacity
- 101,542tokens
- Per token
- 64.0 KiB
- Per request (32K)
- 2.1 GiB
- Fixed state per request, at any length
- 146.8 MiB
48 of its 64 layers are linear attention: each keeps a fixed state per request instead of a cache that grows with the context.
The settings are in the address, so a link shares this exact setup. Upper bounds: block rounding and the engine's own overhead come on top.
Learn what it computes
Request to Tokens · 3The KV Cache, SizedModels it knows
Each one read from its config. The ones with a card link to it.
- Qwen3-8B
- Qwen3-32B
- Qwen3-30B-A3B
- gpt-oss-20b
- gpt-oss-120b
- Llama 3.1 8B
- Llama 3.3 70B
- Mixtral 8x7B
- Gemma 3 27B
- DeepSeek-V3
- DeepSeek-V3.2
- Gemma 4 31B
- Qwen3.5-397B-A17B
- Qwen3-Coder-Next
- DeepSeek-V4-Pro
- Nemotron 3 Ultra 550B-A55B
- Mistral Large 4
- GLM-4.7-Flash
- Devstral Small 2 24B
- Mistral Small 4 119B