Hoffmann et al. (DeepMind, 2022) demonstrated that earlier frontier models such as GPT-3 (175B on 300B tokens) and Gopher (280B on 300B tokens) were severely undertrained. For a fixed training FLOP budget C ≈ 6·N·D, minimizing pretraining cross-entropy loss requires scaling model parameters N and training tokens D in equal proportion—empirically around D ≈ 20 × N tokens per parameter.
1. The Core Compute & Loss Equations
Why 6·N·D FLOPs?
In a standard dense decoder-only Transformer (when sequence length is small relative to 12 × d_model), each token performs one multiply-accumulate (2 FLOPs) per parameter during the forward pass (2ND) and two matrix multiplies during backpropagation—gradients with respect to activations and weights (4ND)—summing to 6ND total FLOPs.
Note that activation checkpointing increases executed hardware operations to ~8ND, which is why hardware-level HFU is higher than model-level MFU.
Converting FLOPs to Real Wall-Clock Dollars
Wall-clock time equals GPU-Hours / Cluster_Chips. Notice that MFU (Model FLOPs Utilization) sits directly in the denominator: dropping from 45% MFU to 22.5% MFU doubles both calendar time and cloud cost.
2. Reference Chinchilla-Optimal vs. Llama-3 Overtrained Run Table (H100 SXM BF16, 40% MFU)
Computed deterministically using NVIDIA H100 SXM dense BF16 (989 TFLOPS → 395.6 effective TFLOPS at 40% MFU) at a $2.99/GPU-hr public neocloud reference rate.
| Model & Regime | Params (N) | Tokens (D) | D / N Ratio | Total FLOPs (6ND) | H100 BF16 GPU-hrs | Est. Cost @ $2.99/hr |
|---|---|---|---|---|---|---|
| 7B Chinchilla-Optimal | 7B | 140B | 20× | 5.88 × 10²¹ | 4,129 hrs | $12,346 |
| 8B Llama-3-Class Overtrained | 8B | 15.0T | 1,875× | 7.20 × 10²³ | 505,627 hrs | $1.51M |
| 32B Chinchilla-Optimal | 32B | 640B | 20× | 1.23 × 10²³ | 86,289 hrs | $258,004 |
| 70B Chinchilla-Optimal | 70B | 1.40T | 20× | 5.88 × 10²³ | 412,928 hrs | $1.23M |
| 70B Inference-Overtrained (15T) | 70B | 15.0T | 214× | 6.30 × 10²⁴ | 4,424,230 hrs | $13.23M |
| 405B Frontier Scale (15T) | 405B | 15.0T | 37× | 3.65 × 10²⁵ | 25,597,333 hrs | $76.54M |
3. Beyond Chinchilla: Inference-Aware Overtraining
Sardana & Frankle ("Beyond Chinchilla-Optimal", 2024) formalized why production AI labs intentionally train far past 20 tokens/parameter: total lifecycle compute is C_total = 6·N·D_train + 2·N·D_inference. Once a model is deployed to millions of users, inference demand quickly exceeds training tokens by orders of magnitude.
Training an 8B model on 15T tokens costs roughly the same upfront FLOPs as training a Chinchilla-optimal 70B model on 1.4T tokens—yet the resulting 8B model serves at roughly 8× lower inference cost per token on a single GPU.
4. Top Four MFU Bottlenecks on Multi-Node Clusters
- Interconnect Starvation: Running ZeRO-3 / FSDP all-gathers over slow 25–100 Gbps Ethernet instead of 3.2 Tbps InfiniBand, EFAv2, or TPU ICI can slash MFU from 42% to under 18%.
- Sub-Optimal Parallelism Topology: Keep Tensor Parallelism (TP) strictly inside an 8-GPU NVLink/NVSwitch node; use FSDP / Data Parallelism and Pipeline Parallelism across nodes.
- Host Data-Loader Stalls: Shuffling terabytes from slow network storage without async prefetching starves Hopper/Blackwell Tensor Cores every step.
- Stragglers & Checkpointing Pauses: Synchronous checkpoint writes to slow storage halt all 256–2,048 GPUs simultaneously; use asynchronous RAM-buffered checkpointing.