AI CompendiumA public chart of the language
Home / Prompting & Structure / Chain of Thought
Prompting & Structure

Chain of Thought

also called CoT, Reasoning out loud

Let the model work through steps before committing to an answer.

Definition

Asking the model to reason step by step before giving its conclusion, which measurably improves arithmetic, logic and multi-constraint tasks.

Reasoning models now do this internally, which has changed the advice: for those, prompting "think step by step" manually is usually redundant, and you should ask for the conclusion rather than the transcript.

The advice changed when reasoning models arrived, and it is worth knowing why. Those models generate their reasoning internally as part of training, so manually prompting "think step by step" is largely redundant; what you now choose is whether you want the transcript or the conclusion, and how much thinking budget to pay for.

How people use it
A calculation coming out wrong.
"Ask it to show the working, then extract the final number. It gets it right far more often."
Worked example

Reasoning out loud beats reasoning silently

A multi-constraint scheduling problem comes out wrong.

Asking for the working before the answer improves accuracy on constraint-heavy tasks, and it gives you something to debug: the failure is visible in which constraint it dropped. Silent wrong answers tell you nothing.

Sources
Related terms