cd /news/large-language-models/the-training-flops-of-gpt-4 · home › topics › large-language-models › article
[ARTICLE · art-174625] src=ridgerzhu.com ↗ pub= topic=large-language-models verified=true sentiment=· neutral

The training FLOPs of GPT-4

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%.

key 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.

read3 min views9 publishedNov 23, 2026
The training FLOPs of GPT-4
Image: source

Start from OpenAI's own chart

The 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.

We were checking Wenhao Chai's estimate 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.

GPT-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.

The 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.

The page HTML names eight Observable notebooks. ee52c8c90aa8010a draws the loss chart.

Line 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.

One 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.

Screenshots are Chrome captures of the live pages on November 22, 2026. The window frame and orange marker were added.

Multiply 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.

| Rung k | Chart value (PF-days) | Decoded FLOP | 147k + 1 | n <sub>k</sub> | Float error (ULP) | 
|---|---|---|---|---|---|

The 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.

Using 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%. Open-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.

Two chart notebooks carry the same GPT-4 value, 142968.5562703175. The browser divides by it to draw the normalized axis.

Each value matches exactly one rung. Among the integer forms tested, only 147k + 1 fits all nine.

Three rounded constants reproduce the plotted curve to machine precision.

The 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.

This is the chart's compute value. Epoch AI's hardware-based estimate is about 2.1 × 10²⁵, and the two may count different things.

This fits a standard autoregressive data , but the source does not state it.

k is a scale index. The formula shows how compute grows with k and leaves open what k counts inside the network.

GPT-4's value does not fit this formula at k = 120, and the same polynomial admits many architectures.

Only the product of parameters and tokens is constrained. The ~60 figure assumes C = 6ND with one pass.

Their five compute values fit this formula at no k from 1 to 200.

If 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.

Width d Blocks n Weights per block Added once Rungs matched
── more in #large-language-models 4 stories · sorted by recency
── more on @openai 3 stories trending now
sponsored brought to you by zahid.host 4,200+ EU-deployed projects
reading about agents? ship yours in a single git push.

Run your AI side-project on zahid.host

EU-based hosting, git-push deploys, automatic HTTPS, no cold starts. Free tier with a custom domain — perfect for shipping the agent you just read about.

$git push zahid main
→ Live at https://your-agent.zahid.host ✓
Get free account → Pricing
from €0/mo · no card required
LIVE [news/the-training-flops-o…] indexed:0 read:3min 2026-11-23 · —