An interactive piece
On November 22, OpenAI published something unusual: the internal score it has been using to track progress in pretraining its AI models. Sam Altman called it “the most important thing OpenAI has published in awhile.”
OpenAI's chief scientist, Jakub Pachocki, proposes using this score, alongside other metrics, to establish common limits on how far AI labs should advance their models before safety and monitoring techniques catch up.
From the generation of models behind the original ChatGPT to models producing breakthroughs in mathematics, the reported score has fallen from around 0.99 to 0.76.
What is this score and how can such a small change accompany such a large increase in capability? To understand this, we'll take five real AI models, give them the same unfamiliar piece of code, and reconstruct the score from their individual predictions.
Chapter 1
This is the chart OpenAI published. Every dot is a model's score on the same collection of code. Lower is better.
Tap any dot to see the model and its score.
Four years of progress: from fluent conversation to reasoning, useful code and mathematical breakthroughs.
The score fell by just 0.225. What actually changed inside that number?
Chapter 2
Try finishing a sentence: “The capital of France is…”
You'd probably say Paris. A language model does something similar, except it assigns probabilities to many possible continuations. During pretraining, it gets better at predicting what comes next.
To score a prediction, we look at the probability the model gave the token that actually appeared: a word, part of a word or a symbol. If it was certain, the penalty is zero. At 50%, the penalty is 0.69. At 10%, it's 2.30.
We call this penalty surprise. The less the model expected the actual answer, the more it pays.
Drag the dot to see how surprise changes with probability.
OpenAI's test code is private. So we'll use a different model family, Qwen2.5, and a real Python file it has never seen before: mortgage-payment code written in spring 2026, after the model was trained.
It guesses while it reads. In one pass over the file it gives odds for the next token at every position, each time using everything before it. A chatbot throws those odds away and keeps only the last set, to write its reply. To score, we keep them all and look up the odds it gave the token that actually came next. “Never seen” matters: the file postdates the model, so it can't have memorised the answers.
No need to understand Python. Try two tokens: the final in the payment formula and the word a few lines below. The 14B model is nearly certain about the first. It gives the second about one chance in 260,000.
Tap either token, or explore the file yourself.
Chapter 3
The model makes 1,418 such predictions on this file, one per token. Take the easiest half, the 709 it was surest of. What share of the file's total surprise do they hold?
Answer: 1.3%.
Half the predictions barely register. The hardest tenth, meanwhile, accounts for 51% of the model's total surprise.
Here are all 1,418 tokens, arranged from the easiest prediction on the left to the hardest on the right. The tall bars are the places where the model was most surprised by what it read.
Tap a bar to see which token it represents.
Imagine pouring the entire skyline flat, without changing the amount of water. The height it settles at is 1.24: the model's average surprise per token on this file.
That average, on text the model hasn't seen, is what OpenAI's chart plots. It's called log-perplexity; machine-learning people call the same number the cross-entropy loss. Perplexity itself is e1.24 = 3.5: on average the model is as unsure as a pick among 3.5 equal options.
Remember that 0.225 drop in OpenAI's chart? Let's see how large a change that is in our own experiment.
Imagine we could make some of Qwen's hardest predictions perfect. How many would we need to improve to lower its average surprise by 0.225?
Or drag the handle on the skyline, then
Answer: Just 34 of 1,418 tokens.
Make those 34 hardest predictions perfect, and you lower the average by roughly the same amount. Make all 709 of the easiest predictions perfect, and it falls by just 0.016.
Drag the handle to see how quickly the water level falls.
Chapter 4
We tested five sizes of Qwen2.5, from 0.5B to 14B parameters, trained the same way. Think of these parameters as the model's learned numerical settings.
Here is the smallest reading the same file: its score is 1.85.
The biggest is 28 times larger and scores 1.24. Before you look: which tokens got better?
Answer: Some tokens improved a lot.
The best-improving fifth of the tokens accounts for 91% of the net gain. For 456 tokens, the score barely moves.
Watch the skyline as you make the model larger. Blue shows the predictions that got better. Keep an eye on how unevenly the blue appears.
Move the size slider, or .
Look at where the blue landed: Fannie Mae, Actual/360, semi-annual compounding. The bigger model is much better at predicting several terms specific to the world of mortgages.
But there is a twist. The author allows a zero interest rate, writing annual_rate 0. The largest model was 98% sure the next operator would be <=. It gave the actual operator just 0.3%.
A bigger model bets harder on the usual choice and loses more when the author picked another.
Compare a blue token (better with size) and an underlined one (worse).
Chapter 5
The file gives a worked example: $25M at 5.5% over 30 years means a yearly constant of 6.8134680% and a monthly payment of $141,947.25.
Will the 14B model guess those digits better than the 0.5B?
Answer: Somewhat better, from 2.64 to 2.18 per digit. But look at the individual digits.
Every size pays about 2 to 3 per digit, around what a ten-sided die costs (2.30). Only the payment's first two digits get cheaper with size: the bigger models know roughly how large a payment on $25M should be.
Yet these numbers aren't random. 25,000,000 × 6.8134680% ÷ 12 = 141,947.25. A model that could do the sum would get them for free.
Imagine two upgrades to the model.
It can do the sum. Make all 16 digit tokens we just examined perfectly predictable. The average surprise falls by just 0.025. Sixteen difficult predictions disappear, yet the overall score barely moves.
It can predict the tokens that stumped every model. There are 85 of them, including names the author invented, unusual phrasings and symbols. On its own, that takes 0.44 off the 1.24: more than a third of the score.
From outside, the two kinds look alike. Some tokens are truly unguessable, like a name nobody has written yet. Others only look that way until a model can work them out. Nobody knows that split, which is why nobody knows how low the score can go.
Switch on either simulated upgrade and watch the water level.
Chapter 6
Until now, the model could see everything in the file before the token it was trying to predict. By the end of the file, that means up to 1,418 preceding tokens.
What happens to its score of 1.24 if we restrict it to just the previous 32 tokens, roughly two or three lines of code?
The model's learned settings haven't changed. The text hasn't changed. We have only reduced how much of the preceding text it can see.
Answer: 71% more surprise. The same model goes from 1.24 to 2.12.
The black line shows the model reading with the full preceding file in view. The orange line shows it reading with just 32 tokens in view. As it moves through the file, the two start to separate. The difference shows how much the earlier text can help.
Change the context window to see what the model can read. Tap a token to compare both predictions.
Follow the name LoanParams, the author's name for a bundle of loan settings.
The first time the model meets Params, its surprise is 4.42. On its 4 later appearances, it averages 0.03. Take away the earlier text, and those same later appearances cost 5.88.
Repeats of words already in the file, like this one, account for 32% of the improvement from seeing the whole file. Reading can't help with a first use, which is why many first uses of invented names are among the tokens that stumped every model: unguessable once, then free.
Let's give the model the whole file, then give it the same file again.
On the second reading, its score falls from 1.239 to 0.016. It can largely copy what it just read.
This is why unfamiliar test material matters. A low score means much less if the model has already seen the answers.
draws the second reading on the chart.
The score averages every position, so it includes this learning as it reads. The more each guess can see, the lower the score. For Qwen2.5-14B:
| Sees back | 8 | 32 | 128 | 512 | whole file |
|---|---|---|---|---|---|
| Score | 3.53 | 2.12 | 1.61 | 1.31 | 1.24 |
So scores only compare on the same text, read the same way. OpenAI scores every model on the same code, so its comparison holds.
Bigger models lean on reading more. Cutting the view to 32 tokens raises the 0.5B's score by 51% and the 14B's by 71%.
So part of what the number measures is how well a model uses what it has just read.
Chapter 7
Now give the same five models something quite different: the opening of a November 2026 Federal Reserve speech about AI and financial stability (1,354 tokens).
Qwen2.5-14B scores 2.20 on it, against 1.24 on the code. Prose has few free tokens. On the code, the easier half of the tokens carries 1.3% of all the surprise; on the speech it carries 11.7%. No indentation, few invented names: almost every word is a real choice.
Reading helps prose less. Cut the 14B's view to 32 tokens and its speech score rises 21%, against 71% on the code. Past 512 tokens, about a page, more context buys nothing (2.19 against 2.20): a speech rarely points back further than that, while code keeps calling names defined at the top. Read twice, it still drops to 0.02, because copying works on any text.
Explore the speech, or change model size.
Chapter 8
Return to OpenAI's chart. Each dot is an average over a large number of predictions. We've now seen what can happen underneath such an average: a few hard predictions improve dramatically, many others hardly change.
Our Qwen experiment gives us a way to understand why a movement of just a few hundredths could accompany a major change in capability.
OpenAI expects new abilities at 0.68–0.70, and doesn't know which. On average that is one coin toss per token (ln 2 = 0.69).
Below it is a floor nobody can place, and near it each step looks smaller and means more. That is why Pachocki proposes limits, based on this number and others, that labs agree not to cross until they can understand and monitor what their models are doing.
src/mortgagemath/_payment.py from mortgagemath by Murray Stokely, pinned at commit f107b07 (6 May 2026; the file was first committed on 27 Apr 2026). 142 lines: 1,419 tokens, of which 1,418 are scored (the first has nothing before it). Used under the MIT licence:
Copyright (c) 2026 Murray Stokely
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
060db64, 1.5B 8faed76, 3B 3aab1f1, 7B d149729, 14B 97e1e76. All five share one tokenizer, so the tokens are identical across sizes. Run locally in bfloat16 on Apple silicon (MPS), one forward pass over the whole file, with Hugging Face transformers. These are five sizes from one family, not the whole family; differences between sizes are observed associations, not proof that size alone caused them.LoanParams figures compare its first appearance with the mean of its 4 later ones.How Models Work is independent and is not affiliated with, endorsed by or sponsored by OpenAI, Alibaba (Qwen), the Federal Reserve or any other organisation named here. Product and company names are trademarks of their owners and are used only to identify them. OpenAI's chart is re-plotted from public data, with attribution, for commentary and education. Our results come from our own runs of open models; they may contain errors and may differ from any lab's internal measurements. This page is for education only and is not investment, financial, legal or other professional advice. Provided as is, without warranty.