{"slug": "the-training-flops-of-gpt-4", "title": "The training FLOPs of GPT-4", "summary": "OpenAI's public scaling-law chart on its GPT-4 page encodes GPT-4's training compute as 1.235 × 10²⁵ FLOP, according to an analysis of the page's Observable notebook ee52c8c90aa8010a, which ships the raw compute array before browser-side normalization. The analysis reads the unlabeled value as 142,968.5562703175 PF-days (one PF-day = 8.64 × 10¹⁹ FLOP) and recovers the plotted fit L(C) = 0.802 · C^−0.122 + 0.71, an irreducible loss E of 0.71 nats per token, which predicts 0.898 at GPT-4's compute against a measured 0.872. The figure is roughly six times Epoch AI's hardware-based estimate of about 2.1 × 10²⁵ FLOP, and no open model with a disclosed token count has reached it — DeepSeek-V4-Pro preview is closest at 79%.", "body_md": "### Start from OpenAI's own chart\n\nThe GPT-4 page plots loss against compute for ten models. The x-axis is normalized so GPT-4 sits at 1, which hides the absolute compute.\n\nWe were checking [Wenhao Chai's estimate](https://x.com/wenhaocha1/status/2124558946866245781) that GPT-4's scaling law has an irreducible loss of about 0.706. OpenAI's chart source answers it: the plotted fit uses E = 0.71 nats per token. The same source also contains GPT-4's training compute.\n\nGPT-4's training compute is 1.235 × 10²⁵ FLOP. The value sits in the public source of the scaling chart on OpenAI's GPT-4 page, next to the nine smaller models OpenAI used to predict GPT-4's loss. The source has no unit label. We read it as PF-days, the unit in which all nine smaller models decode exactly.\n\nThe curve is L(C) = 0.802 · C<sup>−0.122</sup> + 0.71, with C in PF-days and L in nats per token. The constant 0.71 is the irreducible loss E, recovered directly from all 1,000 plotted curve points. At GPT-4's compute it predicts 0.898. GPT-4 measured 0.872.\n\nThe page HTML names eight Observable notebooks. `ee52c8c90aa8010a` draws the loss chart.\n\nLine 207 holds the raw compute array. Line 219 divides every value by the last one. The normalization runs in your browser, so the original values ship with the page.\n\nOne PF-day is 8.64 × 10¹⁹ FLOP. In that unit, all nine smaller models reduce to one integer formula. The last console line checks each value bit for bit and returns nine `true`.\n\nScreenshots are Chrome captures of the live pages on November 22, 2026. The window frame and orange marker were added.\n\nMultiply each chart value by 8.64 × 10¹⁹ FLOP per PF-day and the result factors the same way. For each value, exactly one rung k between 1 and 400 fits. A random value would match a given rung with probability below 1 in 100 million.\n\n| Rung k | Chart value (PF-days) | Decoded FLOP | 147k + 1 | n <sub>k</sub> | Float error (ULP) | \n|---|---|---|---|---|---|\n\nThe table is recomputed in your browser with exact integer arithmetic. An error below 0.5 ULP means the decoded integer rounds to the published 64-bit value.\n\nUsing 6 × active parameters × pre-training tokens, no open model with a disclosed token count has reached GPT-4's compute. DeepSeek-V4-Pro preview is closest, at 79%.\n\nOpen-model values count pre-training only and come from each technical report. GPT-4's value comes from OpenAI's chart and may use different accounting. Including mid-training, GLM-4.5 is 4.42e24 and GLM-5 is 6.84e24. Kimi K2.5 adds its reported 15T of continued training to K2's 15.5T, so it is an estimate. Kimi K3 has not disclosed its token count, so its bar is a scenario.\n\nTwo chart notebooks carry the same GPT-4 value, 142968.5562703175. The browser divides by it to draw the normalized axis.\n\nEach value matches exactly one rung. Among the integer forms tested, only 147k + 1 fits all nine.\n\nThree rounded constants reproduce the plotted curve to machine precision.\n\nThe source has no unit label. PF-days produce the exact structure and round fit constants. Larger units also divide cleanly but imply an implausible 10²⁷ to 10²⁸ FLOP.\n\nThis is the chart's compute value. Epoch AI's hardware-based estimate is about 2.1 × 10²⁵, and the two may count different things.\n\nThis fits a standard autoregressive data loader, but the source does not state it.\n\nk is a scale index. The formula shows how compute grows with k and leaves open what k counts inside the network.\n\nGPT-4's value does not fit this formula at k = 120, and the same polynomial admits many architectures.\n\nOnly the product of parameters and tokens is constrained. The ~60 figure assumes C = 6ND with one pass.\n\nTheir five compute values fit this formula at no k from 1 to 200.\n\nIf C = 6ND, the parameter count is N(k) = 6144 k² (147k + 1). Each row below produces that exact N at every rung. These are arithmetic examples and none is a claim about GPT-4.\n\n| Width d | Blocks n | Weights per block | Added once | Rungs matched | \n|---|---|---|---|---|", "url": "https://wpnews.pro/news/the-training-flops-of-gpt-4", "canonical_source": "https://ridgerzhu.com/gpt4-scaling-ladder/", "published_at": "2026-11-23 10:31:52+00:00", "updated_at": "2026-11-23 10:44:52.527978+00:00", "lang": "en", "topics": ["large-language-models", "ai-research", "machine-learning", "artificial-intelligence"], "entities": ["OpenAI", "GPT-4", "Epoch AI", "DeepSeek-V4-Pro", "GLM-4.5", "GLM-5", "Kimi K2.5", "Wenhao Chai"], "also_reported_by": [], "takeaway": "OpenAI's GPT-4 scaling chart implies 1.235 × 10²⁵ FLOP of training compute (142,968.5562703175 PF-days) with a fit of L(C) = 0.802 · C^−0.122 + 0.71, predicting 0.898 nats per token versus GPT-4's measured 0.872.", "recommendation": null, "alternates": {"html": "https://wpnews.pro/news/the-training-flops-of-gpt-4", "markdown": "https://wpnews.pro/news/the-training-flops-of-gpt-4.md", "text": "https://wpnews.pro/news/the-training-flops-of-gpt-4.txt", "jsonld": "https://wpnews.pro/news/the-training-flops-of-gpt-4.jsonld"}}