Estimate GPU Nodes Needed To Serve A 70B Model

Last updated: November 29, 2026

Quick Overview

Estimate how many 8xH100 nodes are needed to serve a 70B dense model in FP8 at 50 requests per second, with 1,000 prompt tokens and 300 output tokens per request, while giving each user at least 30 output tokens per second.

Fireworks AI
Statistics & Math
Machine Learning Engineer
Fireworks AI
November 29, 2026
Machine Learning Engineer
Phone Screen
Statistics & Math
Medium

0

0

0 solved


Estimate how many 8xH100 nodes are needed to serve a 70B dense model in FP8 at 50 requests per second, with 1,000 prompt tokens and 300 output tokens per request, while giving each user at least 30 output tokens per second.

Capacity planning drives Fireworks' cost per token and the pricing of dedicated deployments. The interviewer checks back-of-envelope fluency with FLOPs, memory bandwidth, KV cache size and Little's law, and whether the candidate finds the binding constraint.

What the Interviewer Expects
  • Use 2N FLOPs per token for a dense model
  • Apply Little's law to get concurrent sequences
  • Compute KV cache bytes per token from layers, KV heads and head dimension
  • Check per-step decode latency against the per-user token rate
  • Identify prefill compute as the binding constraint and add headroom
Key Topics to Cover
Capacity planning
FLOPs estimation
KV cache
Little's law
Roofline
How to Approach This
  1. Define your hypotheses (H0 and H1) clearly before performing any test.
  2. Calculate required sample size BEFORE running an experiment, using power analysis.
  3. Remember the Central Limit Theorem: sample means become approximately normal with large n.
  4. Watch for Simpson's paradox. Always segment data by key dimensions.
  5. Distinguish between statistical significance and practical significance.
Possible Follow-up Questions
  • How does the answer change if prompts are 8,000 tokens with heavy prefix reuse?
  • How would separating prefill and decode onto different nodes change the estimate?
  • What utilization would you plan for at peak versus average?
  • How would grouped-query attention versus full multi-head attention change KV memory?
Sharpen Your Skills on Codemia

Practice similar problems with our interactive workspace, get AI feedback, and track your progress.

Browse Statistics Questions
Sample Answer
Clarify

Assume Llama-style 70B: 80 layers, 8 KV heads (grouped-query attention), head dimension 128. H100 FP8 dense peak about 2×10152 \times 10^{15} FLOP/s per GPU, HBM bandwidth about 3.35 TB/s, 80 GB memory. P...

Approach

Compute demand from FLOPs (prefill plus decode), check memory for weights plus KV cache, check decode step latency against 30 tokens per second, then take the maximum and add headroom....


Submit Your Answer
Markdown supported

Related Questions