Sapiens
Technicals

What is chain-of-thought prompting?

Published June 1, 2026 · 4 min read

CHAIN-OF-THOUGHT PROMPTINGMake it show its work.Each step written down means fewer slips on the way to the answer.The questionStep 1Step 2Step 3The answerLike long division on paper: write every step, not just the final number, and you rarely slip.

Definition

Chain-of-thought prompting is asking an AI to spell out its reasoning steps before answering, which improves accuracy on multi-step problems.

At a glance

  • You tell the AI to think out loud and show its work, not just hand you an answer[3].
  • The easy version: add a phrase like “Let us think step by step” to your request. No setup needed[2].
  • 2022 research showed sharp gains on math, logic, and commonsense tasks[1].
  • Helps most on complex problems; on simple ones it just adds clutter.

How to use it

Zero-shot: add “Let us think step by step” to your request. Few-shot: include one or two worked examples showing the kind of step-by-step reasoning you want, then ask your real question[4]. Both push the model into a more careful mode.

When it is worth it

Use it for problems with several moving parts: multi-step calculations, comparing options, or logic puzzles. Skip it for quick questions. Newer top models increasingly reason this way on their own, so the trick matters less than before, but it stays a cheap thing to try when an answer looks shaky[5].

Bottom line

Ask the AI to show its work: it costs one sentence and pays off most on multi-step problems.

References

  1. Chain-of-Thought Prompting Elicits Reasoning in Large Language Models — Jason Wei, Xuezhi Wang, Dale Schuurmans, Quoc Le. arXiv arxiv.org
  2. Large Language Models are Zero-Shot Reasoners — Takeshi Kojima, Shixiang Shane Gu, Machel Reid, Yutaka Matsuo, Yusuke Iwasawa. arXiv arxiv.org
  3. What Is Chain-of-Thought Prompting? Explained. Amazon Web Services aws.amazon.com
  4. What is chain of thought (CoT) prompting? IBM www.ibm.com
  5. Prompting Science Report 2: The Decreasing Value of Chain of Thought in Prompting — Lennart Meincke, Ethan R. Mollick, Lilach Mollick, Dan Shapiro. arXiv arxiv.org

Comments

Questions, corrections, and links welcome. Be specific and civil.

  • Loading comments…