Artikel 62
KI Grundlagen

Making AI Think Step by Step: How Chain-of-Thought Revolutionizes Your AI Results

Sebastian Rydz18. März 202610 min Lesezeit

Imagine you ask an expert a complex question and they answer immediately without thinking. Would you trust their answer? Probably not. And yet, that's exactly the default when interacting with AI: you ask a question, AI spits out an answer, and you hope it's correct.

But what if you could make AI actually "think"? To reveal its reasoning, work through a problem step by step, and show you not just the result but the entire solution path? That's exactly what Chain-of-Thought prompting is, and it's one of the most powerful techniques you can master as a prompt writer.

What is Chain-of-Thought prompting and why does it work?

Chain-of-Thought is a prompting technique where you explicitly ask AI to reveal its thinking process. Instead of simply demanding an answer, you ask AI to think step by step and document each intermediate step.

Why does this work so well? AI models like ChatGPT or Claude generate text word by word, from left to right. When AI immediately generates an answer, it can't take a "look back" and check whether its logic holds. But when it's forced to write down its reasoning, something fascinating happens: each written intermediate step influences the next. AI uses its own previous words as context for the next words. This leads to more coherent, logical, and accurate results.

Think of it this way: when you do math in your head, you make more errors than when you write each step on paper. That's exactly how it works for AI too. Writing down the thinking path is for AI what paper and pen are for you.

Studies have shown that Chain-of-Thought prompting can improve accuracy on mathematical tasks by up to 40 percent. For logical reasoning, the improvements are even more significant. And the best part: you don't need any technical background for this. You just need to know how to choose the right words.

The thinking path explained: Simple vs. complex prompts

To make the difference tangible, let's look at a concrete example. Suppose you ask AI the following question:

"A store offers a 20% discount on an item that costs $85. Additionally, there's a $10 coupon. What do I pay in the end?"

Without Chain-of-Thought: AI might answer "$58." Maybe that's right, maybe not. You can't trace the reasoning and don't know whether the discount or the coupon was applied first.

With Chain-of-Thought:

"A store offers a 20% discount on an item that costs $85. Additionally, there's a $10 coupon. What do I pay in the end? Think step by step and show me each calculation step."

AI now responds something like: "Step 1: The original price is $85. Step 2: 20% discount on $85 is $17. Step 3: $85 minus $17 equals $68. Step 4: Subtract the $10 coupon: $68 minus $10 equals $58. Final result: You pay $58."

See the difference? With the second prompt, you can verify each individual step. You see that the discount was applied before the coupon. You can check the math. You have transparency.

And here's the crucial point: if AI makes an error in one of the steps, you spot it immediately. Without the thinking path, you'd only know the result is wrong but not why. With the thinking path, you can say: "Wait, in Step 2 you miscalculated. 20% of 85 isn't 15, it's 17." And AI corrects itself.

The magic phrases: How to activate Chain-of-Thought

There are various ways to activate Chain-of-Thought in your prompts. Here are the most effective phrases, sorted by strength:

Level 1: The simple request

Add to the end of your prompt: "Think step by step." This is the simplest form and already works very well in most cases.

Level 2: The detailed request

"Work through this task step by step. At each step, explain what you're doing and why. Show your final result at the end."

Level 3: The structured variant

"Solve this task using the following format: 1. Analyze the problem and identify relevant information. 2. Develop a solution approach. 3. Execute each calculation step individually. 4. Verify your result. 5. Formulate the final answer."

Level 4: The expert variant

"You are an experienced problem solver. Before answering, take time to thoroughly analyze the problem. Reveal your entire thinking process. Identify potential pitfalls. Check assumptions. Show alternative solution paths and explain why you choose a particular approach."

The structured variant (Level 3) is particularly powerful in practice because it gives AI a clear framework. You're not just telling AI to "think," you're providing a thinking structure. It's like the difference between "write something nice" and "write a paragraph with an introduction, three arguments, and a conclusion."

Breaking tasks into sub-steps: The art of decomposition

One of the most powerful applications of Chain-of-Thought is breaking complex tasks into manageable sub-steps. Many people fail with AI not because the technology isn't capable enough, but because they demand too much at once.

Here's an example. Imagine you're planning a business trip and need help with organization:

Poor prompt:

"Plan a business trip to Munich for me."

Chain-of-Thought prompt:

"I need to plan a business trip to Munich. Please proceed systematically: 1. Identify all aspects that need to be considered for a business trip. 2. Prioritize the aspects by time urgency. 3. Create specific action steps for each aspect. 4. Suggest a timeline. My parameters: traveling from Berlin, 3 days, budget 1,500 euros, meeting on Tuesday morning in Munich city center."

The second prompt delivers a well-thought-out, structured answer because AI is forced to proceed systematically. It can't just say "book a flight and a hotel" but must think through each aspect individually.

This decomposition technique works for a surprisingly wide range of task types:

  • Decision making: "Analyze the pros and cons, weigh them, and arrive at a justified recommendation."
  • Content creation: "First create an outline, then fill in each point, then revise the text."
  • Problem solving: "Identify the core problem, analyze the causes, develop solutions, evaluate them."
  • Research: "First gather facts, check for contradictions, organize information thematically, and summarize."

The core idea is always the same: you force AI to take one step at a time instead of trying everything simultaneously. This dramatically reduces errors.

Avoiding errors through explicit thinking

AI models make mistakes. That's a fact you need to accept. But Chain-of-Thought prompting significantly reduces these errors and, most importantly, makes them visible. Here are the most common error types and how Chain-of-Thought helps against them:

Logic errors: AI draws an incorrect conclusion. When the thinking path is visible, you see exactly where the logic breaks. You can say: "In Step 3, you assumed that X also means Y, but that's not true."

Calculation errors: For mathematical tasks, AI occasionally miscalculates. With visible intermediate steps, you can verify each calculation step individually.

Assumption errors: AI makes an assumption that doesn't apply in your case. When it must reveal its assumptions, you can intervene immediately: "No, that's not correct. In my case, the following applies..."

Omission errors: AI forgets an important aspect. The step-by-step approach makes it more likely that all aspects are covered because each step triggers the next.

A particularly effective trick: ask AI to perform a self-check at the end of its thinking process. For example: "After reaching your conclusion, review your own solution. Are there errors in your logic? Did you overlook anything? Are there edge cases you didn't consider?" This self-reflection catches a surprising number of errors.

The structured variant: Templates for Chain-of-Thought

For advanced users, pre-built templates that you can reuse are incredibly valuable. Here are three proven templates for different scenarios:

Template 1: Analysis and Recommendation

"Analyze the following topic: [TOPIC]. Proceed as follows: Step 1: Capture all relevant facts and information. Step 2: Identify the most important aspects and their relationships. Step 3: Evaluate the aspects according to [CRITERION]. Step 4: Develop a well-founded recommendation with reasoning. Step 5: Name potential risks and limitations of your recommendation."

Template 2: Creative Problem Solving

"I have the following problem: [PROBLEM]. Please solve it with this approach: 1. Reformulate the problem in your own words to ensure you understand it correctly. 2. Identify the core challenge. 3. Develop at least three different solution approaches. 4. Evaluate each approach with pros and cons. 5. Recommend the best approach and justify your choice."

Template 3: Decision Making

"I'm facing the following decision: [DECISION]. Help me by proceeding as follows: 1. Clarify the decision situation and identify all options. 2. List the relevant criteria for the decision. 3. Rate each option against each criterion on a scale of 1 to 10. 4. Create an overall rating. 5. Formulate a clear recommendation with justification. 6. Name the single most important factor that could tip the decision."

You can use these templates as starting points and adapt them to your needs. Over time, you'll develop your own templates perfectly tailored to your typical tasks.

Chain-of-Thought in everyday life: Practical examples

Let's look at how Chain-of-Thought can be applied in various everyday situations:

Example 1: Financial Decision

"I'm considering whether to buy an apartment or continue renting. My current rent is $1,500 per month including utilities. The apartment I'm interested in costs $350,000. Please work through this step by step: 1. Calculate the monthly costs of buying (mortgage payment, additional costs, maintenance reserve). 2. Compare the monthly burden with current rent. 3. Consider the long-term perspective (appreciation, rent increases). 4. Create an overall assessment. Assumptions: 6.5% interest rate, 20% down payment, 30-year mortgage."

Example 2: Health Decision

"I'm 35 years old and want to get fitter. I have 3 hours per week for exercise. Analyze step by step: 1. What fitness goals are realistic in this timeframe? 2. What types of exercise fit my time budget? 3. Create a weekly plan. 4. What are the most common mistakes beginners make? 5. How can I measure progress?"

Example 3: Career Development

"I've been working as a marketing manager for 5 years and am considering specializing in data analytics. Think step by step: 1. What skills do I already bring? 2. What am I still missing? 3. How long would retraining take? 4. What's the job market like? 5. What alternatives exist? 6. Arrive at a well-founded recommendation."

In each of these examples, the Chain-of-Thought approach forces AI to think thoroughly instead of giving superficial advice. The result is always a significantly more thoughtful, nuanced, and useful answer.

Hands-on exercise: Solving a decision problem

Now it's your turn. In this exercise, you'll apply Chain-of-Thought prompting to a real decision problem. You can use this example exactly as is or replace it with a topic that's currently on your mind.

Your starting prompt:

"I'm facing the following decision: Should I keep my current job with a secure salary or accept an offer from a startup that offers less base salary but equity and more creative freedom? My situation: 38 years old, married, one child (age 4), homeowner with a mortgage. Work through this decision step by step: 1. Identify all relevant decision criteria. 2. Evaluate my current situation against each criterion. 3. Evaluate the startup option against each criterion. 4. Consider risks and best-case and worst-case scenarios. 5. Arrive at a nuanced recommendation."

Deep dive after the first response:

After receiving the answer, ask AI for a self-review:

"Review your own analysis. Did you forget important criteria? Are there hidden assumptions in your assessment? Which one aspect might you have over- or undervalued?"

Closing with action steps:

"Based on your entire analysis: What are the three concrete steps I should take next, regardless of which way I decide?"

This three-part exercise shows you how Chain-of-Thought prompting systematically works through a complex decision problem. You'll be surprised how much more thorough and nuanced the answers become compared to a simple "What should I do?"

Your thinking toolkit: Key takeaways

In this article, you've learned one of the most powerful prompting techniques. Here are the core points you should take away:

Chain-of-Thought prompting works because it forces AI to externalize its thinking process. Each written thought improves the next. The technique is especially valuable for mathematical tasks, logical reasoning, complex decisions, and multi-step problems.

The simplest form is adding "Think step by step" to the end of your prompt. The most powerful form is the structured variant with numbered thinking steps. Breaking complex tasks into sub-steps dramatically reduces errors. And requesting a self-check at the end catches mistakes that would otherwise slip through.

Remember: you're not just a client demanding a result. You're a thinking partner who shapes the path to get there. The better you guide AI, the more impressive the results will be. Chain-of-Thought is your tool for unlocking AI's full potential. Try the exercise and experience the difference for yourself.

Autor

Sebastian Rydz

Das OptiPrompt Team teilt Wissen und Best Practices rund um KI und Prompt Engineering, um dir zu helfen, bessere Ergebnisse mit KI-Modellen zu erzielen.

Bereit, deine Prompts zu optimieren?

Erstelle mit OptiPrompt professionelle Prompts in Sekunden – kostenlos starten.