Chain-of-Thought Prompting in 2026: Task Decomposition, Reasoning Models and Verifiable Answers
What chain-of-thought prompting is, what the original research showed, how current reasoning models change it, and practical patterns for decomposing tasks and getting answers you can verify.
Chain-of-thought (CoT) prompting means getting a model to work through intermediate steps before giving an answer. It was one of the most influential prompting techniques of the early large-language-model era. It still matters, but the way you use it has changed: many current models reason internally before they answer, and providers now give specific advice about when to ask for step-by-step reasoning and when not to.
This guide covers what the research actually showed, what has changed with reasoning models, and the parts of CoT that remain useful: decomposing tasks and asking for outputs you can check.
What the Original Research Showed
The technique was introduced in Chain-of-Thought Prompting Elicits Reasoning in Large Language Models (Wei et al., 2022, arXiv:2201.11903). The authors gave models a few worked examples that included intermediate reasoning steps, and reported that this "improves performance on a range of arithmetic, commonsense, and symbolic reasoning tasks." Their headline result used a 540B-parameter model prompted with eight chain-of-thought exemplars on the GSM8K math word-problem benchmark.
Several follow-up papers introduced variants you will still see referenced:
- Zero-shot CoT: adding a phrase such as "Let's think step by step" without worked examples (Kojima et al., 2022, Large Language Models are Zero-Shot Reasoners, arXiv:2205.11916).
- Self-consistency: sampling several reasoning paths and taking the most common final answer (Wang et al., 2022, arXiv:2203.11171).
- Least-to-most prompting: breaking a problem into simpler subproblems and solving them in order (Zhou et al., 2022, arXiv:2205.10625).
Two cautions when reading older guides:
- The gains in these papers were measured on specific models and benchmarks. They are not a universal accuracy boost you can expect on any task or any current model.
- A written reasoning chain is not guaranteed to be the real reason for the answer. Turpin et al. (2023) showed that CoT explanations can be plausible yet unfaithful to what actually drove the model's prediction (arXiv:2305.04388). Treat written reasoning as something to check, not as proof.
What Changed: Models That Reason Internally
Many current models have a built-in reasoning or "thinking" phase. They work through the problem before producing the visible answer, whether or not you ask them to. The major API providers document this, and their guidance affects how you should prompt:
OpenAI. OpenAI's reasoning guide says reasoning models use reasoning tokens to "think", and that "reasoning tokens are not visible via the API" although they occupy context. You can opt in to a summary of the reasoning, and a reasoning.effort setting controls how much the model thinks (OpenAI reasoning guide, checked 2026-11-05). OpenAI's reasoning best-practices page advises: "Avoid chain-of-thought prompts: Since these models perform reasoning internally, prompting them to 'think step by step' or 'explain your reasoning' is unnecessary," and notes that such instructions "may not enhance performance (and can sometimes hinder it)" (OpenAI reasoning best practices, checked 2026-11-05).
Anthropic. Anthropic's thinking documentation says the text in a thinking block "is never the raw chain of thought" but a summary, and that "No display setting returns the raw chain of thought." On many current Claude models the default is to return thinking blocks with the text omitted unless you opt in to summaries (Claude thinking docs, checked 2026-11-05). Anthropic's prompting guide recommends preferring "general instructions over prescriptive steps", describes manual chain-of-thought prompting as a fallback for when thinking is off, and warns that on some of its newest models "a prompt that asks the model to write out its reasoning, for example in <thinking> tags, may be declined" (Claude prompting best practices, checked 2026-11-05).
Google. The Gemini API's thinking guide says that by default only the final output is returned and that thought summaries are opt-in (Gemini thinking guide, checked 2026-11-05).
The practical consequences:
- You cannot reliably get a model's hidden reasoning, and you should not build a workflow that depends on it. At most, you get a provider-generated summary.
- "Think step by step" is often redundant on reasoning models and can be counterproductive. Use the provider's reasoning or effort setting instead.
- The useful parts of CoT move outside the model: how you split the task, and what checkable output you ask for.
When Asking for Step-by-Step Work Still Helps
Asking a model to write out intermediate steps is still reasonable when:
- The model or mode doesn't reason internally, for example a fast, non-reasoning model or a request with thinking turned off. Anthropic describes this as the case where manual CoT is a fallback.
- You need a work product, not a thought process. A loan calculation that lists each formula and intermediate value is checkable. That is different from asking the model to reveal how it "thought."
- A human will review the answer and needs the assumptions and calculations to do so quickly.
- You split the work across several calls and want to inspect or test each intermediate result.
It is usually not worth it for simple lookups, short rewrites, classification with clear labels, or any task where a reasoning model is already doing the work internally.
Task Decomposition: The Durable Part of CoT
Whether or not a model reasons internally, you control how the task is split. Good decomposition makes each step easier to get right and easier to verify.
Pattern 1: Plan, then execute in separate calls
Call 1 (plan):
I need to [GOAL]. Constraints: [CONSTRAINTS].
List the subproblems that must be solved, in order, and for each one
state what input it needs and what output it should produce.
Do not solve them yet.
Call 2..n (execute):
Subproblem: [ONE SUBPROBLEM FROM THE PLAN]
Inputs: [OUTPUTS FROM PREVIOUS STEPS]
Produce only: [THE OUTPUT DEFINED IN THE PLAN]
Anthropic's prompting guide notes that explicit prompt chaining "is still useful when you need to inspect intermediate outputs or enforce a specific pipeline structure" even when the model handles most multistep reasoning internally (Claude prompting best practices, checked 2026-11-05). Splitting calls also lets you validate each output in code before continuing.
Pattern 2: Ask for a checkable worksheet, not hidden reasoning
Calculate [QUANTITY].
Return:
1. Assumptions: every input value and where it came from
2. Formula: the formula you used, with variables defined
3. Intermediate values: each computed value, labeled
4. Final answer: one line, with units
5. Check: one independent way to sanity-check the answer
(e.g., an order-of-magnitude estimate or a reverse calculation)
Every line of that output is something a reader can verify. For arithmetic that matters, go one step further and ask for code that computes the answer, then run it yourself.
Pattern 3: Criteria first, then judgment
For decisions and analyses, have the model commit to criteria before it reaches a conclusion:
We are deciding whether to [DECISION].
Step 1: List the criteria that should drive this decision and how each
should be weighted, given these goals: [GOALS].
Step 2: For each criterion, state the evidence from the material below,
and mark anything that is an assumption rather than a fact.
Step 3: Give a recommendation in two sentences, and name the single
piece of missing information that would most likely change it.
Material:
[DATA, NOTES, DOCUMENTS]
This makes it obvious where the recommendation depends on assumptions you can challenge.
Pattern 4: Least-to-most for problems with dependencies
Problem: [COMPLEX PROBLEM]
First, list the simpler questions that must be answered before this
problem can be solved, ordered so each depends only on earlier ones.
Then answer each in turn, using earlier answers explicitly.
Finish with the answer to the original problem.
Pattern 5: Generate, then check against explicit criteria
[TASK]
Before you finish, check your answer against these criteria and fix
anything that fails:
- [CRITERION 1, e.g., all edge cases in the spec are handled]
- [CRITERION 2, e.g., output matches the JSON schema]
- [CRITERION 3, e.g., every claim cites a line from the source]
Report only the final answer and a one-line note per criterion.
Anthropic suggests self-checks of this kind for coding and math, while noting that some newer models already verify their own work and that carried-over verification instructions can cause over-verification (Claude prompting best practices, checked 2026-11-05). Test whether the instruction helps on the model you use.
Pattern 6: Compare several independent answers
Self-consistency in its original form samples several reasoning paths and takes the majority answer. You can apply the idea without relying on sampling settings: run the same task a few times (or with a few different phrasings) and compare the final answers. Disagreement is a signal to look closer. Note that sampling controls such as temperature are restricted or unsupported on several current reasoning models; see our temperature and top-p guide for per-API details.
Worked Examples
Debugging: decompose the investigation
This function returns the wrong total for some carts.
Expected: [EXPECTED OUTPUT] for input [INPUT]
Actual: [ACTUAL OUTPUT]
[CODE]
Return:
1. The smallest input you can construct that reproduces the bug
2. The line where actual behavior diverges from expected, and why
3. A fix
4. A unit test that fails before the fix and passes after it
The answer is verifiable: you can run the reproduction and the test. That is more useful than a long narrative about what the model considered. For more templates, see debugging prompts or the debug helper template.
Calculation: make the model show checkable work
Calculate the future value of $10,000 at a 5% annual rate for 3 years,
compounded quarterly.
Return the formula, each variable's value, the result rounded to cents,
and a short Python snippet that computes the same number.
Run the snippet. If the model's number and the code's number disagree, trust neither until you find out why.
Analysis: keep the summary short and the evidence explicit
Using the three customer interview transcripts below, identify the top
three reasons customers churned.
For each reason: a one-sentence summary, the number of transcripts that
mention it, and one direct quote with the transcript name.
Do not include reasons supported by only one transcript.
Common Mistakes
- Asking reasoning models to "show all your thinking". On current reasoning models this is often unnecessary, and some providers may decline requests to write out reasoning. Ask for a concise justification and checkable artifacts instead.
- Treating written reasoning as proof. A fluent explanation can still be wrong or unfaithful. Verify the final answer independently.
- Over-prescribing steps. A rigid step list can make a capable model worse at problems it would otherwise solve well. Give the goal, constraints and output format; add steps only where you need a specific structure.
- Decomposing into steps you never check. Splitting a task only helps if each intermediate output is validated (by code, tests, or a quick human read).
- Expecting a fixed accuracy gain. Results depend on the model, task and prompt. Measure on your own examples.
How to Tell Whether It Helps (Protocol)
This is a protocol you can run, not a result we are reporting:
- Collect 20-50 real examples of the task with known correct answers.
- Write two prompt variants, for example "direct answer" and "decomposed with checkable worksheet."
- Run both on every example with the same model and settings. If you use a reasoning model, keep the reasoning or effort setting fixed.
- Score final answers only, using an automatic check where possible (exact match, unit tests, schema validation).
- Compare accuracy, output length, latency and cost. Run the comparison more than once, because outputs vary between runs.
- Repeat when you change models; a technique that helped on one model may not help on the next.
Frequently Asked Questions
Does chain-of-thought prompting still work?
The underlying ideas do: breaking problems into steps and checking intermediate results. Whether you should ask for step-by-step reasoning depends on the model. On models that reason internally, providers advise using their reasoning settings instead; on models or modes without internal reasoning, asking for intermediate steps can still help.
Can I see a model's full reasoning?
Not on the major APIs we checked. OpenAI does not expose raw reasoning tokens and offers optional summaries; Anthropic returns summaries (or nothing, depending on the display setting) and states that no setting returns the raw chain of thought; Gemini thought summaries are opt-in (all checked 2026-11-05). Design your workflow around final answers and checkable artifacts.
What should I ask for instead of "show your reasoning"?
Ask for the final answer plus the assumptions, inputs, formulas, test cases or source quotes that let you verify it, and a short justification of a few sentences.
Is decomposition the same as chain-of-thought?
They overlap. CoT is usually about the model producing intermediate steps within one response. Decomposition is about how you split a task, often across several calls, so each piece can be checked. Decomposition remains useful regardless of whether the model reasons internally.
Related reading: What is prompt engineering?, how to write better AI prompts, and system prompts vs user prompts. For ready-made templates, browse the prompt library.
Related Articles
Role-Playing Prompts: Define Perspective, Task and Boundaries
When assigning an AI a role helps and when it doesn't, reusable role templates, and an illustrative with-and-without-role comparison you can run on your own tasks.
Temperature and Top-P: What They Do and Which APIs Still Support Them (2026)
How temperature, top-p and top-k sampling work, which OpenAI, Anthropic and Gemini models accept them today, why no setting guarantees deterministic output, and a reproducible protocol for testing settings yourself.
How to Evaluate AI Prompts: A Repeatable Regression Workflow
A step-by-step method for evaluating AI prompts: build a test set, write a rubric, combine deterministic and model-graded checks, record model settings, read failures and iterate without regressions.