Chain of Thought: Asking for Steps Before the Answer

Chain of thought means asking a model for intermediate steps before it answers. What Wei and Kojima showed, when it helps and when it hurts reasoning models.

info Quick Definition
Chain of thought is a technique in which the model produces intermediate steps before giving its final answer. On multi-step tasks, such as calculations, logic or chained rules, it usually improves the result. It costs time and output tokens, so use it where it adds value.

What is it and where does it come from?

There are two basic forms. In the first, the prompt includes examples in which the answer is shown with its steps. The technique was introduced this way in 2022: Wei and colleagues, at Google, showed that with eight such examples a 540-billion-parameter model reached state-of-the-art results on GSM8K, a set of math word problems.

In the second, called zero-shot chain of thought, there are no examples: adding the phrase “Let’s think step by step” is enough. Kojima and colleagues (NeurIPS 2022) measured with text-davinci-002 that accuracy went from 17.7% to 78.7% on MultiArith and from 10.4% to 40.7% on GSM8K. Those are figures from a model of that generation, not a promise for today’s models.

What changed with reasoning models?

Current reasoning models build this behavior in: they reason before answering even if you do not ask (see reasoning models). The providers’ guides reflect it:

  • OpenAI advises against asking its reasoning models to “think step by step”, because they reason internally, and warns that the instruction may not improve results and can even make them worse.
  • Anthropic recommends general instructions such as “think thoroughly” over a hand-written plan, and keeps manual chain of thought as a fallback when internal thinking is off.
  • Google documents that Gemini reasons internally, that the amount of thinking can be adjusted (thinking_level) and that only the final answer is returned by default; thought summaries are requested separately.

The practical consequence: with a model that has no built-in reasoning, asking for steps can still help; with one that reasons, it most likely just spends tokens. Prompt engineering compares the three guides; here the focus is the effect on the product.

Why does this matter to a designer?

Because intermediate steps change the interface and the waiting experience:

  • Time. More steps mean more output tokens and longer waits. Show a progress state if the answer is slow.
  • Trust. Visible reasoning can help verification. But it can also expose intermediate errors that confuse users who do not need them.
  • Deciding what to show. You can use reasoning internally to improve the answer and show only the conclusion and the evidence behind it.
  • Cost. Every step costs money. If most queries are simple, asking for reasoning on all of them raises the product’s cost with no visible benefit.

When NOT to use it?

When the task is classification, writing, direct extraction or retrieving a fact. Reasoning there adds noise, and there is evidence that it can hurt:

  • Sprague and colleagues (ICLR 2025) reviewed the literature and found that chain of thought helps mainly on math and logic, with much smaller gains elsewhere.
  • Liu and colleagues (2024) tested tasks where deliberating makes human performance worse. On three of six, state-of-the-art models did worse with chain of thought, by as much as 36.3 percentage points in one case.

It is also no guarantee of truth. Turpin and colleagues (NeurIPS 2023) showed that step-by-step explanations can hide what actually influenced the answer: when the prompt was biased, models changed their answers and their reasoning did not mention the bias. Later work on reasoning models found that their reasoning often does not mention the hint they used. So well-reasoned text can still reach a wrong conclusion, which is why you should verify the result and not only read the steps.

What are the ways to ask for it?

FormWhat you include in the promptWhen it helpsCost
No reasoningOnly the task and the answer formatClassification, extraction, writingMinimal
Activation phrase“Reason step by step before giving the final answer”Multi-step tasks with a model that has no built-in reasoningLow to medium
Examples with stepsTwo or three solved cases with their reasoning (see few-shot prompting)Rules specific to your productMedium, more input tokens
Reasoning modelOnly the task and the goal; reasoning happens by defaultComplex, verifiable problemsHigh, more latency

How to use it well

A practical approach:

  1. Identify the multi-step tasks in your product: calculations, chained rules, comparisons.
  2. Test with and without reasoning on a set of real cases, and compare accuracy, time and cost (see what are evals).
  3. Ask for a structure, for example “first identify the data, then apply the rule, finally give the conclusion”. That makes the reasoning easier to verify.
  4. Separate reasoning from answer in the output format, so you can show one without the other.
  5. Verify the final result with code when the value is exact, such as a total or a date.
  6. Test again when you change models. What helped an older model can get in the way of one with built-in reasoning.

Example

Illustrative example: an internal tool checks whether a purchase flow meets five chained discount rules. With a model that has no built-in reasoning, the team tries 40 cases and sees that in several it applies rule three before rule two. They add an instruction to evaluate the rules in order and give the conclusion last; the error drops, but the answer takes longer. The team decides to show the conclusion and, below it, the five rules evaluated with their results. A designer can review the logic without reading a long text. The exact discount is calculated in code, not by the model.

Common mistakes

  • Asking for reasoning on tasks that do not need it.
  • Keeping “think step by step” in prompts for a reasoning model out of habit.
  • Trusting that well-written reasoning guarantees a correct answer.
  • Showing intermediate steps to users who only need the result.
  • Measuring only quality and not the added time and cost.
  • Using the technique for values that should come from code or a database.

Sources

Frequently asked questions

What is chain of thought?
It is a technique in which the model produces intermediate reasoning steps before its final answer. Wei and colleagues described it in 2022 and showed that it improves results on math, commonsense and symbolic problems.
Is it enough to write 'think step by step'?
With models that have no built-in reasoning, sometimes. Kojima and colleagues (2022) measured that this phrase, without examples, raised text-davinci-002 accuracy on MultiArith from 17.7% to 78.7%. With today’s reasoning models, OpenAI warns that it may not help and can even make results worse.
Does chain of thought always improve the answer?
No. A review of the literature (Sprague et al., 2025) found that the gains concentrate on math and logic. Liu et al. (2024) found tasks where asking for reasoning cut accuracy by up to 36.3 points. It also always adds time and output tokens.
Is the reasoning the model writes the real cause of its answer?
Not necessarily. Turpin et al. (2023) showed that step-by-step explanations can leave out the influence that actually led the model to its answer. Well-written reasoning helps with review, but it does not prove the conclusion is right.
Should the reasoning be shown to the user?
Not necessarily. You can use reasoning internally and show only the conclusion and the evidence, as long as the interface does not hide information the user needs to verify it.