Napkin Math, Cost & Capacity
30 questionsNapkin Math & Estimation Interview Questions
Memory footprints, 6ND, arithmetic intensity and the ridge point, bandwidth-bound decode, communication volume, GPU counts and time to train, cost per million tokens, TCO and buy versus rent. The estimation round almost every AI infra loop includes, with every assumption stated.
Learn how AI infrastructure works through explanations, worked examples and diagrams, then practise applying it to interview questions.
Work through the numbers
Change the assumptions in a free calculator, then explain what the result establishes and what still needs measurement.
A starting path through this topic
Start with a mechanism, then use a worked problem to explain a decision. Access labels below describe what is available without an account.
- Model Memory Footprint
Budget weights, working state and runtime headroom per device.
Public concept - Training FLOPs: 6ND
Derive training work and keep attention and recomputation boundaries explicit.
Public concept - How many FLOPs does it take to train a 70B model on 15 trillion tokens?
Derive the 6ND estimate and state the work it leaves out.
Public answer - How long does that 70B run take on 16,384 H100s at 40% MFU?
Convert a consistent FLOP estimate into time at an explicitly assumed MFU.
Public answer
The concepts behind Napkin Math, Cost & Capacity
Review the ideas used in these questions. Each card shows whether the explanation is free, requires sign-in or is part of Premium.
