Your model fits in VRAM. Your agents don't. Size GPUs for KV cache, not weights.
Every GPU sizing thread starts with the same question: will the model fit? For chat that is most of the answer. For agents it is the smallest part.
An agent session is not a prompt. It is a system prompt, 5 to 15k tokens of tool schemas, every tool result, and the full transcript re-read on every loop. It only grows. So what runs out on your GPU is not room for weights. It is room for the KV cache, the per-token memory every live session holds for as long as it is alive.
This is not a benchmark. It is arithmetic from the model's config.json:
KV bytes per token = 2 x layers x KV heads x head dim x bytes per element
Qwen3-14B: 2 x 40 x 8 x 128 x 2 bytes = 160 KiB per token at FP16. One agent session at 32k tokens = 5 GiB, just for its memory of the conversation.
Now put that on real cards. These are my estimates using a vLLM-style budget: 90% of VRAM, minus weights, minus 1.5 to 3 GiB of runtime overhead. Check them against your own logs.
16 GB card, Qwen3-14B 4-bit: about 3.4 GiB left for KV. That is 0.7 sessions at 32k context. Not a typo. vLLM will refuse to start with max-model-len 32768.
16 GB, Qwen3-8B 4-bit: about 1.6 sessions at 32k, about 3 with an FP8 KV cache.
48 GB, Qwen3-32B 4-bit: about 2.7 sessions at 32k, about 5 with FP8 KV.
48 GB, Qwen3-14B FP8: about 5 at 32k, about 10 with FP8 KV.
80 GB, Llama 3.3 70B FP8: zero. 70 GB of weights plus overhead leaves nothing for the cache. It fits and it serves nobody.
80 GB, gpt-oss-120b: about 5 at 32k, about 10 with FP8 KV. More than the 70B on the same card, because only 18 of its layers use full attention and its heads are 64-dim. 36 KiB per token against 320.
Three things fall out of this.
1. Architecture beats parameter count. KV heads, head dim and sliding-window layers decide concurrency more than 14B vs 32B does. Read the config.json before you read the benchmark.
2. An FP8 KV cache roughly doubles your sessions. In vLLM it is one flag, --kv-cache-dtype fp8. Test quality on your own agent evals before you trust it.
3. Prefix caching is the agent multiplier. If 10k tokens of system prompt and tool schemas are identical across sessions, they are stored once. Keep that prefix byte-for-byte stable. A timestamp at the top of the system prompt quietly kills it.
The cheapest check of all: vLLM prints "GPU KV cache size: N tokens" and "Maximum concurrency for X tokens per request" at startup. That line is your real answer, and most people scroll past it.
These numbers are calculated from published model configs as of 23 Sep 2026. They are not measured throughput, and your quantisation, driver and server version will move them.
Question for you: what does your vLLM startup log say? Paste the KV cache tokens and max concurrency lines with your card and model. I will put every reply into a shared sizing table, so the next person does not have to guess from someone else's benchmark.
3-minute video version: https://youtu.be/X5bWKZzHXUw
0
0 comments
Richard Skacel
2
Your model fits in VRAM. Your agents don't. Size GPUs for KV cache, not weights.
powered by
AI for Cloud Engineers
skool.com/cloud-cost-optimization-3746
Claude Code & AI agents for cloud engineers. Automate AWS, Azure, GCP, K8s and Terraform without deleting prod. Free scripts, real labs.
Build your own community
Bring people together around your passion and get paid.
Powered by