Capacity planning in tokens per minute
What it is
Capacity for an LLM system is counted in tokens per minute (TPM), worked out in four steps:
- average requests per second = monthly requests ÷ seconds in a month;
- peak requests per second = average × a peak factor;
- tokens per minute at peak = peak requests per second × 60 × tokens per request;
- add headroom, usually half as much again.
Why it matters
Tokens per minute is the unit providers limit and the unit a GPU delivers, so it is the unit to plan in. The same request rate can mean very different token loads: a feature with long prompts needs many times the capacity of one with short prompts, at the same number of requests.
In the real world: Before a festival sale, a team works out its expected peak in tokens per minute, finds it is double its current allowance, and requests a quota increase three weeks ahead.
Visual example
ComputedPeak capacity needed for two of the running-example features: about 940,000 tokens a minute, before headroom.
With 1.5× headroom, ask for about 1,500,000 tokens a minute.
Planning for the average. Traffic is not flat: a grocery app's evening peak can be five times its daily average. A system sized for the average fails every evening.