Tech AI LabsAI Growth Infrastructure for Business

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

By the Tech AI Labs teamChecked 22 November 20265 min read
How to Use Chain-of-Thought Prompting for Complex Tasks: a practical workflow overview

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:

A four-step pattern

Four steps of reasoning
Guide diagram: Four steps of reasoning
  1. 1Break it down. Ask the AI to list the parts of the problem.
  2. 2Reason step by step. Ask it to work through each part, showing the logic.
  3. 3Check the result. Ask it to test the answer against your criteria.
  4. 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

When to use step-by-step prompts
Guide diagram: When to use step-by-step prompts

Good fit:

Poor fit:

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:

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

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

Checked December 2026. Model features change often.

Key takeaways

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 →
How to Use Few-Shot Prompting with Real Examples: article illustration
TUTORIALS

How to Use Few-Shot Prompting with Real Examples

Read →
How to Use Role-Based Prompting to Get Expert-Level Answers: article illustration
TUTORIALS

How to Use Role-Based Prompting to Get Expert-Level Answers

Read →
How to Write Perfect AI Prompts: A Practical Guide: article illustration
TUTORIALS

How to Write Perfect AI Prompts: A Practical Guide

Read →

Keep exploring

Move from research to a useful workflow. Check the source, learn the steps, then discuss implementation.

Discuss your workflow