How to Use Chain-of-Thought Prompting for Complex Tasks

Short answer: Chain-of-thought prompting asks an AI to work through a problem in steps before giving a final answer. It helps with maths, planning, analysis and comparisons. Many current models also have built-in "thinking" modes, and Anthropic's guidance says general instructions like "think thoroughly" often work better than a hand-written plan. Always check the reasoning and the result.
What it is
When you ask a hard question and demand an instant answer, the AI may skip steps and make errors. Chain-of-thought prompting asks it to break the problem down and reason through the parts first. You see how the answer was reached, which also makes mistakes easier to spot.
Plain prompt: Which of these two suppliers is cheaper over three years?
Chain-of-thought prompt: Compare these two suppliers over three years. First list the costs for each year, including setup fees and price rises. Then add them up. Then tell me which is cheaper and by how much. Show each step.
How modern models change this
Older advice said to add "think step by step" to every hard prompt. Current tools have changed.
Anthropic's best practices page says that when thinking is off, you can still encourage step-by-step reasoning manually by asking the model to think through the problem before it answers and to put the final answer in a separate section so you can extract it. It adds that some models might decline to write out their reasoning in tags, and on those models you should rely on built-in thinking instead. It also says to prefer general instructions over prescriptive steps, because a prompt such as "think thoroughly" often produces better reasoning than a hand-written step-by-step plan. Source: https://platform.claude.com/docs/en/build-with-claude/prompt-engineering/claude-prompting-best-practices
So the practical advice is:
- If your tool has a thinking or reasoning mode, turn it on for hard problems.
- If it does not, ask for step-by-step reasoning in your prompt.
- Give general guidance such as "think carefully and check your work" before you write detailed procedures.
- Test on your own tasks. What works for one model may not for another.
A four-step pattern

- 1Break it down. Ask the AI to list the parts of the problem.
- 2Reason step by step. Ask it to work through each part, showing the logic.
- 3Check the result. Ask it to test the answer against your criteria.
- 4Give the final answer. Ask for a short conclusion that stands alone.
Template: Here is the problem: [problem]. First, list what is known and what is missing. Then work through the solution step by step. Then check your answer against [criteria]. Finally, give a one-paragraph recommendation.
When it helps and when it does not

Good fit:
- Maths and budgeting.
- Planning with several constraints, such as a schedule.
- Comparing options with trade-offs.
- Analysing a document for risks.
- Debugging a process or a spreadsheet.
- Decisions with several factors.
Poor fit:
- Simple facts and definitions.
- Quick edits or rewording.
- Creative writing where you want a fresh voice, not a worked solution.
Extra reasoning takes more time and can use more of your usage allowance. Use it where accuracy matters.
Examples to copy
Budget check: I have a monthly budget of 3,000 pounds. Fixed costs are 1,850. I want to save 500 and spend the rest on groceries, transport and leisure in a 4:2:1 ratio. Work out each amount step by step and check that the total is correct.
Project plan: I must launch a website in eight weeks with one developer and one writer. List the tasks, estimate the time for each, identify dependencies and show which tasks form the critical path. Reason step by step, then give the final schedule in a table.
Decision: Should we hire one senior developer or two juniors? Consider cost, speed, risk and training time. Reason through each factor, score each option from 1 to 5 and explain the scores. Then recommend one and say what would change your mind.
Document risk check: Read this contract section. First, list the obligations on each party. Then list anything unclear. Then rate each risk low, medium or high with a reason. Finish with three questions to ask the other side.
Check the reasoning
A tidy chain of steps can still be wrong. Look for:
- Wrong inputs. Did it use your actual numbers?
- Hidden assumptions. Ask: "List every assumption you made."
- Arithmetic slips. Recalculate totals yourself.
- Skipped options. Ask what it did not consider.
- Confidence without evidence. Ask it to separate facts from assumptions.
Follow-up prompt: Review your own reasoning above. Find any step that could be wrong and explain how to verify it.
For anything involving money, safety, health or law, treat the output as a draft and have a qualified person confirm it.
Combine with other techniques
Chain-of-thought works well with a clear role and good examples. See How to Use Role-Based Prompting to Get Expert-Level Answers and How to Use Few-Shot Prompting with Real Examples. For the basics, start with How to Write Perfect AI Prompts.
Common mistakes
- Adding "think step by step" to every prompt, including simple ones.
- Prescribing a rigid method when a general instruction would do.
- Reading the steps as proof that the answer is right.
- Forgetting to give the data the AI needs.
- Not asking for a final, standalone answer.
FAQ
Is chain-of-thought still needed with reasoning models?
Often less. Built-in thinking modes do much of this work, and Anthropic advises general instructions over detailed step lists. Test on your task.
Can I see the AI's reasoning?
Sometimes. Some tools show it, some summarise it and some models may decline to write it out. Ask for the working in your answer if you need to check it.
Does it make AI more accurate?
It can help on multi-step problems, but it does not guarantee correct answers.
Does it cost more?
Longer reasoning can use more time and more of your usage limit.
Sources
- Anthropic, "Prompting best practices": https://platform.claude.com/docs/en/build-with-claude/prompt-engineering/claude-prompting-best-practices
- OpenAI Help Center, "Prompt engineering best practices for ChatGPT": https://help.openai.com/en/articles/10032626-prompt-engineering-best-practices-for-chatgpt
Checked December 2026. Model features change often.
Key takeaways
- Ask for step-by-step reasoning on multi-step problems.
- Use built-in thinking modes where they exist, and general instructions before rigid steps.
- Verify inputs, assumptions and arithmetic.
- Skip it for simple tasks.
Want AI workflows that are tested, not guessed? Book a free 30 minute call with Tech AI Labs.
FAQ
Quick answers
Is chain-of-thought still needed with reasoning models?
Often less. Built-in thinking modes do much of this work, and Anthropic advises general instructions over detailed step lists. Test on your task.
Can I see the AI's reasoning?
Sometimes. Some tools show it, some summarise it and some models may decline to write it out. Ask for the working in your answer if you need to check it.
Does it make AI more accurate?
It can help on multi-step problems, but it does not guarantee correct answers.
Does it cost more?
Longer reasoning can use more time and more of your usage limit.
IN THE DIRECTORY
See how this tool compares, what it costs and what it is best for.
Open the tool page →

