r/LocalLLM • • 2d ago

News Built an in-browser vLLM GPU hardware profiler: weights, GQA KV cache, TP, and cloud cost breakeven

Calculating whether a model will fit into VRAM with enough room left for KV cache and concurrency usually means manual math across quantizations and GQA ratios.

I built a free, 100% client-side calculator:

https://devopskit.tools/tools/vllm-gpu-hardware-profiler

What it models:

- Exact weight VRAM footprint across FP16, FP8, INT8, and INT4 (Llama 3.3, DeepSeek, Qwen 2.5, etc.)

- PagedAttention KV Cache allocation adjusted for GQA (Grouped-Query Attention) ratios

- Required Tensor Parallelism (TP) across H100 (80GB), A100 (80GB/40GB), L40S, and A10G

- Monthly cost crossover: when it becomes cheaper to self-host on RunPod/Lambda Cloud vs paying for GPT-4o / Claude 3.7 API tokens

Zero tracking, no backend, open source on GitHub (https://github.com/haseeb0505/devopskit). Hope this saves you from OOM crashes!

3 Upvotes

2 comments sorted by

1

u/kumariu-81 2d ago

Does it model CUDA graph/workspace overhead or allow headroom? That can separate a paper fit from a stable serving config.

1

u/haseeb12112 1d ago

Yes—it models both:

  1. CUDA Runtime & Activation Overhead: Reserves 2.0 GiB per GPU (2.0 × tensorParallel) for CUDA context, runtime, and activation buffers.
  2. Headroom (--gpu-memory-utilization): Caps usable cluster VRAM at 90% (vllmCacheFraction = 0.9), leaving 10% headroom for CUDA graphs, NCCL/PyTorch workspace, and fragmentation before flagging OOM or calculating max concurrency.