EN

Language

Our editions

Written for each audience, not translated word for word.

Reasoning models: what thinking tokens are and what they cost

ExplainerBy Lucas Matías García TorresUpdated Data checked 5 min read

Reviewed by Lucas Matías García Torres on . How we work.

Leer en español

A 3D lattice of thin steel lines and nodes with a few pathways lit in orange, like a neural network

Short answer

A reasoning model, on October 23, 2026, is a language model that spends tokens working through a problem before it writes the answer. OpenAI, Anthropic, Google and DeepSeek all bill those reasoning tokens as output tokens, even when you only see a summary or nothing at all, and OpenAI recommends reserving at least 25,000 tokens for reasoning and output. Each API lets you set how much the model thinks (effort or thinking level), but not every model can switch it off: Claude Opus 5.5 cannot, Claude Haiku 5.5 can.

Prices and limits change often: check the vendor's page before you pay. How we make money.

A reasoning model is a language model that works through a problem in tokens before it writes the answer you see. OpenAI's guide says reasoning models "use internal reasoning tokens before producing a response", and Anthropic describes Claude restating the question, trying approaches, checking intermediate results and abandoning paths "that do not hold up". The short version on October 23, 2026: this extra work helps on math, code, analysis and multi-step tasks, and you pay for it as output tokens even when the reasoning is hidden from you. This guide explains how it works in the OpenAI, Anthropic, Google and DeepSeek APIs, what it costs and how to control it, based on each vendor's documentation read on October 23, 2026.

What changes when a model reasons

Anthropic puts the problem well: "A model that answers in a single pass has to get everything right on the first try: no scratch work, no checking, no changing approach halfway through." A reasoning model gets that scratch work. It writes a first plan, tests it, notices a mistake and corrects course, and only then produces the final answer. The result is better on tasks where the answer depends on intermediate steps, which Anthropic lists as "math, coding, analysis, and long-running agentic work".

It is not a guarantee of truth. A model that reasons can still reason from a wrong premise, so the advice in our guide to model hallucinations still applies. And reasoning has a price in time and tokens, which is why every vendor now lets you choose how much of it you want.

Reasoning in four APIs

Table: reasoning controls by vendor (official documentation, checked October 23, 2026)

Item OpenAI Anthropic (Claude) Google (Gemini) DeepSeek
Main control reasoning.effort: values can include none, minimal, low, medium, high, xhigh and max, by model effort, with adaptive thinking that decides when and how much to think thinking_level: minimal, low, medium or high, by model thinking on by default at effort high; low, high or max
Example default gpt-5.5: medium Opus 5.5 and Haiku 5.5: medium gemini-3.8-flash: on, medium high
Can it be turned off? none on some models; GPT-6 Astra rejects it Haiku 5.5 yes (at effort high or below); Sonnet 5.5 only up-front thinking; Opus 5.5 no gemini-2.5-flash-lite is the only model listed as off by default yes, effort none or type disabled
Do you see the reasoning? no; you can request a summary a summary, only if you ask for it a summary, if you enable it yes, in reasoning_content
Billing output tokens output tokens, full thinking output plus thinking tokens not stated on the page we read

Two details explain most surprises. On Claude Opus 5.5, Sonnet 5.5 and Haiku 5.5, thinking "is already on and needs no configuration", and the thinking text is hidden by default (display is "omitted"). And what Claude, OpenAI and Gemini show you is a summary, never the raw chain of thought: Anthropic states that no setting "returns the raw chain of thought".

You pay for thinking you never see

This is the part that changes budgets:

  • OpenAI: reasoning tokens are not visible through the API, still take up the context window and are billed as output tokens. The max_output_tokens limit covers reasoning too, and if a response hits it, the status is incomplete, which can happen before any visible output is produced, so you can pay for reasoning and get no answer. OpenAI recommends "reserving at least 25,000 tokens for reasoning and outputs" when you start.
  • Anthropic: thinking tokens are "billed as output tokens, even when the thinking text isn't returned to you". With a summary, "You're charged for the full thinking tokens generated by the original request, not the summary tokens", so the billed count does not match what you see. The usage.output_tokens_details.thinking_tokens field tells you how many there were.
  • Google: "response pricing is the sum of output tokens and thinking tokens", billed for the full thoughts even when only a summary comes back.

As an illustration, an answer of 500 visible tokens that needed 4,000 tokens of reasoning is billed as 4,500 output tokens, nine times what you read. Our LLM API cost calculator lets you try your own figures, and the guide to what a token is explains the unit.

How to control depth and cost

  • Lower the effort first. Anthropic's advice for "Lower cost or latency" is to "lower effort first. It scales the whole response down, thinking included."
  • Set a hard ceiling with the token limit. In Anthropic's words, "Effort is soft guidance. max_tokens is a strict limit."
  • Leave room in the context window. Reasoning shares the window with your prompt and the answer, so a long document plus deep reasoning can run out of space. Our guide to context windows covers the arithmetic.
  • Keep settings stable when you cache. Anthropic notes that changing the thinking configuration between requests invalidates prompt cache breakpoints.
  • Older Claude budgets. Manual budget_tokens has a minimum of 1,024 tokens, Anthropic suggests 16,000 or more for complex tasks and batch processing above 32,000. It is deprecated on the 4.6 models and rejected from 4.7 on, where adaptive thinking replaces it.

Reasoning and tools

Reasoning matters most in agents, because the model can think between tool calls. Anthropic calls this interleaved thinking, and adaptive thinking does it automatically. It also means more state to carry: DeepSeek requires the reasoning_content of previous turns to be passed back in requests that use tools, or it returns a 400 error, and Gemini says that in stateless mode you "MUST" resend thought blocks exactly as received. With Claude's older manual mode, tool use only supports tool_choice set to auto or none. If you are building with tools, start with our explainer on function calling.

When a reasoning model is worth it

Use deeper reasoning for multi-step math, debugging, planning, analysis with many conditions and agent tasks. Use low effort, or thinking off where the model allows it, for classification, extraction, short rewrites and ordinary chat, where the extra output tokens and latency rarely change the result. Anthropic warns that higher budgets bring "diminishing returns that depend on the task", so the only reliable answer is to run your own prompts at two effort levels and compare quality, time and the billed output tokens.

What we checked

  • OpenAI: reasoning models use internal reasoning tokens before producing a response; reasoning tokens are not visible through the API, take up context window space and are billed as output tokens; reasoning effort values are model-dependent and can include none, minimal, low, medium, high, xhigh and max; gpt-5.5 defaults to medium; GPT-6 Astra does not support none (HTTP 400); OpenAI recommends reserving at least 25,000 tokens for reasoning and outputs; max_output_tokens includes reasoning and a response can be incomplete before any visible output; summaries are available with the summary parameter. (OpenAI, )
  • Anthropic: thinking improves math, coding, analysis and long-running agentic work; thinking tokens are billed as output tokens even when the text is not returned; with summarized thinking you are charged for the full thinking tokens, not the summary; no display setting returns the raw chain of thought; on Claude Opus 5.5, Sonnet 5.5 and Haiku 5.5 thinking is already on and display defaults to omitted; Haiku 5.5 accepts thinking disabled at effort high or below; Sonnet 5.5 rejects disabled and its lowest setting is between_tools; Opus 5.5 cannot turn thinking off; lower effort first to reduce cost; effort is soft guidance and max_tokens a strict limit; changing the thinking configuration invalidates cache breakpoints; manual extended thinking only supports tool_choice auto or none. (Anthropic, )
  • Anthropic extended thinking (manual mode): budget_tokens minimum of 1,024 tokens; start with 16,000 or more for complex tasks; use batch processing above 32k; deprecated on the 4.6 models and rejected (400 error) on Claude 4.7 and later; Claude Opus 5.5 and Haiku 5.5 default to medium effort; higher budgets have diminishing returns that depend on the task; usage.output_tokens_details.thinking_tokens reports reasoning tokens. (Anthropic, )
  • Google Gemini: models reason internally before responding; thinking is configured with thinking_level (gemini-3.8-flash on by default at medium with low, medium and high; gemini-2.5-flash-lite off by default); thought summaries are enabled with thinking_summaries; response pricing is the sum of output tokens and thinking tokens, billed for the full thoughts; in stateless mode thought blocks must be resent exactly as received. (Google, )
  • DeepSeek: thinking mode is enabled by default with effort high; effort can be low, high or max and none or type disabled turns it off; the chain of thought is returned in reasoning_content; in requests with tools, the reasoning_content of previous turns must be passed back or the API returns a 400 error; thinking mode ignores temperature, presence_penalty and frequency_penalty. (DeepSeek, )

What may change

  • Effort levels, defaults and which models can turn reasoning off change with every model release. This page is reviewed quarterly.
  • The 500 and 4,000 token example is an illustration, not a measurement: real reasoning lengths vary by task and model.

Frequently asked questions

What is a reasoning model?

A language model that produces internal reasoning tokens before its final answer: it plans, tries approaches, checks intermediate results and corrects itself. It helps most on math, code, analysis and multi-step tasks, and it costs more time and output tokens than answering in a single pass.

Are reasoning tokens billed?

Yes, as output tokens. OpenAI bills hidden reasoning tokens as output, Anthropic charges the full thinking tokens even when it only returns a summary, and Google prices responses as the sum of output and thinking tokens. The billed count can be many times the visible answer.

Can I see what the model was thinking?

Usually only a summary. OpenAI and Gemini return a summary if you request it, and Claude returns one only when you set display to summarized; no Claude setting returns the raw chain of thought. DeepSeek returns its reasoning in the reasoning_content field.

Can I turn reasoning off?

It depends on the model. DeepSeek turns it off with effort none, some OpenAI models accept effort none, and Claude Haiku 5.5 accepts thinking disabled at effort high or below. Claude Opus 5.5 cannot turn thinking off, and Claude Sonnet 5.5 can only switch off its up-front thinking.

How much context should I leave for reasoning?

OpenAI recommends reserving at least 25,000 tokens for reasoning and output when you start experimenting, because reasoning shares the context window with your prompt and the answer. If the output limit is reached first, you may pay for reasoning and receive no visible answer.

Sources

  1. Reasoning models (OpenAI API guide): reasoning tokens, reasoning effort values, context reservation and reasoning summaries, OpenAI. Accessed October 23, 2026.
  2. Thinking with Claude: adaptive thinking, effort, display options, billing of thinking tokens and turning thinking off, Anthropic. Accessed October 23, 2026.
  3. Extended thinking (manual mode): budget_tokens, model support, deprecation and usage reporting, Anthropic. Accessed October 23, 2026.
  4. Gemini thinking: thinking_level by model, thought summaries, pricing of thinking tokens and thought signatures, Google. Accessed October 23, 2026.
  5. Thinking mode (DeepSeek API guide): effort levels, reasoning_content and tool calls, DeepSeek. Accessed October 23, 2026.

Spotted an error or an outdated price? Tell us and we will fix it.

Change history

  • : First published. Checked against OpenAI's reasoning guide, Anthropic's thinking and extended thinking pages, Google's Gemini thinking guide and DeepSeek's thinking mode guide on October 23, 2026.

Next review: .

Part of our Language Models Explained guide.

Other topics