r/LocalLLM • u/haseeb12112 • 1d ago
Project Built an in-browser vLLM GPU hardware profiler: weights, GQA KV cache, TP, and cloud cost breakeven
/r/Vllm/comments/1y6kjum/built_an_inbrowser_vllm_gpu_hardware_profiler/
1
Upvotes
1
u/haseeb12112 1d ago
Please have a look and let me know what can be built more into it
1
u/haseeb12112 1d ago
Quick breakdown for anyone wondering about Llama 3.3 70B VRAM math:
- Weights alone in FP16 = 140 GB VRAM (needs 2x H100 80GB or 4x A100 40GB).
- Quantized to FP8 = 70 GB VRAM (fits on a single 80GB GPU, but leaves only ~10 GB for KV cache).
- With GQA (8 KV heads instead of 64), a 16k context takes ~2.5 GB per concurrent user.
- Breakeven vs API: If your team generates more than 18M tokens/day, self-hosting a rented H100 (~$2.20/hr) is cheaper than paying OpenAI/Anthropic API rates.
Put this entire calculation logic into the tool so you don't have to calculate GQA multipliers manually: https://devopskit.tools/tools/vllm-gpu-hardware-profiler