Chain-of-Thought (CoT)
Chain-of-thought prompting has a model work through intermediate reasoning steps before answering — improving accuracy on multi-step problems.
Chain-of-thought (CoT) is the technique of having a language model produce intermediate reasoning steps before its final answer — decomposing a problem in writing instead of jumping to a conclusion.
It works because generation is sequential: each reasoning token the model writes becomes context for the next, effectively giving the model scratch space. On arithmetic, logic, and multi-step planning, eliciting steps ("think step by step", or few-shot examples that demonstrate worked reasoning) historically delivered large accuracy gains.
Its 2026 status is nuanced: CoT prompting became less necessary as reasoning models internalized the behavior — they generate thinking tokens natively, and redundant "think step by step" instructions can just add cost. The technique still matters on non-reasoning tiers, in LLM-as-judge rubrics where visible reasoning aids auditability, and as the conceptual ancestor of the reasoning-model era. When to reach for explicit CoT versus structure versus examples is mapped in Few-Shot vs Chain-of-Thought vs Structured Prompting.
Frequently asked questions
- Does 'think step by step' still help on modern models?
- Less than it used to, and sometimes not at all. Reasoning models think internally by default, so an explicit CoT instruction is often redundant — and can add latency without accuracy. CoT prompting still earns its keep on non-reasoning models and on tasks where you want the steps visible for auditing.
- Is chain-of-thought the same as a reasoning model's thinking?
- Same idea, different layer. CoT is a prompting technique — you ask the model to externalize steps in its answer. Reasoning models bake it in: they're trained to generate internal thinking tokens before responding, no prompt trick required. The technique became the architecture.
Related
- Few-Shot vs Chain-of-Thought vs Structured Prompting: What to Use When (2026)When to reach for few-shot examples, chain-of-thought reasoning, or structured/output-constrained prompting — a 2026 decision guide to the core techniques.
- Reasoning ModelA reasoning model is an LLM trained to think before answering — generating internal reasoning tokens it can spend adaptively on hard problems.
- Few-Shot PromptingFew-shot prompting includes worked examples in the prompt so the model learns the task's pattern from demonstrations instead of instructions alone.
- Prompt Patterns for Coding AgentsPractical prompting patterns: chaining, few-shot, context management, tool use, and output structuring.