Skip to content
Query Feedz
  • News
  • Business
    • Digital Marketing
      • Marketing & Sales
      • SEO
      • Content Marketing
      • AEO and GEO
    • Startups
      • Founder Stories
      • Funding & VC
      • Product & Growth
    • Money
      • Investing
      • Markets & Economy
      • Saving & Budgeting
  • AI & Technology
    • Technology
      • Consumer Tech
      • CRM
      • Cyber Security
      • Software Engineering
      • WordPress
      • Hardware
    • Artificial IntelligenceAI Glossary
      • LLMs
      • Machine Learning
      • AI Fundamentals
      • Generative AI
      • Deep Learning
    • AI Use Cases
      • Automation
      • Content
      • Customer Support
      • Finance
      • Marketing
      • View All
  • Tools & Software
  • Account
    • Submit Guest Post
    • Submit a tool
    • My listing
  • Contact
QueryFeedz
  • News
  • Business
    • Digital Marketing
      • Marketing & Sales
      • SEO
      • Content Marketing
      • AEO and GEO
    • Startups
      • Founder Stories
      • Funding & VC
      • Product & Growth
    • Money
      • Investing
      • Markets & Economy
      • Saving & Budgeting
  • AI & Technology
    • Technology
      • Consumer Tech
      • CRM
      • Cyber Security
      • Software Engineering
      • WordPress
      • Hardware
    • Artificial IntelligenceAI Glossary
      • LLMs
      • Machine Learning
      • AI Fundamentals
      • Generative AI
      • Deep Learning
    • AI Use Cases
      • Automation
      • Content
      • Customer Support
      • Finance
      • Marketing
      • View All
  • Tools & Software
  • Account
    • Submit Guest Post
    • Submit a tool
    • My listing
  • Contact
QueryFeedz
  1. Home /
  2. AI Glossaries /
  3. Generative AI /
  4. What is Chain-of-Thought Prompting?
Generative AI

What is Chain-of-Thought Prompting?

Updated September 21, 2026 Read 3 min

Chain-of-thought (CoT) prompting is a technique that asks an AI model to work through a problem in intermediate steps before giving its final answer, which improves accuracy on maths, logic and multi-step tasks.

Contents 11
  1. 01Key takeaways
  2. 02Chain-of-thought explained in simple terms
  3. 03A worked example
  4. 04Types of chain-of-thought prompting
  5. 05When chain-of-thought helps
  6. 06CoT and reasoning models
  7. 07Practical tips
  8. 08Limitations
  9. 09Common Use Cases
  10. 10Frequently Asked Questions
  11. 11Related Terms

Chain-of-thought (CoT) prompting is a technique that asks an AI model to write out intermediate reasoning steps before giving its final answer. Instead of jumping straight to a conclusion, the model works through the problem one step at a time. This often improves accuracy on maths, logic, planning and other multi-step tasks.

This page covers CoT as a prompting technique. For how AI systems reason more broadly, including reasoning models, see What is AI Reasoning?

Key takeaways

  • CoT was described in a 2022 Google research paper by Jason Wei and colleagues.
  • Few-shot CoT shows worked examples with reasoning; zero-shot CoT simply asks the model to think step by step.
  • Self-consistency samples several reasoning paths and picks the most common answer.
  • Many modern reasoning models perform step-by-step thinking automatically.
  • Written reasoning can still contain errors, and may not fully reflect how the model reached its answer.

Chain-of-thought explained in simple terms

A teacher asks students to “show your working” in maths exams. Writing each step makes mistakes less likely and easier to spot. Chain-of-thought prompting asks an AI to show its working too. Because language models generate text one token at a time, writing intermediate steps gives the model more room to compute before committing to an answer.

A worked example

Without CoT:

“A shop sells notebooks at ₹45 each. Priya buys 6 notebooks and pays with a ₹500 note. She also uses a ₹30 discount coupon. How much change does she get?”

A model answering directly might make a quick arithmetic slip.

With CoT:

Add: “Work through this step by step, then give the final answer on its own line.”

The model writes:

  • Cost of notebooks: 6 × 45 = ₹270.
  • After coupon: 270 − 30 = ₹240.
  • Change: 500 − 240 = ₹260.
  • Final answer: ₹260.

Each step is simple, so the chance of error falls, and a reader can check every line.

Types of chain-of-thought prompting

VariantHow it worksSource
Few-shot CoTInclude examples that show reasoning steps and answersWei et al., 2022
Zero-shot CoTAdd a phrase like “Let’s think step by step”Kojima et al., 2022
Self-consistencyGenerate several reasoning paths; take the majority answerWang et al., 2022
Least-to-mostBreak a problem into sub-problems solved in orderZhou et al., 2022
Tree of thoughtsExplore and evaluate multiple branches of reasoningYao et al., 2023

When chain-of-thought helps

  • Arithmetic and word problems.
  • Logic puzzles and rule application.
  • Multi-step planning and scheduling.
  • Analysing a document against criteria.
  • Debugging code or tracing causes of a problem.

It helps less for simple lookups, short factual questions or creative writing, where it mainly adds length and cost.

CoT and reasoning models

Newer “reasoning models” are trained to think step by step before answering, often using reinforcement learning, and may do this internally without being asked. With these models, explicit CoT instructions matter less, and some providers advise against over-prescribing the reasoning steps. For standard models, CoT prompting remains a useful tool.

Practical tips

  • Ask for reasoning, then a clearly separated final answer, so software can extract it.
  • For customer-facing apps, you may keep reasoning hidden and show only the answer.
  • Combine with few-shot examples for specialised tasks.
  • Use tools, such as a calculator or code, for precise computation instead of relying on text reasoning.
  • Verify important conclusions; convincing steps can still hide an error.

Limitations

  • Longer outputs increase cost and latency.
  • Reasoning can look logical but contain a wrong step.
  • The written chain may not faithfully reflect the model’s actual internal process.
  • Gains are larger for bigger, more capable models; small models may produce muddled reasoning.
  • Reasoning can include hallucinated facts used as premises.

Common Use Cases

01

Maths and calculations

Break down pricing, tax or budget calculations into checkable steps.

02

Policy and rule application

Apply eligibility or compliance rules step by step to a case.

03

Data analysis

Explain how a conclusion was reached from figures or tables.

04

Code debugging

Trace program logic line by line to find the cause of a bug.

05

Planning tasks

Build schedules or plans that satisfy several constraints.

06

Tutoring

Show students worked solutions that explain each step.

Frequently Asked Questions

A technique that asks an AI model to write out intermediate reasoning steps before giving a final answer.

Adding a simple instruction such as "Let's think step by step" to a prompt without examples.

No. It helps most on multi-step problems and with larger models, and adds little for simple tasks.

Generating several reasoning paths for the same question and choosing the most common final answer.

Less so. Reasoning models are trained to think step by step on their own, so explicit CoT instructions matter less.

Related Terms

  • AI Reasoning
  • Prompt Engineering
  • Few-Shot Prompting
  • Zero-Shot Prompting
  • Reasoning Model
  • Self-Consistency

Related AI Terms

What is AI Video Generation?AI video generation uses generative AI to create or modify video from text prompts, images, audio or existing…What is AI Voice Generation?AI voice generation is the use of generative AI to produce realistic human-sounding speech. It includes text-to-speech, voice…What is AI Hallucination?AI hallucination is when a generative AI model produces information that sounds plausible and confident but is false,…What is Text-to-Speech (TTS)?Text-to-speech (TTS) is technology that converts written text into spoken audio. Modern neural TTS uses deep learning to…What is Synthetic Media?Synthetic media is any image, audio, video or text that is generated or significantly altered by artificial intelligence.…What is Multimodal AI?Multimodal AI is artificial intelligence that can understand, combine or generate more than one type of data, such…

Contents

  1. 01Key takeaways
  2. 02Chain-of-thought explained in simple terms
  3. 03A worked example
  4. 04Types of chain-of-thought prompting
  5. 05When chain-of-thought helps
  6. 06CoT and reasoning models
  7. 07Practical tips
  8. 08Limitations
  9. 09Common Use Cases
  10. 10Frequently Asked Questions
  11. 11Related Terms

AI Topic

  • Generative AI

Related Terms

  • What is AI Video Generation?
  • What is AI Voice Generation?
  • What is AI Hallucination?
  • What is Text-to-Speech (TTS)?
  • What is Synthetic Media?
  • What is Multimodal AI?

Quick Navigation

  • Common Use Cases
  • Frequently Asked Questions
  • Related Terms
  • Back to top

Details

Updated
September 21, 2026
Read
3 min
  • Forum
  • Submit a tool
  • Submit Guest Post
  • List Your Startup
  • Privacy Policy
  • Editorial Policy
  • Account
  • Contact
  • AI Productivity
  • AI Video
  • AI Coding
  • AI Chatbots
  • Sales
  • AI Business
  • View All Tools

Subscribe our Newsletter

Get weekly exclusive content - No spam.

Copyright © 2026 -  Query Feedz

Manage Consent
To provide the best experiences, we use technologies like cookies to store and/or access device information. Consenting to these technologies will allow us to process data such as browsing behavior or unique IDs on this site. Not consenting or withdrawing consent, may adversely affect certain features and functions.
Functional Always active
The technical storage or access is strictly necessary for the legitimate purpose of enabling the use of a specific service explicitly requested by the subscriber or user, or for the sole purpose of carrying out the transmission of a communication over an electronic communications network.
Preferences
The technical storage or access is necessary for the legitimate purpose of storing preferences that are not requested by the subscriber or user.
Statistics
The technical storage or access that is used exclusively for statistical purposes. The technical storage or access that is used exclusively for anonymous statistical purposes. Without a subpoena, voluntary compliance on the part of your Internet Service Provider, or additional records from a third party, information stored or retrieved for this purpose alone cannot usually be used to identify you.
Marketing
The technical storage or access is required to create user profiles to send advertising, or to track the user on a website or across several websites for similar marketing purposes.
  • Manage options
  • Manage services
  • Manage {vendor_count} vendors
  • Read more about these purposes
View preferences
  • {title}
  • {title}
  • {title}