Ploba logo

Find the right AI tool for the job: apps, agents, APIs, MCP servers and datasets, explained plainly.

Get the AI Digest

Discover

  • Explore
  • Top Charts
  • Categories
  • Agents
  • MCP servers
  • Developer tools

Learn & community

  • Learn AI
  • AI Glossary
  • Blog
  • Hackathons
  • People
  • AI Digest

For makers

  • List your tool
  • Docs
  • Claim a listing
  • Advertise
  • Write for us

Company

  • About
  • Careers
  • Changelog
  • Trust
  • Security
  • Contact

© 2026 Ploba. All rights reserved.

  • Privacy
  • Terms
  • Cookies
  • Advertising
  • All policies
llms.txt
AI glossary
Generative AI

Chain-of-Thought

Also called CoT, Chain-of-thought prompting, Step-by-step reasoning

Asking or training an AI model to work through intermediate reasoning steps before giving its final answer.

What is chain-of-thought?

Chain-of-thought (CoT) is a way of getting an AI model to show its working. Instead of jumping straight to an answer, the model writes out the steps in between, such as the sums in a word problem or the checks in a decision, and then gives its conclusion.

It started as a prompting technique: adding worked examples with reasoning, or simply asking the model to "think step by step", made models noticeably better at maths and logic. Today, reasoning models are trained to do this on their own before they answer.

How does it work?

A language model produces one token at a time, and each token can only build on what has already been written. Writing out intermediate steps gives the model more text to build on, so later steps can use earlier results instead of guessing the whole answer in one go. Problems that need several steps benefit most; simple lookups barely benefit at all.

What is it commonly confused with?

  • A faithful explanation. The written steps don't always reflect how the model actually reached its answer. A model can produce tidy reasoning for a wrong answer, or the right answer after flawed steps, so treat the chain as helpful, not as proof.
  • Prompt chaining. Prompt chaining splits a task across several separate requests; chain-of-thought happens inside one response.

Why does it matter?

Chain-of-thought improves accuracy on multi-step tasks, and it makes mistakes easier to spot because you can see where the reasoning went wrong. The cost is length: more output tokens mean slower and more expensive answers. With a reasoning model, adding "think step by step" usually helps little, because the model already does it.

Category
Generative AI
Last reviewed
Nov 3, 2026
Also called
CoT, Chain-of-thought prompting, Step-by-step reasoning

Sources

  • Wei et al.: Chain-of-Thought Prompting Elicits Reasoning in Large Language Models
  • Prompting Guide: Chain-of-thought prompting

Related terms

  • ModelsReasoning ModelAn AI model optimized to spend additional computation time generating intermediate steps before answering complex problems.
  • Generative AIPrompt EngineeringThe practice of designing, structuring, and refining inputs to get optimal outputs from AI models.
  • Generative AIFew-Shot PromptingIncluding a handful of worked examples in a prompt so the AI model can copy the pattern, format and tone you want.
  • Generative AIPrompt ChainingSplitting a task into a sequence of smaller prompts, where each step's output becomes the next step's input.
  • Generative AITokenThe basic unit of data—often a part of a word—that an AI model processes.

Read more on Learn

All articles
  • Illustration of a person typing a prompt into an AI interfaceAI Concepts · Sep 3, 2026What Is Prompt Engineering? A Practical Beginner’s GuideLearn the basics of prompt engineering. Discover practical tips for talking to AI models like ChatGPT and Claude to get better, more accurate results.