How it works · 20 of 37 Core

How do AI reasoning models think before answering?

Thinking before answering

Reasoning models: Some models write out hidden step-by-step working before the final answer, spending more compute at question time for better answers on hard problems.

Loading the animation…

Say it like this A reasoning model writes out its working before it answers: slower and more words, but far more often right on problems with several steps.

Under the hood — for builders
Where the habit came from
Show a model one worked example and it writes out its steps too.
How much it helped
Writing out steps tripled the maths problems solved, but only in very large models.
Today: trained to think
Reasoning models learn the habit by trial and reward, not from examples.
The reward
It was rewarded only for a right answer and for keeping its working inside thinking tags.
The cost of thinking
As it learned, its answers grew about 27 times longer: that is the extra computing.
Thinking to fit the question
It writes fewer word-pieces on easy questions and more on hard ones, but still overthinks some simple ones (Nature, Limitations).
Watch out
The reward needs answers a rule can check; for writing, a scoring model can be gamed (reward hacking).
Sources
Wei et al., Chain-of-Thought Prompting Elicits Reasoning in Large Language Models, NeurIPS 2022 · Guo et al., DeepSeek-R1 incentivizes reasoning in LLMs through reinforcement learning, Nature 645, 633–638 (2025).

What happens in the reasoning models animation, step by step?

Thinking off or on: Thinking off

  1. A word problem from a famous 2022 paper: two small steps. Your turn: tap your answer.
  2. Thinking off: the model answers at once. 27. Wrong: it squeezed two steps into one guess.
  3. Quick and cheap: four words, almost no time. Now switch thinking on.

Thinking off or on: Thinking on

  1. Thinking on: before answering, it writes the working on scratch paper, one line building on the last.
  2. Only now the answer: 9. Right. It took more time and many more words: more computing for a better answer.
  3. Reasoning models are trained to do this by themselves. Many apps hide the paper and just show "Thinking…".

What everyday example explains reasoning models?

Doing long division on scrap paper instead of blurting a number.

Why should a team care about reasoning models?

The "think longer" setting in current products.