Log inStart free
LESSON 34.C2 · 6 STAGES · 3 CONTROLS · 3 CHECKSPRO · PREVIEW

Capacity planning, from traffic to GPUs

Turn a day of chat traffic into replicas, GPUs and a daily bill.


Pro lesson. Stage 1 is free to watch. Pro opens all 6 stages, 3 controls and 3 checks, in this lesson and every other.

Go Pro · $8.25/mo
EXPLAINER · 34.C2 · CAPACITY BAY8B BF16 · PEAK 50 REQ/S · MEAN 31.3 REQ/S
01
Stage 1 of 6 · Traffic
The day of 34.01 brings 2,700,000 requests, 50 req/s at the peak. The plan sizes the fleet for the peak.
Explain it simply

Each teal bar is one hour, up to 50 requests a second. Each request is shorter than the 34.01 help chat: 512 prompt and 128 reply tokens, not 1,000 and 200. So each needs less GPU time. The ochre line is the plan. It buys enough for the busiest hour.

Twenty-four hour bars, from 6.25 to 50 requests a second, mean 31.25. The plan line sits at the peak.

traffic, requests, KV cacheGPUs, weights, plan, SLOlatency, max QPS, utilizationover the SLO or capacity
00 h12 h23 h500mean 31.3peak 50 req/splan: the peak, 50 req/s1 Traffic34.0100 h12 h23 h500mean 31.3peak 50 req/splan: the peak, 50 req/s1 Traffic34.01
Toy: 512-token prompts, 128-token replies, H100s at $4.00 an hour, a roofline step model
STAGE 1 / 6
MATH · STAGE 1HOVER A SYMBOL OR A SHAPE
λˉ=Nday86,400 s,λpeak=max⁡hλh\bar{\lambda} = \frac{N_{\text{day}}}{86{,}400\text{ s}}, \quad \sy{lam}{data}{\lambda_{\text{peak}}} = \max_h \lambda_h
λˉ=2,700,000/86,400=31.25,  λpeak=50 req/s\bar\lambda = 2{,}700{,}000 / 86{,}400 = 31.25, \; \lambda_{\text{peak}} = 50\text{ req/s}

The mean rate is the day's requests over the day's seconds.

Common mix-ups

MYTHA fleet sized for the average traffic carries the day.

The fix, and 1 more mix-up with the diagram to show them, come with Pro.

Predict, then reveal
3 CHECKS · PRO
Q01With 8B FP8 on 1 GPU a replica, how many GPUs does the peak need?

Make your guess, then test it in the diagram. All 3 checks come with Pro.

PRO LESSON · YOU WATCHED STAGE 1 OF 6
Unlock the full explainer
  • 5 more stages and 3 live controls
  • 2 mix-up cards and 3 predict-then-reveal checks
  • Watch it as a narrated video, in three voices
  • Every Pro lesson and capstone · 656 in total

$99 a year, or $15 a month. Cancel any time.