Skip to content

Chain-of-thought

AI glossary

Chain-of-thought

Also called: CoT, step-by-step reasoning

Chain-of-thought is a style where the model writes intermediate steps before it gives the final answer. The idea, popularised in research around 2022 and now built into many 2026 “reasoning” modes, is that extra work in the open (or in a hidden scratchpad) can help on multi-step problems.

When it helps

Maths, planning, and questions that need several dependent checks often improve if the model is allowed to work through them. Some hosts now spend test-time compute on this automatically, and they may hide the scratchpad from the end user.

You can also ask for visible steps when you want to audit the work. That is useful, and it is not a proof: a tidy working can still hide a wrong assumption in step two.

When to be careful

Visible reasoning can leak private tool results or policy text if you show it to users. It also costs tokens. For simple lookups, a short extractive answer is better. And prompting “think step by step” is not a substitute for giving the model the right figures in the first place.

A concrete example

Example For a three-part pricing question, the model first lists each fee, adds them, then states the total.

FAQs about Chain-of-thought

Should I always ask the model to show its working?

No. Use it on tasks where the steps help you check the answer, and hide or summarise it when the raw scratchpad would confuse or expose too much.

Is chain-of-thought the same as a reasoning model?

Related, but not identical. A reasoning model is trained or served to spend extra compute on intermediate work. Chain-of-thought is the style of that work, whether you asked for it in a prompt or the product does it for you.

Can I trust the written steps?

Treat them as a draft of the model’s path, not as a formal proof. Check the final claims against sources, especially numbers and citations.

Does it reduce hallucinations?

It can reduce sloppy arithmetic and skipped steps. It does not, by itself, add missing facts. Combine it with grounding when the answer must come from a document.

Back to the full AI glossary