The advice circulates in one sentence: add "think step by step" to the end of your prompt. Sometimes the answer improves. Sometimes it gets longer, arrives slower, and is no more correct; occasionally it is worse. Then someone tells you to stop, because the model already thinks before it answers. All of these observations come from one mechanism, and once you see it, you can predict which of your own tasks will benefit.

Chain of thought prompting is the name for getting a model to write out intermediate reasoning steps before it commits to a final answer. It comes in two shapes. With few-shot prompting, you put worked examples in the prompt, each showing the question, the steps and the answer; the original 2022 paper used eight handwritten exemplars, which is also why few-shot examples that show only final answers teach so much less 1. With the zero-shot version, you add one sentence, "Let's think step by step", and nothing else 2. A chain of thought prompt is usually a one-line edit, which is exactly why it is worth understanding rather than copying.

Start with something you already do. Multiply 17 by 24 in your head, then do it on paper. On paper you write 17×20=34017 \times 20 = 340, then 17×4=6817 \times 4 = 68, then 408408. The paper is not keeping a record for later. Once 340 is written down, you no longer have to hold everything at once: it sits there as a settled fact, and the next step is computed from it rather than from the original problem. The paper is part of your thinking, not a report of it.

A language model faces the same constraint for a different reason. It writes one token at a time, and everything already written becomes input when it chooses the next token. A number it has written down is genuinely available to the next sentence in a way that a number it merely "has in mind" is not. Asked for the answer directly, it makes one long jump from the question to 408. Asked to work step by step, it makes three short jumps, each conditioned on the result before it. The original paper calls this allocating additional computation to problems that need more reasoning steps: not more computation per word, but more words to compute in.

The effect was large. With eight worked chains in the prompt, PaLM 540B went from 17.9% to 56.9% on GSM8K grade-school word problems 1. With a single added sentence and no examples, MultiArith went from 17.7% to 78.7% and GSM8K from 10.4% to 40.7% on a large InstructGPT model 2. One caveat from that first paper matters more than the headline numbers: the gain appeared only in sufficiently large models, around 100 billion parameters and up. Smaller models produced fluent, confident, illogical chains and ended up worse than answering directly.

The mechanism then tells you where it pays. It pays when there is a result worth writing down, meaning the task is a chain of operations whose intermediate values you could compute, check and carry forward. Splitting a bill across people with different shares, converting currency at a dated rate, working out whether a deadline that lands on a weekend moves to Monday, applying four policy clauses in a fixed order, tracking five names through a series of swaps. Each of these has a second half that depends on a number or a state the first half produced.

It does nothing when no such value exists. Summarising a report, rewriting an email in a warmer tone, pulling the invoice number out of a message, deciding whether a customer sounds angry: writing "steps" there just means more prose before the answer, and the answer is decided by the whole picture rather than by a chain of results. The steps are not wrong, they are simply not load-bearing, and you pay for them in tokens, seconds and a draft that is harder to read.

Two lines of evidence match that prediction. A meta-analysis covering over 100 papers and 1,218 comparisons found the benefits concentrated in maths, formal logic and symbol manipulation, with average gains of 14.2, 12.3 and 6.9 points respectively, while across all other task types the average was 56.8% with chain of thought against 56.1% without, which the authors decline to call a win once the extra computation is counted 3. The original paper's own results shrank toward zero or turned slightly negative on the easiest one-step subset 1. Chain of thought prompting is a specific lever for tasks that decompose into checkable operations, not a general quality dial.

Then the ground shifted. Models released from late 2024 onward (the o-series, Claude with extended thinking, Gemini's thinking modes) are trained to produce a long internal reasoning trace before they answer, often in a channel you never see. Ask one of these a hard question and it is already doing something like chain of thought, at whatever depth its effort setting allows. Your added sentence asks for a second, visible performance of something that has already happened. OpenAI's guidance for reasoning models says to avoid chain-of-thought prompts, because prompting the model to "think step by step" or "explain your reasoning" is unnecessary 4. Anthropic's guidance points the same way, preferring general instructions such as "think thoroughly" over a hand-written step-by-step plan, and treating manual chain-of-thought prompting as a fallback for when thinking is switched off 5.

The measurements agree. A Wharton study put PhD-level science questions to reasoning and non-reasoning models, 25 trials per question. For the reasoning models, adding "think step by step" moved accuracy by a few points in either direction, with small gains for two and a small significant loss for one, while answers took 20% to 80% longer 6. The same study found the reverse of the usual advice for non-reasoning models: most of them already produce a short reasoning trace unprompted, so a chain of thought prompt had little room to help, and forcing them to answer with nothing but the answer harmed them by suppressing that trace. With a reasoning model, the useful controls are the goal, the constraints, the definition of a good answer and the effort setting.

The harder question is whether the steps you see can be trusted. A tidy sequence ending in a number reads like a window into the process. The paper analogy breaks exactly here: when you work on paper you know why you wrote each line, while a model's lines are chosen by the same next-token machinery as everything else it writes, and its answer can be moved by something it never mentions.

Turpin and colleagues showed how far that goes. Reordering the answer options in the prompt so the correct one was always "(A)", or adding a hint like "I think the answer is (B)", dropped accuracy by as much as 36 points across a suite of reasoning tasks. Of the 426 explanations that argued for the biased answer, exactly one mentioned the biasing feature, and in 73% of the unfaithful cases the written steps actively built a case for it 7. The model was not concealing a process it had run; it was generating a plausible justification for an answer it had already landed on, and plausibility is cheap. The original paper said this more cautiously: there is no guarantee that a generated reasoning path is correct, and the technique does not settle whether the model is "reasoning" in any deeper sense 1.

So read the steps as a place to look for mistakes, not as a report of the model's reasons. That is still worth a lot. In the original paper's error analysis, about half of the wrong answers examined came with chains that were nearly right: a calculator slip, a mislabelled variable, one missing step. A chain aimed at the quantities you care about turns an unauditable answer into an auditable one. It is a one-way test: a wrong line makes a wrong answer likely, while a tidy chain proves nothing about whether the answer is right.

That reading turns the vague instruction into something sharper. Instead of "think step by step", ask for the intermediate quantities you intend to check, in the order you would compute them: each line item's monthly cost, then the annual total, then the difference from last year. Instead of "explain your reasoning" on a rule-application task, require the rule per item, so each row names the clause, the value and the outcome. Keep the steps out of the deliverable when someone else has to read it: ask for a scratchpad section, then the final answer in the format you want. Skip it for rewriting, tone, extraction and summarising, and skip it on reasoning models in favour of a clear goal and a higher effort setting.

Chain of thought prompting, then, is the technique of making a model write its intermediate results into the text, so that later steps are computed from what has already been written. It buys accuracy when the task is a chain of checkable operations, it buys you something to audit almost everywhere, and it buys nothing on tasks with no reusable intermediate values or on models that already think before they answer. The visible steps are worth reading. Just read them as arithmetic on the page, not as a confession.