Stage 3 · Teens · Advanced Topics

Reasoning Models & Chain-of-Thought

How models can be prompted or trained to "think" before answering.

This is still next-token prediction. Chain-of-thought (CoT) does not give the model a calculator or a separate "thinking module." It spends extra generated tokens on intermediate steps — more inference-time compute — before committing to a final answer. That often helps on multi-step logic because each line is a checkable continuation rather than one risky leap.

You can ask for those steps in the prompt ("think step by step"). Some models are further trained to produce extended internal reasoning before answering — often called reasoning models. They tend to do better on hard math, coding, and multi-step problems, at the cost of higher latency and token usage. Instruction-tuning and preference training, from earlier, already reshaped which continuations are likely; reasoning training reshapes them toward longer, more deliberate traces.

Direct Answer vs. Chain-of-Thought
"A store has 3 boxes of 24 pens. It sells 40 pens. How many pens are left?"
48 pens ✗
Jumped straight to an answer — a plausible-looking number with no trail, so the arithmetic error is invisible.

Compare a direct answer against a step-by-step trace on the same pens problem.

All lessons in Stage 3: Agents and safety