Bookmarks

Reasoning model

A language model that writes a long chain of reasoning before answering: it tries out options, checks its own work and only then gives the result.

Also: reasoning LLM, thinking model, chain-of-thought model

checked 18 Nov

All terms

An ordinary instruction-tuned model answers straight away. A reasoning model first spends hundreds or thousands of tokens “thinking” and only then writes its answer, so it copes better with maths, code and multi-step tasks, but it takes longer to respond and uses more tokens.

How it is obtained

The key technique is reinforcement learning on tasks whose answers can be checked automatically. In the DeepSeek-R1 paper (January 2025), the DeepSeek-R1-Zero model was trained on top of DeepSeek-V3-Base using the GRPO algorithm, with no preliminary fine-tuning on examples. The reward was rule-based: whether the final answer was correct and whether the format was respected, with the reasoning placed between <think> and </think> tags. As training went on, the model began to write ever longer reasoning on its own, go back over its steps and look for alternative ways to solve the problem.

What it looks like in practice

  • reasoning is produced in the same tokens as the answer and is paid for in time and memory: the longer it is, the more the KV cache grows;
  • the limit on reasoning length is called the thinking budget: in Qwen3, when the reasoning reaches the limit, it is cut off and the model answers based on what has already been written;
  • in Qwen3-8B, a single set of weights supports both modes: the enable_thinking parameter in the chat template switches thinking on or off (on by default);
  • for simple questions (“the capital of France”), long reasoning only slows the answer down to no benefit.

Visible reasoning is not guaranteed to be an honest explanation of how the model reached its answer, and it can also contain mistakes and invented facts.

Sources

the term is written from these pages

Verified 18 Nov

Not to be confused with

what it is mixed up with and how it differs

  • base model and instruct model

    An instruction-tuned model answers straight away, whereas a reasoning model first writes a long chain of steps.

  • LLMlarge language model

    An LLM is the general class of models; a reasoning model is one variety of them, trained to think before answering.

In depth in the references

where the topic is covered in detail