Lesson 01 · 5 min

The model

A model is a program that predicts text. It has no memory and cannot act, and it can be wrong with confidence.

By the end

You can explain what a model is and why its answers need checking.

You can explain what a model does, why its answers vary, and why it cannot act or remember by itself.

You can describe next-token generation, why it is not deterministic, and what lies outside the model: memory, tools and live data.

Reading level

Workplace terms for professionals.

Codex facts checked on 12 October 2026

Layer one is the model. It writes text, but it has no hands and no memory.

The model is the base layer. Every later lesson adds something around it.

The base layer: a stateless function from a token sequence to a next-token distribution.

What a model is

A model is a computer program that has read a huge amount of text. From that reading, it learned which words tend to follow other words.

When you ask a question, the model writes an answer one small piece at a time. Each piece is its best guess at what comes next.

Think of a new starter at work who has read every book in the library. They know a lot. But they have never worked at your company, and they forget each talk as soon as it ends.

A model is the trained engine inside an AI product. It was built by processing a very large body of text and code, and it learned the patterns in that material.

When you send a request, the model predicts a response piece by piece. It does not look facts up in a database. It generates text that fits what it learned and the request in front of it.

GPT-6.1 Sol and GPT-6 Luna are examples of models in Codex as of October 2026. Model names change often. The ideas in this lesson do not.

A large language model is a transformer network trained by self-supervised next-token prediction over a large corpus of text and code. It is then post-trained with supervised fine-tuning and reinforcement learning to follow instructions, reason and call tools.

At inference time the network maps a token sequence to a probability distribution over the next token. The serving software samples a token, appends it and repeats. Everything the model appears to know at that moment comes from its weights or from the tokens in its input.

The weights do not change while you use the model. A product that seems to remember an earlier session does so by sending stored text back in as input. Lesson 02 covers that.

How a model produces an answer

The model breaks your words into small pieces called tokens. A token is often part of a word.

Then it picks the next token, and the next, until the answer is done. There is a little chance in each pick. So the same question can get a different answer each time.

Some models stop and work through a problem before they answer. This takes longer, but it helps with hard tasks like sums and plans.

Text is split into tokens, which are short pieces of words. Usage limits are counted in tokens, so a long document uses more of your allowance than a short one.

Each answer is generated, not retrieved. The same request can produce different wording, and sometimes different facts. Treat any single answer as a draft.

Reasoning models spend extra effort on a problem before they reply. In Codex you set this as the reasoning effort: low for routine tasks, higher for complex ones. Higher effort takes longer and uses more allowance.

Tokenisation uses a learned subword vocabulary, so cost and context limits are measured in tokens, not words. Numbers, code and text in languages other than English often take more tokens per word.

Sampling at a temperature above zero makes outputs vary from run to run, and serving can add variation of its own. Reproducibility has to come from the system around the model: fixed inputs, saved outputs, and code that the model writes and you can run again.

Reasoning models generate intermediate tokens before the final answer. Codex exposes that budget as reasoning effort, from Light to Ultra as of October 2026. More effort tends to help on multi-step problems, with diminishing returns and more latency.

What a model can and cannot do by itself
By itself, a model canBy itself, a model cannot
Write, summarise and rewrite textOpen your files or folders
Explain ideas from what it learnedKnow about events after its training ended
Draft code, formulas and plansRun that code or check its own answer
Follow the instructions you give itRemember you after the conversation ends

Try it in ChatGPT

  1. 01

    Ask the same question twice

    Open ChatGPT in your browser and start a new chat. Paste the prompt below and send it.

    Start a second new chat and send the same prompt. Put the two answers side by side.

    Your first chat. The second chat gives a similar answer in different words.Illustration. Your screen may differ.
  2. 02

    Ask about today

    In a new chat, ask: What is the most recent news you know about?

    Read how the answer is made. If ChatGPT says it searched the web, a tool did that work, not the model. Lesson 03 explains tools.

Prompt for step 1

In three sentences, explain what a purchase order is and why a business uses one.

The two answers will use different words. The meaning should be close.

Expect different wording. If the facts differ, that tells you to check facts before you rely on them.

Wording varies because decoding samples from a distribution. Compare the factual claims, not the phrasing.

Step 2. The model alone cannot know today's news. Searching is a tool.Illustration. Your screen may differ.

Key terms

Model

A program that learned from lots of text and writes answers by guessing what comes next.

The trained engine inside an AI product. It predicts text from patterns it learned.

A neural network, here a transformer, whose weights define a next-token probability distribution.

Token

A small piece of text, often part of a word.

The unit a model reads and writes. Limits are counted in tokens.

An element of the learned subword vocabulary. The unit of context length and of billing.

Training data

The text the model learned from before you used it.

The material the model was built from. It stops at a fixed date.

The pre-training corpus plus post-training data. Fixed when the model is released.

Knowledge cutoff

The date when the model's learning stopped.

The date after which the model knows nothing unless a tool or a file gives it the facts.

The latest date represented in training data. Later facts must enter through the context.

Reasoning effort

How long the model thinks before it answers.

A Codex setting that trades time and allowance for more careful work.

A control over the budget of intermediate reasoning tokens generated before the answer.

Check yourself

Does a model look up facts in a database when it answers?

No. It writes an answer from patterns it learned. That is why it can be wrong.

No. It generates text from learned patterns. Unless a tool fetches a source, nothing is looked up.

No. Output is sampled from the learned distribution, conditioned on the context. Retrieval happens only if the harness supplies it.

Why can the same question get two different answers?

There is a little chance in each piece the model picks.

Each answer is generated fresh, with some randomness at each step.

Decoding is stochastic, and serving adds variation. Only the inputs are fixed.

You need yesterday's exchange rate. Can the model give it to you by itself?

No. Yesterday is after its training ended. It needs a tool, such as web search.

No. The figure is newer than the knowledge cutoff, so it must come from a tool or a file you provide.

Not reliably. Facts after the cutoff must enter the context through a tool call or a supplied document.

Syllabus

OtterBlock is not affiliated with OpenAI. Codex and ChatGPT are OpenAI products.