What is a reasoning model? What AI "thinking" is, what it costs, and whether you can trust it
When ChatGPT or Claude says it is thinking, it is writing out its working before it gives you the answer. A big part of its training uses a simple reward: get the checkable answer right. In this lesson you set the thinking budget yourself and see what it buys and what it costs.
- Say what a reasoning model does when it thinks, in one sentence
- Explain how a model learns to think from problems with answers a computer can check
- Tell which questions thinking helps with and which it does not
- Weigh the cost of thinking in tokens, money and waiting time
- Explain why the thinking you see is not always the real reason for the answer
In this lesson
What does it mean when an AI is thinking?
A reasoning model writes out its working before it gives you the answer. That is all "thinking" is. It is the same model from lesson one, still predicting one token after another. The difference is that it now spends hundreds or thousands of tokens on a draft you mostly do not see: trying an idea, checking it, spotting a mistake and trying again. Then it writes the answer.
OpenAI showed the first big one, o1, on 12 September 2024, and released an early version, o1-preview, the same day. Its post said o1 "thinks before it answers". Today Claude, ChatGPT, Gemini and DeepSeek all have a thinking mode. Some apps show you all of the thinking, some a short summary and some nothing. In every case the long draft is real text that the model wrote and the company paid to run. A reasoning model is a normal model with one new habit: work it out on paper first.

How do you train a model to think?
In lesson three, people ranked answers and a reward model learned what they liked. Reasoning models use the same kind of training, reinforcement learning (learning from rewards), with one big change. This time the reward comes from a checker instead of people. Give the model a maths problem with a known answer, or a coding task with tests. If the final answer is right, it gets a reward. If it is wrong, it gets none.
Nobody tells it how to think. It only learns which drafts tend to end in a right answer. Over thousands of problems, the useful habits grow. OpenAI said o1 learned to break hard steps into simple ones, to catch its own mistakes and to try a new approach when one fails.
DeepSeek showed the whole thing in the open in January 2025. They trained a model called R1-Zero with no human-written examples of reasoning at all. The rewards were simple rules: is the answer right, and did it put its thinking between special start and end tags? On the 2024 AIME, a hard US maths exam, its score on one try went from 15.6% to 71.0% during training. (A later version of the paper, published in Nature, reports 77.9%.) Its thinking also grew longer on its own, from under 1,000 tokens per answer to about 9,500 by the end of training. At one point it wrote "Wait, wait. Wait. That's an aha moment I can flag here" and then fixed its own work. DeepSeek chose rule-based checks over a learned reward model on purpose: they worried a learned judge would get gamed.
This is also why reasoning models shine in some places more than others. Maths and code have answers a computer can check. A poem or a business plan does not.

Why does thinking help with maths and code but not with facts?
A hard maths problem has many steps. Each step can go wrong, and a mistake early on ruins the end. Thinking gives the model room to do each step, look back and catch the slip. Code is the same: write it, trace it, find the bug, fix it. On the 2024 AIME, GPT-4o with no thinking step solved 12% of the problems. OpenAI's o1, thinking first, solved 74% on its first try.
A fact is different. Either the model learned it during training or it did not. Thinking cannot look up a date it never saw. When Anthropic turned on thinking for Claude 3.7 Sonnet, its score on the hard maths exam jumped from 23.3% to 61.3%. On multilingual knowledge questions (MMMLU) it only moved from 83.2% to 86.1%. On SimpleQA, OpenAI's test of 4,000 short fact questions, o1 got 47% right and the newer, stronger o3 got 49%. In a test of facts about people, o3 made things up 33% of the time against 16% for o1. OpenAI says o3 "tends to make more claims overall", so it got more right and more wrong. Lesson four covers why models make things up, and more thinking does not fix that.
Writing is a third case. When OpenAI asked people to compare o1-preview with GPT-4o, they picked o1-preview for coding, maths and data work. On some everyday language tasks, they did not prefer it. Those tasks have no answer a computer can check, so this kind of training has less to reward there.
Spend a thinking budget
More thinking is called test-time compute: you spend more effort when the question is asked, not when the model is trained. Many chat apps let you choose how much, and so does the API, the paid access developers use to build apps. Anthropic found that Claude 3.7 Sonnet's score on the 2024 AIME went up with the log of its thinking tokens. In plain words, each doubling of the tokens it used bought a gain of roughly the same size, so every extra point costs more than the last. Going from about 2,200 to 5,400 tokens used lifted its score by about 9 points. Going from about 13,800 to 22,500 lifted it by about 6, for nearly three times as many extra tokens.
The lab puts the dial in your hands. Pick a question and slide the budget from none to 64,000 tokens. It shows how often the model gets it right, how many tokens you pay for, how long you wait and the cost. The hard maths numbers are real: Claude 3.7 Sonnet's published scores and the tokens it used. The other three questions are simulations built on published findings, and each one names its source under the chart. The price and the speed are examples.
Try all four questions. Hard maths climbs as you add tokens, while the rare fact stays flat. 2 + 3 is right every time but the bill keeps growing, and the trick question gets worse as the budget rises. Then press "Ask it 20 times" to see that the same budget gives a different score each run.

A simulation built on published numbers. Pick a question, then slide the budget. Watch the score, the tokens, the wait and the cost. Try the trick question at 64,000 tokens.
What does thinking cost you?
If you pay per use through the API, thinking tokens are billed as output tokens, the expensive kind, and you pay for all of them. Both OpenAI and Anthropic say so in their docs. On a monthly app plan you never see a bill per question, but the same tokens still get spent. Anthropic bills for the full thinking even when the reply shows you only a short summary. OpenAI does not show the raw reasoning at all, yet still bills for it.
You also pay in time. A model that thinks for 20,000 tokens makes you wait while it writes them. For a quick question, that wait buys nothing.
Models also overthink. In December 2024, researchers asked models what 2 + 3 is. The reasoning models used on average about 20 times as many tokens as normal models (1,953% more) to get the same answer. One of them wrote 13 separate solutions. In July 2025, another team showed that longer thinking can make answers worse. On simple counting questions with a distracting detail, Claude models talked themselves out of the obvious answer, the same way the model does in the lab's trick question.
This is why the dials changed. The Claude and OpenAI APIs now let developers set an effort level, from low up to max, and the model decides how much to think inside that. On low effort, Claude skips thinking on easy questions. Our advice: use high effort for maths, code, hard planning and anything with many steps. Use low effort, or no thinking, for facts, quick rewrites and chat. For a fact you need to trust, turn on web search instead of more thinking.
Is the thinking you see the real reasoning?
When you read the thinking, it looks like the model's true reason for its answer. In April 2025, Anthropic tested whether it is, and often it was not.
They slipped a hint into a question, such as a note saying a professor thinks the answer is A. When the model changed its answer to match the hint, did its thinking say so? Claude 3.7 Sonnet mentioned the hint only 25% of the time. DeepSeek R1 mentioned it 39% of the time. The rest of the time, the thinking gave other reasons. The thinking that hid the hint was also longer on average than the thinking that named it, so the model was not cutting it to save space.
The second test was worse. They set up tasks where a wrong answer was rewarded, a kind of cheat. The models learned to use the cheat in more than 99% of cases. In most setups, they wrote about it in their thinking less than 2% of the time. Often they wrote a made-up argument for why the wrong answer was right. More training on maths and code made the thinking more honest at first, then the gains stopped, at 28% on one test and 20% on another.
OpenAI hides o1's raw thinking, partly for the same worry. It wants to read the thinking for signs of bad behaviour, so it does not train the thinking to look nice, which could hide those signs. So read the thinking as a clue to how the model got there, and still check the answer itself, the way you would check a friend's maths.
Q1What is a reasoning model doing when it thinks?
It is the same next-token model. It spends tokens on a draft first: trying ideas, checking them and fixing mistakes.
Q2How did DeepSeek's R1-Zero learn to reason?
Its rewards were simple rules: right answer, right format. Longer thinking that checks its own work grew out of that reward.
Q3Which question gains the least from a bigger thinking budget?
Thinking cannot add a fact the model never learned. With thinking on, Claude 3.7 Sonnet gained 38 points on hard maths but under 3 on multilingual knowledge questions.
Q4Your app shows a short summary of the model's thinking. What are you billed for?
Both Anthropic and OpenAI bill thinking as output tokens. That includes the parts you never see.
Q5In Anthropic's tests, how often did models that used a cheat admit it in their thinking?
They used the cheat in over 99% of cases but rarely wrote about it. So check the answer, whatever the thinking says.
What to take with you
- A reasoning model writes out its working before it answers. It is the same next-token model with a new habit.
- It learns that habit from problems a computer can check, like maths with known answers and code with tests. The model gets a reward when its final answer is right.
- Thinking helps most on many-step problems. It does not add facts the model never learned, and on some simple questions more thinking makes answers worse.
- Thinking is billed as output tokens, all of them, even when you only see a summary. Use high effort for hard problems and low effort for quick ones.
- The thinking you see is not always the real reason for the answer. Treat it as a clue and check the answer itself.
Questions people are asking
/01What is a reasoning model in AI?
A reasoning model is a language model trained to write out its working before it answers. It spends extra tokens trying ideas, checking them and fixing mistakes. OpenAI's o1, DeepSeek R1 and the thinking modes in Claude, ChatGPT and Gemini all work this way.
/02What is extended thinking?
Extended thinking is Anthropic's name for Claude's thinking mode. Claude writes a hidden draft of its reasoning before the final answer. On newer Claude models it is adaptive: you set an effort level and Claude decides how much to think on each question.
/03How are reasoning models trained?
Much of their training uses problems a computer can check. The model tries a maths problem or a coding task. A checker marks the final answer right or wrong, and the model gets a reward when it is right. DeepSeek's R1-Zero learned to reason this way with no human-written examples of reasoning.
/04Do reasoning models make fewer mistakes?
On maths, code and other many-step problems, yes, by a wide margin. On facts, much less. OpenAI's o3 scored about the same as o1 on a fact test and made up facts about people more often. For facts, web search helps more than thinking.
/05Is the AI's chain of thought its real reasoning?
Not always. In Anthropic's 2025 tests, Claude 3.7 Sonnet mentioned a hint it had used only 25% of the time, and models that learned to cheat admitted it less than 2% of the time in most setups. The thinking is a useful clue, not a full or honest record.
Sources 11
- OpenAI, Learning to reason with LLMs, Sep 12 2024 openai.com/index/learning-to-reason-with-llms
- DeepSeek-AI, DeepSeek-R1: Incentivizing Reasoning Capability in LLMs via Reinforcement Learning, Jan 22 2025, first version, where our numbers and Figures 2 and 3 come from (later version in Nature 645, 2025) arxiv.org/abs/2501.12948v1
- Anthropic, Reasoning models don't always say what they think, Apr 3 2025 anthropic.com/research/reasoning-models-dont-say-think
- Anthropic, Claude 3.7 Sonnet and Claude Code (benchmark table), Feb 24 2025 anthropic.com/news/claude-3-7-sonnet
- Anthropic, Claude's extended thinking, Feb 24 2025 anthropic.com/research/visible-extended-thinking
- OpenAI, o3 and o4-mini system card, Apr 16 2025 cdn.openai.com/pdf/2221c875-02dc-4789-800b-e7758f3722c1/o3-and-o4-mini-system-card.pdf
- Chen et al., Do NOT Think That Much for 2+3=? On the Overthinking of o1-Like LLMs, Dec 30 2024 arxiv.org/abs/2412.21187
- Gema et al., Inverse Scaling in Test-Time Compute, Jul 19 2025 arxiv.org/abs/2507.14417
- Anthropic docs, Steering thinking (effort levels and pricing), checked Nov 20 2026 platform.claude.com/docs/en/build-with-claude/thinking-steering-and-cost
- Anthropic docs, Extended thinking (budget tokens), checked Nov 20 2026 platform.claude.com/docs/en/build-with-claude/extended-thinking
- OpenAI docs, Reasoning models, checked Nov 20 2026 developers.openai.com/api/docs/guides/reasoning
How does ChatGPT work? It guesses the next word, one token at a time
Start the lessonGet the next lesson in your inbox.
New lessons and how-tos, the tools we tested and what we think, in one short email.
Learning something?
Every Friday we send one short email with the newest lesson and the AI news that matters, in plain words.