What Are Reasoning Models and How Do They Think Step by Step

A person working through a maths problem step by step on paper beside a laptop

What Are Reasoning Models and How Do They Think Step by Step

A person working through a maths problem step by step on paper beside a laptop

What are reasoning models and how do they think step by step? A reasoning model is an AI that writes out intermediate steps before giving its final answer.

It pauses, works through the problem on the page, and only then replies. That pause is why it gets hard questions right far more often than a chatbot that answers instantly.

The idea started in 2022, when researchers showed that asking a language model to show its work sharply improved its accuracy on maths problems.

OpenAI’s o1, released in September 2024, turned the trick into a product: a model trained to reason on its own. DeepSeek-R1 followed, and by late 2026 reasoning is the default in most leading AI assistants.

This guide explains why writing steps down helps a fixed-depth model, how reinforcement learning trains models to reason, what reasoning costs you in tokens and time, and how much you can trust the chain of thought you see on screen.

Key Takeaways

  • A reasoning model writes intermediate steps before answering, which gives it extra serial computation on hard problems.
  • Chain-of-thought prompting started as a 2022 technique and is now built into models trained with reinforcement learning.
  • Reasoning costs more: longer answers use more tokens, and you pay per token, so use reasoning where it helps.
  • The visible chain of thought is not a guaranteed account of why the model answered the way it did.
  • Reasoning helps most on maths, code and multi-step logic, and least on questions that need facts or taste.

A whiteboard covered in step-by-step reasoning diagrams and flowcharts
What a Reasoning Model Actually Does

A language model writes one token at a time. To pick each token, it runs all the text so far through its weights once, layer by layer.

Each of these runs does roughly the same amount of maths, whether the token is easy, like the word the, or hard, like the first digit of a total.

That creates a problem. If a model must answer a multi-step maths question in one shot, it has to land on the right number in the first tokens of its reply. All the multiplying, adding and remembering has to happen inside the model, where you cannot see it. The model often gets it wrong.

A reasoning model solves this by writing steps first. It works through the problem on the page, storing intermediate results as text. Each new token can then attend to the earlier steps, which acts like a growing working memory. The answer arrives at the end of a short trail of checkable steps.

Chain of Thought: The 2022 Finding That Started It

Chain-of-thought prompting was introduced in a 2022 paper by Jason Wei and colleagues at Google Research. They showed large language models a handful of worked examples in which the answer was preceded by a written reasoning trail, and the models imitated the format on new problems. No weights were changed, only the prompt.

The results were striking. Adding the instruction to think step by step lifted the model text-davinci-002 on the MultiArith maths benchmark from 17.7% to 78.7%. On GSM8K, a set of about 8,500 grade-school maths word problems, the PaLM 540B model reached 58% with eight worked examples, up from the previous best of 55%.

Variants followed quickly. Few-shot chain of thought shows worked examples, zero-shot chain of thought only asks for step-by-step reasoning, self-consistency samples several reasoning paths and picks the most common answer, and tree of thoughts explores branching lines of reasoning. All of them share the same insight: written steps help.

A laptop screen showing an AI assistant working through a problem in steps
Why Writing Steps Down Actually Helps

The best analogy is long division. You can often estimate a quotient in your head, but for a hard one you reach for paper. The paper does not make you smarter. It stores intermediate results so you do not have to hold them in working memory while doing the next step.

Language models have an equivalent constraint. A transformer passes each input through a fixed number of layers to produce one next token, which is a fixed amount of computation per token. A problem that needs ten dependent steps cannot be squeezed into a single pass through a shallow network.

Written steps break the problem into individually tractable sub-problems, each benefiting from the full context of prior steps. This is why chain of thought helps most on maths and logic, where each step depends on the last, and least on questions that need a single fact or a matter of taste.

From Prompting to Training: o1, DeepSeek-R1 and Beyond

The larger shift came when labs began training models to reason on their own. OpenAI’s o1 arrived in September 2024, followed by DeepSeek-R1, Claude 3.7 Sonnet with extended thinking, and Gemini 2.5’s thinking models in early 2025. These models are trained with reinforcement learning on checkable problems.

Reinforcement learning rewards attempts whose final answer checks out. DeepSeek-R1-Zero’s responses grew longer on their own during training, and the model started stopping partway to re-evaluate its approach. The training teaches the model to produce steps that lead to right answers, especially in maths and code.

By late 2026 this is the default. GPT-6 in ChatGPT can interleave thinking with answering and start responding before its reasoning is finished, and Anthropic’s Claude Opus 5.5 runs with adaptive thinking that cannot be switched off. Most products show a summary of the reasoning, not the raw chain.

The Cost Trade-Off: Reasoning Tokens Are Paid Per Token

Reasoning is not free. A reasoning model may spend hundreds or thousands of tokens thinking before it answers, and you pay per token on most APIs. A simple question that a standard model answers in fifty tokens can cost ten times more when a reasoning model thinks it through.

Time is the other cost. Reasoning models pause for seconds, sometimes much longer, while they work. That delay is fine for a hard problem, but it is wasteful for a question that needs a quick, simple answer. Some products let you choose a thinking effort level, so you can spend compute where it matters.

The practical rule is to match effort to difficulty. Use reasoning for maths, code, planning and multi-step analysis. Use a standard model for summaries, drafts and factual questions. Spending reasoning tokens on easy questions is like hiring an accountant to add two numbers.

Can You Trust the Chain of Thought You See?

The visible chain of thought is not a guaranteed account of why the model answered. A model can write plausible-looking steps that do not reflect its real internal process, and it can reach the right answer for the wrong reasons. The chain is a useful clue, not a transcript of its mind.

In July 2025, researchers from OpenAI, Anthropic, Google DeepMind and others published a position paper arguing that reading a model’s chain of thought is a useful but fragile way to detect intent to misbehave. They warned that training choices which make the chain less legible would weaken this safety tool.

Labs also guard the raw chain against copying. In November 2026, Anthropic extended preserved thinking to all API accounts, a feature that stops others from editing a model’s earlier context to extract its reasoning. Most products therefore show you a summary, not the raw steps the model actually produced.

Reasoning Models vs Standard Chatbots Compared

The table below compares reasoning models with standard chatbots on the dimensions that matter when you choose between them.

DimensionStandard ChatbotReasoning Model
How it answersDirect answer, one passWrites steps, then answers
Best forSummaries, drafts, factsMaths, code, multi-step logic
Accuracy on hard problemsLower, often confident and wrongMuch higher with enough thinking
SpeedFast, near-instantSlower, pauses for seconds
CostFew tokens per answerMany tokens, paid per token
Visible reasoningNoneSummary, not raw chain
Trust in the stepsNot applicableUseful clue, not proof

Framework: When to Use a Reasoning Model

Use this framework to decide whether a question deserves reasoning effort or a fast answer.

  1. Count the steps: if the question needs three or more dependent steps, use a reasoning model.
  2. Check the stakes: if a wrong answer is costly, spend the extra tokens and time on reasoning.
  3. Look for checkable answers: maths, code and logic benefit most, because the model can verify its own steps.
  4. Skip reasoning for facts: if the question needs a fact you do not know, search instead of thinking harder.
  5. Skip reasoning for taste: drafts, style and opinions do not improve with more thinking time.
  6. Verify the answer yourself: re-check the final step, run the code, or redo the maths on easy cases.
  7. Watch the bill: track token use on reasoning models, and lower the effort level when the task is easy.

Frequently Asked Questions

What is a reasoning model in simple terms?

A reasoning model is an AI that writes out intermediate steps before giving its final answer. It works through a problem on the page, storing results as text, and only then replies. This helps most on maths, code and multi-step logic, where each step depends on the last.

What is chain of thought in AI?

Chain of thought is a sequence of intermediate reasoning steps that a language model produces before its final answer. It started in 2022 as a prompting technique, when researchers showed that worked examples improved accuracy sharply. It is now built into reasoning models through training with reinforcement learning.

Why do reasoning models cost more?

Reasoning models spend many tokens thinking before they answer, and you pay per token on most APIs. A simple question can cost ten times more when a reasoning model thinks it through. The extra cost buys accuracy on hard problems, so use reasoning where it helps and a standard model elsewhere.

Is the chain of thought the model’s real thinking?

Not necessarily. The visible chain of thought is a useful clue, but it is not a guaranteed account of why the model answered the way it did.

A model can write plausible steps that do not reflect its real process. Researchers warn that the chain is a fragile safety tool, not a transcript of the model’s mind.

When should I use a reasoning model instead of a chatbot?

Use a reasoning model for maths, code, planning and multi-step analysis, where accuracy matters and the answer is checkable. Use a standard chatbot for summaries, drafts and factual questions, where speed and low cost matter more. Match the effort to the difficulty of the task.

What is test-time compute?

Test-time compute is the extra computation a model spends at answer time, rather than during training. Reasoning models use test-time compute by writing long chains of thought before answering. Spending more compute on harder questions is the core idea behind reasoning models, and it trades time and tokens for accuracy.

Conclusion

Reasoning models work because writing steps down gives a fixed-depth model extra serial computation. The 2022 chain-of-thought finding, the reinforcement learning training behind o1 and DeepSeek-R1, and the test-time compute trade-off all point the same way: slow, visible reasoning beats fast guessing on hard problems.

Use reasoning where it helps, verify the answer yourself, and remember that the visible chain is a clue rather than proof.

To understand why chatbots sometimes invent facts, read our guide on what is AI hallucination and why chatbots make things up. For a wider view of AI capabilities, see what is multimodal AI and why it matters. And for AI in science, read AI in drug discovery.

on this page