ProductsRabbit HoleCase StudiesProving GroundBuild YoursResearchAbout
The Rabbit Hole · Part IV

How the thing actually works

Less “artificial intelligence.” More “a very large autocomplete with a budget.”

~75 min·October 2026·Presented by Michael Gibbs
The card

Five rabbit holes. All of them are the same trick.

01
The trick
Tokens, weights, and next-token prediction. Why “it predicts the next word” is true and misleading.
15m
02
How it got that way
Pretraining, post-training, inference. Who pays for what, and why it doesn’t know last week.
15m
03
Why it lies and forgets
The context window, hallucination as a property of prediction, and why answers change.
20m
04
The species
Reasoning models, multimodal models, sizes, dense vs MoE. The current board.
15m
05
Use it Monday
What it is not, what we actually know about the inside, and five habits that follow.
10m
Rule for today: it is not thinking about you. It is predicting the next token. That is enough to be useful, and enough to be dangerous.

Seventy-five minutes, five sections. The order matters: you cannot understand hallucination until you understand prediction, and you cannot understand the context window until you understand tokens. Each section ends with four discussion questions; use them or skip them depending on the room.

01

The trick

A language model is a very large function: text in, a scored guess at the next chunk of text out. Everything else is built on that.

Text in · guess out

Section one strips the word “intelligence” off and shows the mechanism. Four slides: the function, the tokens, the weights, and why the one-line summary is both true and misleading.

01 · The trick

Text in. A guess at the next chunk out. Repeat.

IN / OUT
Text so far

Your question, any documents, the chat so far, and whatever it has already written.

MODEL
Score every next token

Billions of multiplications produce one number per possible next chunk: how likely it is.

CODE / TOOL
Pick one

Usually not the top one every time: a bit of randomness is deliberate. More on slide 20.

IN / OUT
Append. Go again.

The chosen chunk is added to the text and the whole thing runs once more. One chunk per loop.

Model

A file of numbers plus the recipe for using them. Not a program that “knows” things; a function that scores text.

Token

The chunk it reads and writes. Roughly a word or part of one. Next slide.

Prediction, not retrieval

It does not look anything up. It produces the most plausible continuation of the text it was given.

Model judgesCode / tool acts

A 2,000-word answer is that loop run about 2,700 times, each time re-reading everything so far.

A very small language model you can watch predict

Try it
A real statistical language model (word n-grams with back-off), trained in your browser on the text of this series. It predicts the next word from counts. Frontier models predict from billions of learned weights, but the loop — score every candidate, pick one, append, repeat — is the same.

Here is the whole mechanism, and it fits on one line: given the text so far, produce a score for every possible next chunk, pick one, add it to the text, and go again. That is what a large language model does, and it is all it does. The “model” is a very large file of numbers together with a fixed recipe for combining them with the text. When you type a question, your question, any documents you attached, and the conversation so far are turned into chunks called tokens and pushed through that recipe. Out comes a probability for every token in the vocabulary. One is chosen, usually with a little deliberate randomness, and appended. Then the whole thing runs again on the slightly longer text. A long answer is that loop run thousands of times. Two things follow immediately. First, the model does not retrieve anything; it has no index, no table, no file of facts it consults. It produces a plausible continuation. Second, it re-reads everything so far on every step, which is why length costs money and why the context window (section three) matters so much. The figure in the takeaway uses OpenAI’s rule of thumb that 100 tokens is about 75 words, so 2,000 words is roughly 2,700 tokens, and therefore roughly 2,700 passes through the loop.

Sources (1)
  1. https://help.openai.com/en/articles/4936856-what-are-tokens-and-how-to-count-them
01 · The trick

It doesn’t see words. It sees chunks called tokens.

≈ 4 characters per token

In ordinary English; about ¾ of a word, so 100 tokens ≈ 75 words. Other languages cost more: “Cómo estás” is 10 characters and 5 tokens. OpenAI help centre

1 token per common word

“Invoice”, “overdue” and “reconsider” each cost one. Rare words, code, names and typos are chopped into several. platform.openai.com/tokenizer, Oct 2026

2 r’s in “strawberry”

According to GPT-4o and Claude in 2024. The model sees chunks like “straw” + “berry”, not letters, so counting letters is guessing. TechCrunch, Aug 2024

ONE REAL SENTENCE, AS THE GPT-5.X TOKENISER SPLITS IT · 53 CHARACTERS → 12 TOKENS

You are billed per token, in and out. And anything that needs letters, not chunks, is a bad job for it.

Train a tokeniser, then watch it split your sentence

Try it
Real byte-pair encoding, trained in your browser on a small corpus. Production tokenisers learn 100,000–200,000 merges from terabytes; this one learns a few hundred from a few paragraphs. Same algorithm.

The model never sees letters or words. Before anything happens, text is cut into tokens: chunks chosen by a fixed, mechanical procedure so that common words become a single chunk and rare words become several. The sentence on the slide is real: pasted into OpenAI’s public tokeniser in October 2026 it came back as 53 characters and 12 tokens. Common words such as “invoice” and “reconsider” are one token each, with the leading space attached. Numbers are cut away from the space in front of them, which is why “ 14” costs two tokens. OpenAI’s rule of thumb is about four characters per token for ordinary English, or roughly three-quarters of a word; a 1,000-word document is about 1,300 tokens. Other languages tokenise less efficiently: their own example, “Cómo estás”, is ten characters and five tokens. This matters for two reasons. You are billed per token, both for what you send and for what comes back, so verbosity has a price. And the model has no direct view of the letters inside a chunk. The famous 2024 failure, where GPT-4o and Claude both said “strawberry” has two r’s, is a tokenisation failure: the model is asked a question about letters it cannot see. Newer models are often trained around that specific question; the underlying limitation remains, and shows up in spelling, letter counts, and anything character-level.

Sources (3)
  1. https://platform.openai.com/tokenizer
  2. https://help.openai.com/en/articles/4936856-what-are-tokens-and-how-to-count-them
  3. https://techcrunch.com/2024/08/27/why-ai-cant-spell-strawberry
01 · The trick

Weights are the knobs. Billions of them, frozen in use.

Weights = parameters

The numbers inside the function. Training sets them; using the model does not change them. “7B” means seven billion of these knobs. Part I: “weights are the knobs.”

The model is a file

Download Llama 3.1 and you get the weights: 8B, 70B or 405B parameters. Meta reports the 405B was trained on over 15 trillion tokens using more than 16,000 H100 GPUs.

Nothing is stored as a fact

No weight holds “Paris is the capital of France”. The fact is smeared across millions of knobs as a tendency to continue the text that way. Which is why it can be smeared wrong.

What “size” buys

More knobs: more patterns captured, more memory and compute to run, slower and dearer per token. Not automatically more accurate for your job (slide 26).

What a user can change

Nothing inside. You change the text you put in front of it: instructions, documents, examples. That is the whole lever, and it is a big one.

Rule of thumb from Part II: memory needed ≈ parameters × bits ÷ 8. A 70B model at 16-bit is about 140 GB. Appendix has the arithmetic.

Part I called the weights “the knobs”, and that is still the best word. Inside the function are billions of numbers. Training turns the knobs; using the model does not. When a vendor says “7B” or “405B”, they are counting knobs. Meta’s Llama 3.1 release in July 2024 gives the honest scale of this: three sizes, 8, 70 and 405 billion parameters, the largest trained on more than 15 trillion tokens of text using over 16,000 H100 GPUs. The weights are literally a file. Part I and Part II covered what it means to own that file. The subtle point for a non-expert is that nothing in the file is a fact. There is no knob labelled “capital of France”. What the training process produces is a set of numbers that, taken together, make “Paris” the most likely continuation of “The capital of France is”. Knowledge is a tendency, not a record. A tendency can be strong, weak, or confidently wrong, and the model has no way to tell the difference from the inside. The one lever you have as a user is the text you put in front of the frozen function: instructions, documents, examples. Everything in the rest of this series (prompts, retrieval, harnesses, agents) is a way of pulling that one lever well. Part II’s memory rule of thumb, parameters × bits ÷ 8, is worked through in the appendix.

Sources (1)
  1. https://ai.meta.com/blog/meta-llama-3-1/
01 · The trick

“It just predicts the next word.” True. And misleading.

Why it’s true

That is the whole objective.

  • There is no other goal inside. No “be right”, no “be honest”. Only “continue the text well”.
  • It has no idea whether the text it is continuing is a court filing or a joke, unless the text says so.
  • It will complete a confident sentence confidently, because confident sentences continue that way.
  • That is why it hallucinates, why it is swayed by phrasing, and why it never says “I don’t know” unless trained to.
Why it’s misleading

Predicting well is hard.

  • To predict the next word of a legal brief, you need to model law, grammar, structure and the writer’s intent. The pressure to predict forces structure inside.
  • Anthropic’s 2025 interpretability work found Claude picks a rhyme word before writing a line, and adds numbers with parallel internal paths it cannot describe.
  • So “autocomplete” undersells it. It is autocomplete that had to build a rough model of the world to get good at autocompleting.
  • Both halves are true at once. Hold them both.

Useful precisely because the prediction is good. Dangerous precisely because prediction is all it is.

The cheapest dismissal of these systems is “it’s just autocomplete”, and the cheapest hype is “it understands”. Both are half right. It is true that next-token prediction is the entire objective. There is no second goal inside called “be accurate” or “be honest”. The model continues text, and if the text so far is a confident claim, it continues confidently, because that is how confident text continues. Everything in section three follows from this: hallucination, sensitivity to phrasing, the reluctance to say “I don’t know”. But “just” is doing dishonest work in that sentence. Predicting the next token of a tax opinion well requires representing a great deal about tax, opinions, and English. The pressure to predict forces internal structure. Anthropic’s March 2025 paper, “Tracing the thoughts of a large language model”, found concrete examples: when writing a rhyming couplet, Claude selected the rhyme word before composing the line; when adding 36 and 59, it used parallel internal paths, one estimating the rough total and one fixing the last digit, and then, when asked how it did it, described the school carrying method instead. The internal process and the stated explanation differed. So: an autocomplete that was forced to build a rough, uneven model of the world in order to autocomplete well. Hold both halves. The deck comes back to what we actually know about the inside in section five.

Sources (1)
  1. https://www.anthropic.com/research/tracing-thoughts-language-model
Discussion · 01

Where does “plausible” already pass for “true”?

  1. Which documents in your organisation are mostly boilerplate, and which ones are mostly facts? The model is good at the first kind.
  2. Where do you currently ask a person to count, spell, or check characters exactly? Those jobs are the wrong shape for a token predictor.
  3. When someone writes you a confident email, how do you check it? What would you do differently if the writer never knew whether they were right?
  4. What has been the longest answer you have had from a chatbot, and how many tokens was it? (Roughly: words × 1.3.)

Four questions to surface the mental model before moving on. The point of the fourth is to make tokens feel physical: people are surprised that a long answer is thousands of loop passes.

02

How it got that way

Three stages. A lab pays for the first two, once. You pay for the third, every token, forever.

Pretrain · post-train · infer

Section two is the life cycle of a model: read the internet, get taught manners, then get used. It ends with the knowledge cutoff, which is the first practical consequence most business users run into.

02 · How it got that way

Three stages. Only the last one is you.

1
Pretraining

Show it trillions of tokens of text. For each one: guess the next token, compare to the real one, nudge the knobs. Repeat for months on thousands of chips. Result: a “base model” that continues any text, and has no manners.

Lab pays · months · once
2
Post-training

Teach the base model to behave like an assistant: follow instructions, answer rather than ramble, refuse some things, prefer the answers humans rate higher. Far cheaper than pretraining. This is where the personality comes from.

Lab pays · weeks · once
3
Inference

Using it. The weights are frozen; your text goes in, tokens come out. This is the only stage a customer ever touches, and it is billed per token, in and out, on every call.

You pay · per token · always

Definition: inference = running the trained model. Nothing is learned during inference. Your chat teaches it nothing.

A model has three lives. In pretraining, the lab shows it an enormous pile of text and plays one game trillions of times: hide the next token, make the model guess it, nudge every knob slightly towards the right answer. Months later you have a “base model” that will continue any text you give it, in any register, with no particular interest in being helpful. In post-training, the lab shapes that raw predictor into an assistant: it is taught to follow instructions, to answer in a sensible format, to decline some requests, and to prefer the kinds of answers that human raters score highly. This is a small fraction of the cost of pretraining, and it is where almost all of what you experience as “personality” is made. Then there is inference, which is the only stage a customer ever touches: the weights are frozen, your tokens go in, its tokens come out, and you are billed for both directions on every call. Two consequences are worth saying plainly. Nothing is learned during inference. When a chatbot seems to “remember” you, that is the harness putting earlier text back into the window (Part II), not the model changing. And the price you pay has nothing to do with the cost of training; it is a price per token for running a fixed function.

Sources (1)
  1. https://arxiv.org/abs/2203.02155v1
02 · How it got that way

Pretraining: guess the next token, nudge the knobs. Repeat.

15T+

tokens of text used to pretrain Llama 3.1 405B, on more than 16,000 H100 GPUs. DeepSeek-V3 reports 14.8 trillion tokens and about 2.8 million GPU-hours.

Meta, Jul 2024 · DeepSeek, Dec 2024
4–5×

per year: the growth in training compute of frontier models from 2010 to 2024. GPT-3 (2020) used roughly 3×10²³ operations; GPT-4 (2023) an estimated 2×10²⁵.

Epoch AI, May 2024
2.4×

per year: the growth in the hardware-and-energy cost of the largest training runs since 2016. On trend, Epoch projected the biggest runs would pass $1 billion by 2027.

Epoch AI, Jun 2024

This is why there are a handful of frontier labs and thousands of companies renting them. You will not train one. You will rent one, or download one.

The numbers on this slide are here to make one point: pretraining is an industrial process that a handful of organisations can afford, and you are not one of them. Meta reports that Llama 3.1 405B was pretrained on more than 15 trillion tokens using over 16,000 H100 GPUs. DeepSeek’s V3 technical report gives 14.8 trillion tokens and about 2.79 million H800 GPU-hours for the full run, which the authors price at roughly $5.6 million at a $2 per GPU-hour rental rate (and which excludes research, staff, and failed runs). Epoch AI, the most careful public tracker of these trends, found training compute for frontier models growing four to five times per year between 2010 and May 2024, and the amortised hardware-and-energy cost of the largest runs growing about 2.4 times per year since 2016; on that trend, they projected billion-dollar runs by 2027. All of these are dated figures and the trend lines are extrapolations; treat them as scale, not precision. The business consequence is simple. Nobody in this room will pretrain a frontier model. You will rent one through an API, or download open weights that someone else paid to train (Parts I and II). What you can afford is everything downstream: choosing a model, feeding it the right context, and wrapping it in tools and guardrails.

Sources (4)
  1. https://ai.meta.com/blog/meta-llama-3-1/
  2. https://arxiv.org/pdf/2412.19437
  3. https://epoch.ai/blog/training-compute-of-frontier-ai-models-grows-by-4-5x-per-year
  4. https://epoch.ai/blog/how-much-does-it-cost-to-train-frontier-ai-models
02 · How it got that way

Post-training: humans rank its answers; it learns to rank higher.

MODEL
Base model

Continues any text. Asked a question, it may answer, ask more questions, or write a forum thread.

HUMAN
Demonstrations

People write examples of good answers. The model is fine-tuned to imitate them. (“Instruction tuning.”)

HUMAN
Rankings

People compare several model answers and rank them. Which is clearer, safer, more useful.

CODE / TOOL
Reward model

A second model is trained to predict those human rankings, so it can score millions of answers cheaply.

MODEL
RL

The assistant is adjusted to produce answers the reward model scores highly. “RLHF”: reinforcement learning from human feedback.

RLAIF: the AI does the ranking

Anthropic’s 2022 “Constitutional AI”: a model critiques and ranks answers against written principles, replacing most human labels for harmlessness. Cheaper, scales, same loop.

Why it matters to you

A 1.3B-parameter InstructGPT was preferred by raters over the 175B GPT-3 it came from. Manners beat size. And whatever the raters rewarded, you get: including confident-sounding guesses.

It was trained to produce answers people rate highly. Not answers that are true. Those overlap. They are not the same thing.

The phrase “trained to be helpful, harmless and honest” hides a mechanism that is worth seeing once. OpenAI’s 2022 InstructGPT paper describes it. Start with a base model that merely continues text. First, people write demonstrations of good answers and the model is fine-tuned to imitate them; this is instruction tuning. Second, people are shown several answers to the same prompt and rank them. Third, a separate “reward model” is trained to predict those rankings, so it can score answers at scale without a human in the loop. Fourth, the assistant is adjusted, by reinforcement learning, to produce answers the reward model scores highly. That is RLHF: reinforcement learning from human feedback. Anthropic’s Constitutional AI paper, also 2022, replaced much of the human ranking with a model ranking answers against written principles, which is RLAIF: feedback from AI. The InstructGPT result worth remembering is that raters preferred a 1.3-billion-parameter model trained this way over the 175-billion-parameter GPT-3 it came from. Manners beat size. The consequence to carry into section three: the model is optimised to produce what raters reward. If raters reward confident, complete answers more than honest “I don’t know”s, you get a confident guesser. OpenAI’s own 2025 analysis of hallucination says exactly that about the evaluations the industry uses.

Sources (3)
  1. https://arxiv.org/abs/2203.02155v1
  2. https://arxiv.org/pdf/2212.08073
  3. https://openai.com/index/why-language-models-hallucinate/
02 · How it got that way

Who pays for what.

PretrainingPost-trainingInference
Who paysThe lab, onceThe lab, onceYou, per call
What it costsTens of millions to over a billion dollars of compute for frontier runsA small fraction of pretrainingCents per million tokens (small models) to tens of dollars (frontier)
What it producesA base model: raw prediction, no mannersAn assistant: follows instructions, has a styleTokens. Nothing is learned or saved
How you’re billedYou aren’t. It is baked into the API priceYou aren’tInput tokens + output tokens. Output usually costs about 5× input
What you controlNothing. Pick a model that was trained the way you needOnly through fine-tuning, which is its own projectEverything in the window: instructions, documents, examples, tools

You never pay for training. You pay for every token in and every token out, and the two prices differ. Long documents in and long answers out are the bill.

This table is the economics in one place. Pretraining and post-training are paid for by the lab, once; their cost is recovered in the per-token price of the API or, for open weights, not recovered from you at all. Inference is the only line a customer sees: a price per million input tokens and a usually higher price per million output tokens. On the October 2026 price lists, output costs about five times input across the major vendors (OpenAI’s GPT-6 Astra at $10 in and $50 out per million; Anthropic’s Sonnet 5.5 at $2 and $10). Those exact prices belong on the “current board” slide in section four and will be stale by the time you quote them; the ratio has been stable for years and is the thing to remember. What you control at each stage is the interesting column. In training: nothing, except which model you choose. Fine-tuning, which adjusts the weights with your own examples, is real but is a project with its own costs and risks, not a setting. At inference you control everything that goes into the window, and that turns out to be most of what matters in practice. The ranges in the cost row are deliberately wide: Epoch AI’s cost estimates are for frontier runs, and open-weight training runs such as DeepSeek-V3 have been reported at single-digit millions for the final run alone.

Sources (4)
  1. https://developers.openai.com/api/docs/models/gpt-6-astra
  2. https://platform.claude.com/docs/en/about-claude/models/overview
  3. https://epoch.ai/blog/how-much-does-it-cost-to-train-frontier-ai-models
  4. https://arxiv.org/pdf/2412.19437
02 · How it got that way

Knowledge cutoff: it stopped reading months before you met it.

Definition

Knowledge cutoff: the date after which no text was included in training. Vendors publish it per model. “Reliable” cutoff is earlier still: the last months before it are thinly covered because the web hadn’t finished writing about them.

What it does instead of knowing

It continues the text as if the world stopped at the cutoff. Ask about last week and it will either say it can’t know (if trained to) or produce a plausible answer from older patterns. Meta AI, July 2024: said the Trump rally shooting was “fictional”. Meta blamed the cutoff plus hallucination.

The fix is not a newer model

The fix is putting the current facts in the window: a search tool, your documents, today’s date. That is what “search” buttons and retrieval (Part II) do. The model still doesn’t know; it is reading.

Any answer about something recent, or about your company, came from the window or it came from nowhere.

Because the weights are set during training and frozen after, every model has a knowledge cutoff: a date after which it read nothing. Vendors publish it. Anthropic distinguishes a “training data cutoff” from a “reliable knowledge cutoff”, the latter being earlier, because the last few months before the cutoff are thinly represented; the internet had not yet finished writing about them. Then come weeks or months of post-training and testing, then release, then however long you use it. A model you talk to today may not have read anything for over a year. What does it do when asked about something after the cutoff? It continues the text with the patterns it has. A well post-trained model will often say it cannot know. A less careful one produces a plausible answer from old patterns. In July 2024 Meta AI told users the assassination attempt on Donald Trump was a “fictional event”; Meta’s explanation, in a blog post by its policy chief, was that the model’s training data predated the event and that it had hallucinated. The fix is not to wait for a newer model, which will simply have a later cutoff. The fix is to put the current facts into the window: a web search tool, your own documents, today’s date. That is what the “search” toggle in a chat product does, and what retrieval does (Part II). The model is then reading, not remembering, and reading is something it is good at.

Sources (3)
  1. https://www.anthropic.com/transparency
  2. https://www.scotsman.com/news/world/meta-explains-why-ai-called-trump-shooting-fictional-4724616
  3. https://developers.openai.com/api/docs/models/gpt-5.5
Discussion · 02

What does your organisation assume it “knows”?

  1. List three facts about your business a chatbot could not possibly have read. Where would it get them, if not from you?
  2. Which prices or policies changed in the last year? Has anyone checked what a model says about them?
  3. If a vendor says their model is “trained on your data”, what do they mean: fine-tuned weights, or documents in the window? Ask.
  4. Roughly how many tokens does your team send to models in a month? Does anyone know the bill per token?

The third question matters most. “Trained on your data” is the most abused phrase in vendor pitches; nine times out of ten it means retrieval into the context window, which is fine, but is not training.

03

Why it lies and forgets

The context window, hallucination as a property of prediction, and why the same question gets different answers.

Window · guess · dice

Section three is the one people remember. Three mechanisms explain almost every bad experience with these tools: the window is all it has, prediction guesses when it doesn’t know, and sampling adds dice.

03 · Why it lies and forgets

The context window is its working memory. And its only memory.

THE CONTEXT WINDOW · EVERYTHING THE MODEL CAN SEE RIGHT NOW System prompt The vendor’s and your standing instructions. Hidden in chat products. Your documents, search results, tool outputs Anything retrieved or pasted. The only way facts about you get in. The conversation so far Every turn, yours and its. Re-sent in full on every message. Its answer so far Grows one token at a time while it writes.
Definition Context window: the maximum number of tokens the model can take in one call, input plus output. Today 128K to about 1M tokens for the major models. A million tokens is roughly 750,000 words.
Context ≠ memory When the window is full, the oldest text is dropped or summarised by the app. When the chat ends, it is gone. “Memory” features are the harness saving notes and pasting them back in. Part II: the harness.

If a fact is not in the window, the model is guessing at it. Every time.

The context window: watch it fill, and watch things fall out

Try it
Simulation. The token counts are estimates (¾ of a word per token). What it shows is structural: everything the model sees is re-sent each turn, and when the window is full the oldest text is gone.

Everything the model knows about you, your company, and this conversation is in the context window at the moment it answers. Nothing else. The window is the set of tokens passed into the function on one call: the system prompt (standing instructions from the vendor and from you, hidden in consumer chat products), any documents or search results or tool outputs, every earlier turn of the conversation, and the answer it is writing. All of it is re-sent on every message; a chat product hides this, but the bill does not. Windows have grown quickly: 128,000 tokens was the frontier in 2024 and the major vendors now offer around a million (Anthropic made 1M generally available for Opus and Sonnet 4.6 in March 2026; OpenAI’s GPT-5.5 lists 1,050,000). A million tokens is roughly 750,000 words, using OpenAI’s ¾-word rule. Two things that are not the window. First, the weights: what the model learned in training is not “in” the window and cannot be edited there. Second, memory: there is none. When the window fills, the application drops or summarises the oldest text. When the chat ends, it is gone. A product’s “memory” feature is the harness (Part II) keeping notes and pasting them back in at the start of the next chat, which is useful, and is not the model remembering. This is the single most important mental model in the deck: if a fact is not in the window, the model is guessing at it.

Sources (3)
  1. https://claude.com/blog/1m-context-ga
  2. https://developers.openai.com/api/docs/models/gpt-5.5
  3. https://help.openai.com/en/articles/4936856-what-are-tokens-and-how-to-count-them
03 · Why it lies and forgets

Long chats get worse. Not tired: the window fills with noise.

“Lost in the middle” (2023)

Stanford and others tested models on finding a fact in a long input. Accuracy was highest when the fact was at the start or end and dropped sharply when it was in the middle, even for models built for long context.

“Context rot” (2025)

Chroma tested 18 models from Anthropic, OpenAI, Google and Alibaba. Reliability fell as input grew, even on trivial tasks. A single distracting passage cut accuracy; focused ~300-token prompts beat the same question buried in ~113K tokens.

What a long chat is

Every wrong turn, abandoned draft, and “no, I meant…” is still in the window, competing with the thing you want now. The model reads all of it, every time, with no sense of which parts are stale.

WHAT GOES WRONG → THE HABIT
It “forgets” the instruction from 40 messages ago
→
New chat for a new task. Repeat the instruction, or put it in a system prompt.
The key fact is buried in a 60-page paste
→
Put the facts that matter first or last, and say which part matters.
It keeps returning to a draft you rejected
→
Start again with the good draft only. Don’t carry the corpse along.

Anyone who has used a chatbot for an hour knows the feeling: it gets vaguer, repeats itself, resurrects an idea you rejected twenty messages ago. The model is not tired. The window has filled with noise and it reads all of it, every time, with no sense of which parts are stale. Two pieces of research make this concrete. “Lost in the Middle” (Liu and colleagues, 2023, Stanford and others) tested models on retrieving a relevant passage from a long input: accuracy was highest when the passage was at the beginning or end and fell sharply when it was in the middle, even for models designed for long inputs. Chroma’s “Context Rot” report (July 2025) tested eighteen models from Anthropic, OpenAI, Google and Alibaba and found reliability falling as input length grew, even on trivial tasks: one distracting passage reduced accuracy, four reduced it further, and the same question answered from a focused 300-token prompt scored far higher than when buried in 113,000 tokens. Both are dated snapshots of specific models and newer ones do better; the shape of the result has held. The habits follow. Start a new chat for a new task. Put the instruction that matters in a system prompt or repeat it. When you paste a long document, say which part matters and put it near the start or the end. And when a draft is wrong, do not argue with it for ten turns; take the good parts into a fresh window and leave the rest behind.

Sources (2)
  1. https://arxiv.org/abs/2307.03172v1
  2. https://trychroma.com/research/context-rot
03 · Why it lies and forgets

Hallucination isn’t a bug. It’s prediction with nothing to go on.

1
Definition

Hallucination: a fluent, confident statement that is false. Invented citations, dates, people, prices, policies.

2
Pretraining has no “false” label

It only ever saw fluent text. Spelling and grammar have consistent patterns and get learned. A rare fact (a pet’s birthday, a case number) has no pattern. The model guesses.

3
Tests reward guessing

Most benchmarks score accuracy only. A blank scores zero; a guess might score. So post-training learns to guess, like a student on a multiple-choice exam.

4
It cannot tell from the inside

The same mechanism produces the right date and the wrong one. There is no internal flag for “I made this up”.

OpenAI, Sept 2025

From “Why language models hallucinate”. Same test (SimpleQA), two models:
o4-mini: abstains 1%, right 24%, wrong 75%.
gpt-5-thinking-mini: abstains 52%, right 22%, wrong 26%.
The guesser is slightly “more accurate” and three times as often wrong. OpenAI’s conclusion: the scoreboards reward guessing, so models guess.

A model that never says “I don’t know” isn’t smarter. It was marked that way. Reward the blank, and you get fewer confident lies.

A hallucination is a fluent, confident, false statement: an invented case citation, a date, a price, a policy, a person. It is the behaviour people find most alarming and it follows directly from section one. OpenAI’s September 2025 paper, “Why language models hallucinate”, gives the cleanest account. Pretraining shows the model only fluent text with no labels for true or false. Patterns that are consistent, such as spelling, grammar and format, are learned well and improve with scale. Arbitrary facts with no pattern behind them, the paper’s example is a pet’s birthday, cannot be inferred; the model produces something plausible. Then the evaluations make it worse: almost all benchmarks score accuracy only, so a blank answer scores zero and a guess might score, and post-training learns to guess the way a student learns to never leave a multiple-choice question empty. The paper’s illustration, drawn from the GPT-5 system card on the SimpleQA test, is on the slide: the older o4-mini abstained 1% of the time, was right 24% and wrong 75%; gpt-5-thinking-mini abstained 52%, was right 22% and wrong 26%. Slightly less “accurate”, a third as often wrong. The deepest point is the last row: there is no internal flag for “I made this up”. The same mechanism produces the right date and the wrong one. Any check has to come from outside the model: a source in the window, a tool, or you.

Sources (1)
  1. https://openai.com/index/why-language-models-hallucinate/
03 · Why it lies and forgets

Why the same question gets different answers.

Sampling The model outputs scores, not a word. Software picks one at random, weighted by score. “overdue” wins 31% of runs; “due” 24%. Run it twice, get two answers. By design.
Temperature A dial on that randomness (OpenAI’s API: 0 to 2). Low: nearly always the top token; repeatable, flatter. High: more variety, more nonsense. Chat products pick a middle value you can’t see.
What it doesn’t fix Temperature 0 makes the answer more repeatable, not more correct. If the top-scoring token is wrong, you now get the wrong answer every time. Consistency is not accuracy.
NEXT-TOKEN SCORES AFTER “THE INVOICE IS” · ILLUSTRATIVE, INVENTED
overdue
31%
due
24%
attached
17%
for
9%
incorrect
6%
…thousands more
13%

Ask the same question three times. If the answers disagree, it was guessing. Cheap test; use it.

People are unsettled that the same question gets different answers, and read it as the model being unreliable. It is, but not for the reason they think. The model never outputs a word. It outputs a score for every token in its vocabulary. Software then picks one, at random, weighted by those scores; this is called sampling. On the slide, with invented numbers, “overdue” wins about a third of the time and “due” about a quarter, so two runs of the same prompt will often diverge at the fourth word and keep diverging. This is a deliberate choice. Always picking the top token produces flat, repetitive text; a little randomness produces text people prefer. Temperature is the dial. OpenAI’s API exposes it as a number from 0 to 2; low values make the top token win almost always, high values spread the picks across more options. Chat products set a middle value you never see. A related dial, top-p, is in the appendix. The point for a business reader is the third card. Turning the temperature to zero makes the output more repeatable; it does not make it more correct. If the highest-scoring continuation is wrong, you now get the wrong answer every time, with the same confidence. Consistency is not accuracy. The cheap practical test is on the takeaway line: ask three times. Agreement is weak evidence. Disagreement is strong evidence that the model was guessing.

Sources (1)
  1. https://developers.openai.com/api/reference/resources/chat/subresources/completions/methods/create
03 · Why it lies and forgets

Three stories everyone in this room should know.

Mata v. Avianca, 2023

The cases did not exist.

New York lawyers filed a brief citing six court decisions that ChatGPT had invented, with quotes and docket numbers. Asked by the lawyer whether the cases were real, it assured him they were. The judge fined the lawyers $5,000 and found bad faith.

A citation from a model is a claim, not a source. Open the source.
Meta AI, 2024

It said the news didn’t happen.

Weeks after the attempt on Donald Trump’s life, Meta’s assistant called it a “fictional event”. Meta’s explanation: training data ended before it happened, and the model filled the gap with a confident wrong answer.

Anything after the cutoff must come from the window. Or it comes from nowhere.
Deloitte Australia, 2025

A $440,000 report with invented footnotes.

A government review contained references to papers that did not exist and a fabricated quote from a judge. A researcher found the errors after publication. Deloitte disclosed its use of Azure OpenAI and refunded the final instalment.

The model drafts. A named human owns every reference. Budget time to check.

Three stories, three mechanisms from this section. Mata v. Avianca (Southern District of New York, 2023) is the canonical hallucination case. Lawyers for a passenger suing an airline filed a brief citing decisions that did not exist; ChatGPT had produced the cases, the quotations and the citations, and when a lawyer asked it whether the cases were real it said they were and could be found in legal databases. Judge Castel fined the lawyers $5,000 and found subjective bad faith; the underlying case was dismissed. Meta AI in July 2024 is the knowledge-cutoff story. Asked about the assassination attempt on Donald Trump, the assistant called it fictional; Meta’s policy chief explained that the model’s training data predated the event and that it had then hallucinated rather than saying it did not know. Deloitte Australia in October 2025 is the one closest to most readers’ work. A AU$440,000 review for the Department of Employment and Workplace Relations contained references to papers that did not exist and a fabricated quotation attributed to a federal judge; a Sydney University researcher found the errors after publication, the revised version disclosed that Azure OpenAI had been used, and Deloitte agreed to refund the final instalment, reported at about AU$98,000. Deloitte did not say whether the AI caused the errors; the department’s statement and the disclosure make the inference hard to avoid. Nobody in these stories was stupid. They trusted fluency.

Sources (4)
  1. https://en.wikipedia.org/wiki/Mata_v._Avianca,_Inc.
  2. https://www.scotsman.com/news/world/meta-explains-why-ai-called-trump-shooting-fictional-4724616
  3. https://www.news4jax.com/business/2025/10/07/deloitte-to-partially-refund-australian-government-for-report-with-apparent-ai-generated-errors/
  4. https://oecd.ai/en/incidents/2025-10-05-be45
Discussion · 03

Where would a confident wrong answer cost you most?

  1. Which documents leave your organisation with citations, figures or quotes that nobody re-checks against the source?
  2. When a chatbot gives your team an answer about company policy, where did that policy come from: the window, or the weights?
  3. What is your longest-running chat window? What is still in it that shouldn’t be?
  4. Have you ever asked a model the same question twice? What happened?

The second question is the one to dwell on: if the policy wasn’t pasted in or retrieved, the answer is a guess dressed as a policy.

04

The species

Reasoning models, multimodal models, big and small, dense and sparse. Same trick, different budgets.

Same trick · different budget

Section four is a field guide. Every variant in it is the same next-token predictor with a different budget of tokens, modalities or parameters. Knowing which is which is how you stop overpaying.

04 · The species

Reasoning models write to themselves before answering you.

IN / OUT
Question

A maths problem, a bug, a multi-step plan.

MODEL
“Thinking”

The model generates hundreds to thousands of tokens of working: tries an approach, checks it, backtracks. Still next-token prediction. Just more of it, aimed at itself.

MODEL
Answer

A final, usually shorter reply, conditioned on all that working.

CODE / TOOL
The bill

Thinking tokens are billed as output tokens. Anthropic exposes a budget_tokens dial; OpenAI a reasoning effort setting.

What changed, 2024–25

OpenAI o1 (Sept 2024) was trained by reinforcement learning to reason before answering, and performance rose with more “test-time compute”: on the AIME maths exam, GPT-4o solved ~12%, o1 74%. DeepSeek-R1 (Jan 2025) showed pure RL produced the same self-checking behaviour, and published the weights. Claude added extended thinking the same year.

Use it for

Maths, code, logic, multi-step planning, anything with a checkable right answer. Not for drafting an email or summarising a page: slower, dearer, and no better. Note: o3 hallucinated on a people-facts test at 33% vs o1’s 16%. More claims, more wrong ones.

“Thinking” is text. You can read it, you pay for it, and it helps when there is a right answer to check.

In September 2024 OpenAI released o1, and the industry acquired a new species. A reasoning model is trained, by reinforcement learning, to produce a long passage of working before its answer: trying an approach, checking, backtracking, trying another. OpenAI reported that performance improved both with more training and with more time spent reasoning at inference, which the industry now calls test-time compute. The headline numbers were on competition maths: on the AIME exam, GPT-4o solved around 12% and o1 74%. DeepSeek-R1, released with open weights in January 2025 and later published in Nature, showed that pure reinforcement learning with no hand-written reasoning examples produced the same self-reflection and verification behaviour. Anthropic’s Claude gained extended thinking in 2025. The thing to hold onto is that the “thinking” is text, produced by the same next-token loop, aimed at the model itself instead of at you. You can read it (sometimes summarised). You pay for it: Anthropic’s documentation is explicit that thinking tokens are billed as output tokens and exposes a budget, with a minimum of 1,024 tokens. When does it help? When the problem has a right answer the model can check its working against: maths, code, logic, planning. For drafting and summarising it is slower and dearer for no gain. And it is not a cure for hallucination; OpenAI’s own system card in April 2025 reported o3 hallucinating on a people-facts test at 33% against o1’s 16%, with the note that it makes more claims overall.

Sources (4)
  1. https://openai.com/index/learning-to-reason-with-llms/
  2. https://arxiv.org/abs/2501.12948
  3. https://platform.claude.com/docs/en/build-with-claude/extended-thinking
  4. https://tech.yahoo.com/articles/openais-o3-o4-mini-hallucinate-173655834.html
04 · The species

Multimodal: same trick, different tokens.

Images in

A picture is cut into small patches, each turned into a token-like vector and placed in the window next to your words. The model then predicts text as usual. Reading a chart, a screenshot, a damaged-parcel photo: this is why it works.

Audio in and out

Older voice assistants chained three models: speech-to-text, a text model, text-to-speech, losing tone and who was speaking. GPT-4o (May 2024) was trained end-to-end across text, vision and audio: sound in, sound out, one network.

Video

Frames, sampled, as image patches plus audio. Same window, so a long video is a very large number of tokens and a real bill.

Images and video out

Generating pictures is the same idea reversed: predict the next chunk of an image instead of the next chunk of text. Different models, often bolted on, same budget logic.

Definition: multimodal = more than one kind of input or output. It is still predicting the next chunk. The chunk is just a patch of pixels or a slice of sound.

“Multimodal” means the model takes or produces more than one kind of data: text, images, audio, video. It sounds like a different technology and is not. An image is cut into small patches; each patch is converted into the same kind of numerical token the model uses for words, and the patches are placed in the context window next to your text. From there it is next-token prediction as before, which is why a model can describe a chart, read a screenshot, or assess a photograph of a damaged parcel, the support example from Part III. Audio is the clearest illustration of why native multimodality matters. OpenAI’s GPT-4o announcement in May 2024 describes the earlier Voice Mode as a chain of three separate models, speech-to-text, a text model, text-to-speech, and notes that the middle model could not observe tone, multiple speakers or background noise because all of that was lost in transcription. GPT-4o was instead “a single new model end-to-end across text, vision, and audio”, so sound goes in and sound comes out of one network. Video is sampled frames as image patches plus audio, in the same window; a long video is an enormous token count and a real bill. Generating images is the idea reversed: predict the next chunk of an image. The practical rule is unchanged: everything goes into the same window, is billed in the same tokens, and is subject to the same forgetting and guessing.

Sources (1)
  1. https://openai.com/index/hello-gpt-4o/
04 · The species

Sizes and species: what parameters buy, and where they run.

1
Small · 1–4B

Phone or laptop. Fast, cheap, forgetful. Good for sorting and extracting.

Runs on
A phone
2
Mid · 7–14B

A good laptop or one GPU. The Part II workhorse. Surprisingly capable with good context.

Runs on
A laptop
3
Large dense · ~70B

Every parameter is used for every token. Needs a serious server (≈140 GB at 16-bit). Strong general use.

Runs on
A server
4
Mixture of experts

Many parameters, few used per token. DeepSeek-V3: 671B total, 37B active. Cheap to run per token, huge to store. Part II has the detail.

Runs on
A rack
5
Frontier · closed

GPT, Claude, Gemini. Sizes undisclosed; widely assumed to be large MoE. You never see the file. You rent it per token.

Runs on
Their datacentre
← cheaper, faster, private, dumbersmarter, dearer, someone else’s computer →

Models come in sizes, and the size is the parameter count from slide six. The ladder is a teaching device, not an industry standard, and the boundaries are fuzzy. At the bottom, models of one to four billion parameters run on a phone or an ordinary laptop: fast, cheap, forgetful, and perfectly good for classifying, extracting and simple drafting when the facts are supplied in the window. Seven to fourteen billion is the Part II workhorse: a good laptop or a single GPU. Around seventy billion is where “dense” models, in which every parameter participates in every token, start needing a serious server; by Part II’s rule of thumb a 70B model at 16-bit precision needs roughly 140 GB of memory for the weights alone. Mixture-of-experts models break the link between size and running cost: many parameters exist but only a subset is used for each token. DeepSeek-V3 is the public example, with 671 billion total parameters and 37 billion active per token; cheap per token to run, enormous to store, because all the experts have to live somewhere. The closed frontier models, GPT, Claude, Gemini, do not disclose their sizes; the common assumption that they are large MoE models is an assumption. You never see the file. You rent it. Two “bigger is not always better” facts from earlier: InstructGPT’s 1.3B model beat the 175B base model on human preference, and for a classification job with the facts in the window, a small model is often indistinguishable from a frontier one at a hundredth of the price.

Sources (3)
  1. https://arxiv.org/pdf/2412.19437
  2. https://ai.meta.com/blog/meta-llama-3-1/
  3. https://arxiv.org/abs/2203.02155v1
04 · The species

The current board. Checked October 2026. Re-check before quoting.

Model (vendor)Input $/M tokOutput $/M tokContextCutoffNote
GPT-6 Astra (OpenAI)$10.00$50.001.05MApr 2026Flagship. Reasoning effort low → max; 2× input price over 272K
GPT-6 Luna (OpenAI)$0.10$0.501.05MMay 2026“Most efficient model for focused, high-volume tasks”
Claude Opus 5.5 (Anthropic)$4.00$20.001MReliable: Jun 2026Extended thinking billed as output
Claude Sonnet 5.5 (Anthropic)$2.00$10.001MReliable: Jun 2026Mid tier
Claude Haiku 5.5 (Anthropic)from $0.10from $0.501MReliable: Jun 2026Small / fast tier
DeepSeek-V3 (open weights)depends on hostdepends on host128Knot published671B total / 37B active MoE; download the file

A 100× price range for the same API shape. Pick the cheapest model that passes your test set, not the most famous one.

This is the one slide in the deck with product names, prices and benchmark figures, and it carries its check date for a reason: every number here was read off a vendor page in October 2026 and several will be wrong by the time you read this. Prices are per million tokens as published on the OpenAI and Anthropic model pages. GPT-6 Astra, the current flagship, lists $10 in and $50 out, a context window of 1,050,000 tokens and a knowledge cutoff of 30 April 2026, with a surcharge above 272K input tokens; GPT-6 Luna, which OpenAI describes as its most efficient model for high-volume tasks, shows what the small end costs at $0.10 and $0.50 with the same window. The previous generation’s pages (GPT-5.5 at $5 and $30) are still up; they are not the current board. Anthropic’s Opus, Sonnet and Haiku 5.5 list $4/$20, $2/$10 and from $0.10/$0.50, all with a 1M window and a published “reliable knowledge cutoff” of June 2026. DeepSeek-V3 is open weights: the price depends on who hosts it, or on your own hardware (Part II). The hallucination line uses Vectara’s public leaderboard, which measures something specific: how often a model’s summary of a supplied document contradicts that document, as judged by Vectara’s own detector. As of May 2026 the best models were under 2% and the worst over 20%. It is not a measure of how often a model is wrong about the world; no such single number exists. The message is the price range: a hundredfold spread for the same API shape. The right model is the cheapest one that passes your own test set (Part III), and that is rarely the most famous one.

Sources (7)
  1. https://developers.openai.com/api/docs/pricing
  2. https://developers.openai.com/api/docs/models/gpt-6-astra
  3. https://developers.openai.com/api/docs/models/gpt-6-luna
  4. https://developers.openai.com/api/docs/models/gpt-5.5
  5. https://platform.claude.com/docs/en/about-claude/models/overview
  6. https://arxiv.org/pdf/2412.19437
  7. https://github.com/vectara/hallucination-leaderboard
Discussion · 04

Which species are you actually paying for?

  1. For each AI feature your team uses: is it a reasoning model? Do the tasks have a checkable right answer? If not, why pay for thinking?
  2. What is the smallest model that could do your most frequent task, if the facts were in the window?
  3. Which of your inputs are not text: photos, scans, call recordings, screenshots? What are you doing with them today?
  4. Who, in your organisation, could re-check the current board in six months? Is that written down anywhere?

Most organisations are paying frontier reasoning prices for classification jobs a small model would do. The first two questions find that money.

05

Use it Monday

What it is not, what we actually know about the inside, and five habits that follow from everything above.

Habits, not tools

Section five closes the loop: four things the model is not, an honest statement of what interpretability research can and cannot yet see, and five Monday-morning habits.

05 · Use it Monday

Four things it is not. Use the real product instead.

Not a database

A database stores a fact once and returns it exactly. The model stores tendencies and returns a likely continuation. For a record, query a database and put the result in the window.

Not a search engine

A search engine finds pages that exist and shows you them. A model without a search tool produces the page that would plausibly exist. With a search tool, it is reading search results: fine, and still check them.

Not a calculator

It predicts digits the way it predicts words. Short sums are usually right because they are common text; long ones are a guess. Part III: let code calculate. Modern tools give it a calculator for exactly this reason.

Not a person

No memory between chats, no goals, no stake in being right, no idea it is wrong. It writes “I’m confident” because confident text continues that way. The register is learned; it is not a report on an inner state.

Claims that a model “understands” or “knows” are claims about outputs, not about insides. Judge the output. Ignore the adjective.

Most misuse comes from treating the model as one of four things it resembles. It is not a database. A database stores a fact once and returns it exactly; the model stores tendencies in its weights and returns the likeliest continuation. If you need a record, query the system of record and put the answer in the window. It is not a search engine. A search engine finds pages that exist; a model with no search tool produces the page that would plausibly exist, complete with plausible URL. Given a search tool it reads real results, which is fine, and still worth checking. It is not a calculator. It predicts digits the way it predicts words; short common sums are usually right because they appear in text, long ones are guesses, and this is why Part III insisted that code does the arithmetic and why modern tools hand the model a calculator. And it is not a person. It has no memory between conversations, no goals, no stake in being right, and no sense that it is wrong. When it writes “I’m confident”, that is a register learned in post-training, not a report on an inner state. Which brings us to the adjectives. Claims that a model “understands”, “knows” or “reasons” are claims about its outputs; they say nothing checkable about what is inside. Judge the output against your test set. The next slide is what we honestly do know about the inside.

05 · Use it Monday

Do we know what’s inside? A little. Honestly: a little.

What has been seen

  • Anthropic, Mar 2025: an “AI microscope” that traces which internal features fire, step by step, on a short prompt.
  • Claude chose a rhyme word before writing the line: planning ahead, not word-by-word.
  • Adding 36 + 59 used parallel internal paths; asked to explain, it described school carrying. Explanation ≠ process.
  • The same concepts activate across English, French and Chinese: a shared internal “language”.
  • A default “decline” circuit exists; a “known entity” feature switches it off, and misfires produce hallucinations.

What has not

  • The method “only captures a fraction of the total computation”, even on short prompts.
  • Tens of words of prompt took hours of human analysis. Nobody has traced a long answer.
  • Some of what the tools show may be artefacts of the tools.
  • No one can yet inspect a model and say, for a given answer, “this is reliable”.
  • So every claim about what a model “really” does is, today, a claim about behaviour.

The honest state of the art: we can see a few circuits in a small model on a short prompt. Everything else is testing from the outside.

It is fair to ask whether anyone knows what is going on inside these systems. The honest answer in 2026 is: a little, and the people who know most are the most careful about saying so. The best public account is Anthropic’s March 2025 research, “Tracing the thoughts of a large language model”, which built what the authors call an AI microscope: a way of tracing which internal features fire, step by step, as a short prompt becomes an answer, on Claude 3.5 Haiku. Several findings undercut the “just autocomplete” story. Asked to write a rhyming couplet, the model picked its rhyme word before writing the line, and could be made to choose a different one by suppressing that feature. Asked to add 36 and 59, it used parallel paths, one estimating the rough total and one fixing the last digit; asked afterwards how it did it, it described the school carrying method. The stated explanation was not the process. The same conceptual features activated across English, French and Chinese. And a “decline to answer” circuit was on by default, switched off by a “known entity” feature; when that feature fired for a name the model knew little about, the result was a confident fabrication, which is a mechanical picture of hallucination. The caveats are the authors’ own. The method captures only a fraction of the computation even on short prompts; a prompt of tens of words took hours of human effort; some of what the tools show may be artefacts of the tools. Nobody can yet look inside and certify an answer. Everything else is testing from the outside, which is what Part III’s test set is for.

Sources (1)
  1. https://www.anthropic.com/research/tracing-thoughts-language-model
To steal

Five habits that follow from knowing how it works.

01
Put the facts in the window.

Paste the policy, the figures, the email thread. If it isn’t in the window, the answer is a guess. Say which part matters, and put it first or last.

02
Ask for sources. Open them.

A citation is a prediction of what a citation looks like. Mata v. Avianca and Deloitte both skipped this step. Budget the checking time; it is the job.

03
Don’t ask it to count or calculate.

Letters, totals, dates, anything exact: a tool, a spreadsheet, or code. Give it the answer and ask it to explain, not the reverse.

04
New chat for a new task.

Long windows rot. Start fresh, carry only the good draft, and put standing instructions in a system prompt or project, not in message 40.

05
Pick the species for the job.

Reasoning model for maths, code and plans with a checkable answer. Fast cheap model for drafting, sorting and summarising. Test on your own cases; pay for the cheapest that passes.

None of this requires a new tool. All of it requires knowing what the thing is: a very large autocomplete with a budget.

Five habits, each a direct consequence of a slide earlier in the deck. Put the facts in the window, because the window is the only thing the model can see and anything not in it is a guess; say which part matters and put it near the start or end, because of “lost in the middle”. Ask for sources and open them, because a citation is a prediction of what a citation looks like and both Mata and Deloitte were caught by not opening one; the checking time is the job, not an overhead on it. Do not ask it to count or calculate, because it sees chunks rather than letters and predicts digits the way it predicts words; give it a tool, or give it the answer and ask for the explanation. Start a new chat for a new task, because long windows fill with stale text that the model reads with equal weight; carry only the good draft forward and put standing instructions where they are re-sent automatically. And pick the species for the job: a reasoning model when there is a checkable right answer, a fast cheap one for drafting and sorting, and in every case the cheapest that passes your own test set. None of this needs new software. It needs an accurate picture of what the software is.

It isn’t thinking about you.
It’s predicting the next token.

Chunks in, a scored guess out, thousands of times. Trained once by a lab, rented by the token by you. It sees only the window. It guesses when it doesn’t know, and it can’t tell.

Know that, and it’s the most useful tool you own.

Appendix · For the nerds

Attention, in one slide.

IN / OUT
Tokens → vectors

Each token becomes a list of numbers (an embedding). Position is added so order matters.

MODEL
Attention

For each token, score how relevant every other token in the window is, and blend their vectors in by those scores. “It” looks back to “the invoice”.

MODEL
Feed-forward

A per-token layer where most of the “knowledge” lives: patterns stored in the weights get applied to the blended vector.

MODEL
× dozens of layers

Repeat attention + feed-forward many times. Each layer refines every token’s vector using every other token.

IN / OUT
Scores for next token

The last token’s final vector is turned into one score per vocabulary entry. Sampling picks one.

Why it matters

“Attention Is All You Need” (Vaswani et al., Google, 2017) introduced the Transformer: no recurrence, just attention, so every token can be processed in parallel. That is what made training on trillions of tokens on thousands of GPUs practical. Every model in this deck is a Transformer.

Why context costs

Every token attends to every other. Double the window, roughly quadruple the attention work. Vendors use tricks (caching, sparse attention) but the window is never free, and that is why long prompts cost real money and time.

For the curious: the architecture behind every model in this deck is the Transformer, introduced in “Attention Is All You Need” by Vaswani and colleagues at Google in June 2017. Each token is first converted into a vector, a list of a few thousand numbers, with a position signal added so that word order survives. Then comes the step that gives the paper its name. For each token, the model scores how relevant every other token in the window is to it and blends their vectors in according to those scores; this is attention, and it is how “it” in a sentence comes to carry the meaning of “the invoice” three clauses earlier. A feed-forward layer then processes each token’s blended vector on its own; much of what we loosely call the model’s knowledge is thought to live in these layers. Attention and feed-forward alternate for dozens of layers, each refining every token’s representation using every other token. Finally the last token’s vector is turned into one score per vocabulary entry, and sampling (slide 20) picks the next token. The paper’s contribution was to drop the earlier recurrent designs entirely, so all tokens could be processed in parallel; that is what made training at the scale of section two practical. The cost is that every token attends to every other, so attention work grows roughly with the square of the window length. Vendors mitigate this with caching and sparse variants, but a long window is never free, which is why long prompts cost real money and real seconds.

Sources (1)
  1. https://arxiv.org/abs/1706.03762
Appendix · For the nerds

Temperature, top-p, and the memory rule of thumb.

Temperature

Scales the next-token scores before sampling. OpenAI’s API: 0 to 2. Near 0, the top token nearly always wins (repeatable, flatter). Above 1, low-scoring tokens get picked more often (varied, then incoherent). It changes which answer you get, not whether it is right.

Top-p (nucleus sampling)

Instead of scaling, cut the tail: keep only the most likely tokens whose scores add up to p (0 to 1), then sample among those. top_p = 0.9 means “ignore the unlikely 10%”. OpenAI’s docs describe it as an alternative to temperature; adjusting both at once is usually a mistake.

Parameters × bits ÷ 8

Part II’s rule of thumb for the weights alone. 70B × 16 bits ÷ 8 = 140 GB. 70B at 4-bit quantisation ≈ 35 GB. DeepSeek-V3 at 8-bit: 671B × 8 ÷ 8 ≈ 671 GB, even though only 37B are active per token. Then add the KV cache (grows with the window), runtime overhead and any vision tower.

# memory for weights, rule of thumb
params = 70e9           # 70B model
bits   = 16             # fp16 / bf16
gb     = params * bits / 8 / 1e9    # = 140 GB

# the same model quantised to 4-bit
gb4    = params * 4 / 8 / 1e9       # = 35 GB  (quality may drop)

Will it fit? Parameters × bits ÷ 8, plus the cache

Try it
Real arithmetic. The KV-cache estimate uses a representative transformer shape; exact numbers depend on the architecture, so treat the total as a floor.

Three details the main deck deliberately skipped. Temperature scales the next-token scores before sampling; OpenAI’s API accepts values from 0 to 2. Near zero, the top token almost always wins and output becomes repeatable and a little flat; above one, low-scoring tokens are chosen more often, which reads as creative for a while and then as nonsense. Top-p, or nucleus sampling, takes a different approach: it keeps only the most probable tokens whose scores sum to p and samples among those, so 0.9 means “ignore the least likely ten percent”. OpenAI’s documentation presents it as an alternative to temperature, and adjusting both at once makes results hard to reason about. Neither dial makes an answer more correct; they decide how the dice are thrown over the scores the model already produced. The memory rule of thumb is Part II’s: parameters times bits divided by eight gives the bytes needed for the weights alone. A 70-billion-parameter model at 16-bit precision needs about 140 GB; quantised to 4-bit, about 35 GB, with some quality cost that depends on the method. DeepSeek-V3 illustrates the MoE trap: 671 billion parameters at 8-bit is about 671 GB to store, even though only 37 billion are used for each token. And that is only the first term. The KV cache, the stored attention state for every token in the window, grows with context length and at a million tokens can exceed the weights. Part II covers the rest of the arithmetic.

Sources (2)
  1. https://developers.openai.com/api/reference/resources/chat/subresources/completions/methods/create
  2. https://arxiv.org/pdf/2412.19437