AI glossary · Basic · Language models
CoT
CoT (Chain-of-Thought) is an approach in which an AI model does not answer immediately but reaches the answer by writing out its intermediate reasoning step by step.
About this term
- Level
- Basic · Technical terms you often meet in AI news
- Category
- Models & generation
- Fields
- Language models
- Added
- 2026-10-08
How it works
An LLM writes text one token at a time, choosing the next token based on what it has already written. So if it writes out intermediate steps first, that content becomes a stepping stone for solving the next step. Initially, CoT was elicited by adding a sentence such as 'Let's think step by step' to the prompt, or by showing examples that include worked solutions. Today's reasoning models are trained through post-training such as reinforcement learning to write long CoT on their own.
Why it matters
It often improves accuracy on problems that require multiple steps, such as math problems, logic puzzles and coding. Because a large problem is broken into smaller pieces, it reduces the mistakes that tend to occur when answering in one go. It is a representative method of test-time compute, which improves performance by spending more computation at answer time, and it is also the foundation of reasoning models. Another advantage is that people can read the reasoning and check where it went wrong.
Things to know
The longer the reasoning, the more tokens it uses, increasing cost and response time. For simple questions, the benefit is small or almost nonexistent. Plausible-looking reasoning can contain incorrect steps. Also, there is no guarantee that the written reasoning faithfully reflects the model's actual internal judgment, which makes this a topic of interpretability research. Some services show only a summary instead of the raw CoT.
Example
Chatbots that use reasoning models often show a 'thinking' indicator along with a collapsible view of the reasoning process, which is a typical example of CoT being made visible. With general models, you can get a similar effect by asking, 'Explain it step by step.'