Back to list

Tech Blog · AI Agents

[AI Agent Basics 3] AI that thinks longer: reasoning models

More and more "reasoning models" think through intermediate steps at length before answering. We explain why writing out the working raises accuracy, the limits that remain, such as arithmetic mistakes and overthinking, and where they fit in process work.

Jun 16, 2026 · OPTI-X

Basics series “How AI Agents Are Built” · Part 3

People, too, do not answer hard problems right away; they write out the working on paper. Around 2022, it became known that language models are the same. If you have the model write out its working before the answer, accuracy goes up. This is called chain-of-thought.

Writing out the working raises accuracy

In 2022, a Google team (Wei et al.) placed eight examples with worked solutions in front of each question. With that, the 540-billion-parameter PaLM model went from 17.9% to 56.9% accuracy on grade-school math word problems (GSM8K). It also beat the previous best (55%), which came from a model trained specifically for this task.

Accuracy when the model writes out its working

PaLM, 540 billion parameters, grade-school math word problems (GSM8K) · The calculator only recomputes the equations in the working

Answer directly
17.9%
Write out the working (chain-of-thought)
56.9%
Working + external calculator
58.6%
Source: Wei et al., Chain-of-Thought Prompting (NeurIPS 2022), Table 1, redrawn

The paper explains why: writing out the working lets the model break a multi-step problem into intermediate steps, so problems with more steps get more computation. As we saw in Part 1, the model reads the preceding tokens to produce the next one, so intermediate results written down become the basis for the next step.

This effect, however, appeared only in large models of roughly 100 billion parameters or more. Smaller models wrote fluent but illogical working and scored lower than when answering directly. Another study the same year (Kojima et al.) showed that, with no examples at all, simply adding the sentence "Let's think step by step" raised GSM8K accuracy from 10.4% to 40.7%.

From a prompting trick to a model capability

At first, it was a trick of adding a phrase like "Let's think step by step." Later came reasoning models, where the model itself is trained to carry out long intermediate reasoning on its own. For problems where the correct answer can be checked automatically (math, code), reinforcement learning that rewards correct solutions is used.

DeepSeek-R1 in 2025 is a case where the training method was published. The team built up reasoning ability through reinforcement learning without human-written example solutions. There were only two rewards: whether the final answer was correct (checked against the answer for math, by running tests for code) and whether the working was written inside the designated markers. As training went on, accuracy on American math competition problems (AIME 2024) rose from 15.6% to 77.9%, and the answers grew longer on their own.

Standard models vs. reasoning models

The difference: how much it computes before answering

Standard chat model
Reasoning model
How it answers
Answers right away
Reasons at length, then answers
Good at
Summaries, translation, writing documents
Math, code, multi-step planning
Speed and cost
Fast and cheap
Slow and expensive
Weakness
Mistakes in complex calculations
Overthinks even simple questions

Spending compute at "use time," not "training time"

Traditionally, model performance was determined by the compute and data used in training. Reasoning models raise performance by increasing the compute used when answering. Even the same model solves hard problems better when allowed to think longer.

Having the model write out the working several times and picking the most frequent answer (self-consistency) follows the same idea. This raised PaLM's GSM8K accuracy by 17.9 percentage points over a single chain-of-thought (56.5% → 74.4%). For DeepSeek-R1, adding a majority vote raised AIME 2024 accuracy from 79.8% to 86.7%.

How a reasoning model works through a problem

What happens behind the visible answer

  1. 1
    Break the problem downDecide the sub-questions needed and their order
    Sub-problems 1, 2, 3
  2. 2
    Try and checkVerify intermediate results, and go back if something is wrong
    Check passes → nextContradiction found → try again
  3. 3
    Organize the answerSummarize the final answer and its basis
    Final answer

Limits that remain, even with long thinking

First, arithmetic mistakes remain. When Wei et al. examined 50 wrong answers from one model (LaMDA, 137 billion parameters), 46% had nearly correct working but went wrong through a calculation error, a mix-up of symbols or one missing step. The other 54% misunderstood the problem or were incoherent.

Second, the written working may not be the real reason. A 2023 study (Turpin et al.) biased the input, for example by always placing the correct answer of the examples at (A). The models wrote working that justified wrong answers without mentioning that influence, and accuracy dropped by as much as 36%. Plausible working can make people trust an answer more than they should.

Third, the models overthink even simple questions. For "What is 2 plus 3?", reasoning models used on average 1,953% more tokens than conventional models, and one model repeated its solution 13 times. In the same study's math tests, more than 92% of correct answers were already reached in the first solution, and later solutions barely raised accuracy.

When to use them in process work

Reasoning models suit work that requires thinking through several steps. Examples are narrowing down alarm sequences, related measurements and possible causes in turn when asking about an equipment fault, or drawing up an analysis plan. On the other hand, using them for simple lookups or classification in operating logs only adds time and cost.

When reasoning models help and when they don't

A trade-off between cost/speed and accuracy

HelpsWork that takes several steps
Verifying calculations, fixing code, planning complex tasks
Doesn't helpWork where fast response matters
Simple lookups, classification, real-time responses
CautionLonger thinking can still make up facts
Reasoning helps logic but cannot create data that isn't there

It is hard to put a reasoning model directly into work that must respond within seconds, such as plant equipment control. It is, however, very helpful for drawing up analysis plans or designing experiments during model development. For calculations that need exact numbers, such as the total chemical dosing, recomputing the equations in the working with a calculator is more accurate.

Reasoning models raise accuracy by spending more time thinking, but calculation and fact-checking still have to happen outside the model. The DeepSeek-R1 paper itself lists, among its limits, that the model cannot use tools such as search engines and calculators. In the next part, we look at how AI came to use tools such as calculators and databases.

References

Could this work for your process?

Talk to us