Reasoning Models Explained: How LLMs Think First

You asked a hard question. The model answered in two seconds, sounded certain, and got the core of it wrong. You asked again with more detail, and the answer came back longer, slower, and wrong in a new way. That gap between fast and right is the whole subject of reasoning models, and the fix is not a bigger model. The fix is control over how long a model thinks before it speaks.

The Model Answered in Two Seconds and Got It Wrong

A standard language model writes its answer in one pass. It picks the next token, then the next, with no private space to plan, test an idea, or catch its own mistake. Short answers hide this weakness. Long, multi-step work exposes it. METR, an AI evaluation lab, measured the effect in plain terms: current models succeed on almost every task that takes a human professional under four minutes, and succeed under 10 percent of the time on tasks that take over four hours. The model is not lazy. It never had room to think.

Reasoning models add that room. Before producing a visible answer, the model generates hidden intermediate tokens: a plan, a few attempts, a check against its own work. You pay for those tokens in money, time, and context space, and you control how much of them the model may use. The rest of this article explains the mechanism, compares the three major providers, and gives you a repeatable way to set the dial for your own work.

Reasoning Tokens: The Scratch Paper You Never See

OpenAI calls the hidden work reasoning tokens. Anthropic calls it extended thinking, delivered as thinking blocks. Google calls it thinking, summarized for you in the response. The names differ, and the mechanics match: the model spends tokens on work you never read, then writes the final answer from the result. A single-pass answer has no scratch space. A reasoning model gets one.

That scratch space is separate from the sampling knobs you already know. Temperature and top-p shape how the model picks among probable next tokens. They change the flavor of an answer, not the amount of work behind it. Reasoning controls change the work itself: more thinking tokens mean more intermediate steps, more self-checks, and a longer wait before the first visible word. If you want the full picture on the sampling side, read the guide to temperature and top-p knobs that still matter before you touch the effort settings below.

Robot hand reaching toward glowing digital particles, a visual metaphor for an AI model working through a problem before it answers

I treat the effort control as a dial, not a switch. Low effort suits a quick extraction or a short summary. High effort suits a tangled debugging session or a plan with five dependent steps. The default in the middle suits most calls, and that is the point: you set the dial per task, and the model spends thinking where it earns its keep.

From Chain-of-Thought Prompts to RL-Trained Reasoners

The idea started as a prompting trick. In 2022, researchers showed that asking a 540-billion-parameter model to spell out intermediate steps, with only eight worked examples, reached state-of-the-art accuracy on GSM8K, a grade-school math benchmark. The paper gave the field a name for the trick: chain of thought. Prompting could coax reasoning out of a model, and the gains were large enough that every lab paid attention.

OpenAI productized the trick first with its o-series models, which reasoned by default and exposed an effort setting to the API. Then DeepSeek-R1 showed a second path: pure reinforcement learning, with no human-written reasoning traces, could train a model to reason on its own. The model learned to check its work because the training reward favored correct final answers, and the intermediate steps emerged along the way. That result matters for buyers. Reasoning stopped being a feature of one product line and became a property any lab could build.

Capability kept climbing while the interfaces converged. METR tracked the trend across six years of frontier models and found the length of tasks agents complete at 50 percent reliability doubling about every seven months. Longer thinking windows explain part of that climb. Every major provider now ships an effort or thinking control, and the controls look more alike each year: a level name, a default, and a bill for the tokens spent thinking.

OpenAI, Anthropic, and Google: Reasoning Controls Compared

Three providers, three dialects for the same dial. OpenAI exposes reasoning.effort with levels from none to max, and gpt-5.5 defaults to medium. Anthropic moved to adaptive thinking with an effort setting, and retired the manual token budget: Claude 4.7 and later models reject the legacy budget_tokens parameter with a 400 error. Google leans on dynamic thinking, where Gemini adjusts effort to the request unless you set thinking_level yourself.

ProviderControlLevelsDefaultNotes
OpenAIreasoning.effortnone, minimal, low, medium, high, xhigh, maxmedium (gpt-5.5)Reasoning tokens bill as output tokens; reserve at least 25,000 tokens for reasoning plus output
Anthropiceffort (adaptive thinking)low, medium, highhigh on most models; medium on Opus 5.5 and Haiku 5.5Legacy budget floor was 1,024 tokens; start complex tasks at 16,000 or more; Claude 4.7 and later reject manual budgets
Googlethinking_levellow, medium, high, xhighdynamic by default; high on Gemini 4 Neon and HydrogenInput, thinking, and output share one 1M-token window (1,048,576 tokens)

The pattern across the table is the useful part. Defaults sit in the middle or high, manual budgets are fading, and every provider bills thinking as output. Learn one control well and the other two feel familiar. The official references sit behind the links in this section: the OpenAI reasoning guide, the Anthropic extended thinking docs, the Anthropic effort docs, and the Google thinking docs.

What Thinking Costs in Tokens and Money

Thinking tokens are invisible and billable. Providers count them as output tokens, and they consume space in the same context window as your prompt and the final answer. A model may generate anywhere from a few hundred to tens of thousands of reasoning tokens on one call. OpenAI recommends reserving at least 25,000 tokens for reasoning and outputs when you start experimenting, and that number is a floor, not a budget: a hard problem on high effort blows past it.

The price math follows from that. Output tokens cost several times more than input tokens at every provider, so a call that thinks hard costs far more than a call that answers fast. A snapshot from the OpenAI pricing page puts gpt-6.2-astra at $8.00 per 1M input tokens and $40.00 per 1M output tokens. Treat those figures as a snapshot, not a quote: prices move, and the pricing page is the only number that counts on the day you ship.

ModelInput per 1M tokensOutput per 1M tokens
gpt-6.2-astra$8.00$40.00

Cost is only half the bill. Latency is the other half: a high-effort call waits longer before the first visible token, and a long thinking trace delays the whole response. Cache behavior adds a third cost. Changing the thinking budget mid-conversation can invalidate cached prompt prefixes, so a conversation that was cheap turns expensive the moment you raise the dial. The fix for that specific leak is prompt caching to slash your LLM API bills, which only pays off when your budget stays stable across turns.

Does More Thinking Always Mean a Better Answer?

No, and the exceptions are practical enough to plan around. More thinking helps on multi-step work: a debugging session with a hidden root cause, a plan with dependent steps, a math problem that needs verification. More thinking adds little on extraction, classification, short summaries, and casual chat, where the first pass already has the answer. The cost curve is the giveaway. If doubling the effort doubles the bill and the answer stays the same, the extra thinking bought nothing.

Three failure modes show up often enough to name. First, truncation: a low max_output_tokens cap can cut the thinking trace short, and the model answers from an unfinished thought. Raise the cap before you raise the effort. Second, overthinking: a trivial prompt on max effort produces a long, hedged answer that reads worse than the short one. Third, budget churn: switching effort levels inside one conversation invalidates cached context and resets the reasoning state, so the model re-thinks work it already finished.

I keep a simple rule for the decision. Raise effort when the task has steps that depend on each other, when a wrong answer costs more than a slow one, or when your own tests show a gain. Leave effort low when the task is a lookup, a format change, or a short reply. The only way to know which side a task falls on is a test, and that is what the next section sets up. If you build that test, follow the guide to build LLM evals that catch real failures so the results mean something.

Next Steps: Set Your Defaults, Then Test Them

Start from the provider defaults and tune from evidence, not from vibes. The sequence below takes an afternoon and gives you settings you can defend.

  1. Set the defaults. Use medium effort on OpenAI, high on Anthropic, and dynamic thinking on Google. These defaults reflect what each lab ships to most users, and they are the right baseline for a first test.
  2. Collect ten real tasks from your own work: three hard ones, four medium ones, three easy ones. Use real prompts and real expected answers. A test built from invented tasks measures nothing.
  3. Run the set at low, medium, and high effort. Record accuracy, token counts, and latency for each run. Watch for the point where accuracy stops improving while cost keeps climbing. That point is your per-task setting.
  4. Lock per-task defaults in your code, not in your head. Extraction and classification stay low. Multi-step planning and code stay high. Everything else stays at the default until a test says otherwise.
  5. Re-check the level lists and the pricing page once a month. Effort levels, model IDs, and prices drift, and a setting that was optimal in spring can be wasteful by autumn.

Thinking also eats context, so watch the window as you raise effort. A long trace on a long conversation can squeeze the prompt itself, and that failure looks like a bad model when the window is full. The guide to why long context breaks AI coding agents explains the mechanics. Vendor benchmark numbers deserve the same skepticism: read how to read AI benchmarks without being fooled before you let a leaderboard pick your effort level.

Reasoning models changed the question you ask when a model fails. The question is no longer which model to buy. The question is how much thinking the task deserves, and whether your own tests back the answer. Set the defaults, run the sweep, and let the numbers pick the dial. I start every new task the same way, and the test results decide the rest.

Irfan is a Creative Tech Strategist and the founder of Grafisify. He spends his days testing the latest AI design tools and breaking down complex tech into actionable guides for creators. When he’s not writing, he’s experimenting with generative art or optimizing digital workflows.

Leave a Reply

Your email address will not be published. Required fields are marked *

You might also like
Speculative Decoding Explained: Faster LLM Output

Speculative Decoding Explained: Faster LLM Output

LLM Batch APIs: Cut Your AI Bill in Half

LLM Batch APIs: Cut Your AI Bill in Half

KV Cache Explained: The Hidden Memory Behind Every Chat

KV Cache Explained: The Hidden Memory Behind Every Chat

AI Model Distillation Explained: Small Models, Big Smarts

AI Model Distillation Explained: Small Models, Big Smarts

How to Read AI Benchmarks Without Being Fooled

How to Read AI Benchmarks Without Being Fooled

Temperature vs Top-P: Which LLM Knobs Still Matter?

Temperature vs Top-P: Which LLM Knobs Still Matter?