Worked Example: Architecture Sizing Example: Chinchilla Scaling Law
Apply C = 6ND to size LLM training FLOPs, tokens, and H100 GPU hours.
- Enter the workload parameters, model dimensions, or network link specifications.
- Compute the sizing equation: Compute_FLOPs = 6 × Parameters_N × Tokens_D; GPU_Hours = FLOPs / (GPU_TFLOPS × 10¹² × MFU × 3600).
- Inspect the primary capacity metric, headroom buffers, and 3 SVG visualizations.
Result: Calculates Chinchilla Scaling Law via Compute_FLOPs = 6 × Parameters_N × Tokens_D; GPU_Hours = FLOPs / (GPU_TFLOPS × 10¹² × MFU × 3600).
Developer Tools · AI & LLM Infrastructure
Chinchilla Compute-Optimal LLM Pre-Training FLOPs & Token Ratio Calculator: inputs, method, and how to read the result
Apply C = 6ND to size LLM training FLOPs, tokens, and H100 GPU hours.
Choose inputs for the case you are checking
The defaults are illustrative. Replace them with values for your case and keep the units shown beside each field.
- Model Parameters Billions: Model parameter count (N) in billions.
- Training Tokens Trillions: Total pre-training dataset tokens (D) in trillions.
- Sustained Gpu Tflops: Effective achieved TFLOP/s per GPU (after MFU).
- Cluster Gpu Count: Number of GPUs in training cluster.
What the calculation includes
With the default values shown, Cluster Training Duration (Days) is 24.8 days. The calculation follows Chinchilla Scaling Law Systems Engineering Formula; the formula and variable definitions above show how the inputs combine.
One-input check: With the other defaults held constant, changing Model Parameters Billions from 8 B params to 9 B params changes Cluster Training Duration (Days) from 24.8 days to 27.9 days. This is a comparison inside the calculator's stated model, not a prediction.
Where to use caution
- Uses industry-standard IEEE, IETF RFC, and GPU/cloud hardware sizing conventions.
- Capacity planning estimate; benchmark under production traffic patterns before finalizing cluster or hardware procurement.
Scope: IEEE / IETF / Cloud Systems Engineering Standard Check the assumptions and limitations against your situation before relying on the estimate.
More in Developer Tools: API Token Cost Calculator, IPv4 CIDR Subnet, Password Entropy & URL/Base64 Encoding Calculator, Aspect Ratio, Image Dimensions & Storage Converter.