Learning resourcesReviewed · Anthropic

Claude Thinking guide

Thinking is Anthropic's guide for developers using Claude's reasoning features, which add token costs and require settings that vary by model. It explains adaptive and manual thinking, readable summaries, tool calls, streaming, caching and context limits.

Researched 25 Nov 2026

In short.

Thinking is Anthropic's implementation guide for developers building Claude applications, where reasoning consumes paid tokens and introduces rules for handling conversation history. It explains how to configure thinking, control its visible summaries and preserve encrypted reasoning blocks across tool calls. The main engineering risks are incompatible model settings, altered conversation history, cache invalidation and accumulated context usage. The page provides implementation examples but no comparative benchmarks, measured latency or monetary pricing; runtime behavior has not been assessed.

Researched and written by an AI model and checked by a second AI model. How it works

Coverage is the complete selected Thinking documentation page at [https://platform.claude.com/docs/en/build-with-claude/thinking.md], including its configuration tables, examples, compatibility restrictions and availability notices. Linked pages and image contents are excluded. The stable feature label, beta display-updates requirement, deprecated manual configurations and Covered Models exception for zero data retention are retained with their qualifications. API execution, SDK behavior, benchmarks, account eligibility, monetary pricing and production outcomes have not been assessed.

The overview

Resource identity

Thinking is a feature guide in Anthropic's Claude platform documentation. The original source address is [https://platform.claude.com/docs/en/build-with-claude/thinking.md], and the page identifies its web address as [https://platform.claude.com/docs/en/build-with-claude/thinking].

It documents a Claude API capability rather than a separate application or downloadable library. Coverage includes configuration, reasoning summaries, tool workflows, streaming, caching, context accounting and compatibility restrictions.

Practical assessment

The guide is useful when adding reasoning to a Claude integration or diagnosing unexpected costs, empty thinking blocks and configuration errors. Its model comparison table and conversation-preservation rules address decisions that directly affect whether requests succeed.

Anthropic describes thinking as beneficial for difficult coding, mathematics, analysis and extended agent tasks. The page supplies no benchmark methodology, accuracy measurements or cost comparisons, so the size of any benefit for a particular workload is unknown.

Who it helps

The primary audience is developers building Claude applications, especially assistants that call tools or maintain long conversations. Beginners get an explanation of thinking blocks and examples in several languages; experienced developers get details about encrypted signatures, streaming events, caching and model compatibility.

Using the examples requires familiarity with API requests, message roles and structured response blocks. Developers using Managed Agents should note that its thinking configuration is managed automatically and cannot be set through a thinking field in the agent definition.

What the guide covers

The page explains adaptive thinking, where Claude decides whether and how deeply to reason, and manual extended thinking, which uses an explicit token budget on supported models. It distinguishes the thinking mode from effort, which guides how much work the response receives.

Display options include summarized reasoning, omitted reasoning text and a beta updates mode that exposes short progress notes between tool calls while hiding reasoning summaries. The updates mode requires the thinking-display-updates-2026-08-18 beta header and applies to models that produce progress updates.

Additional coverage includes interleaved thinking between tool calls, redacted thinking blocks, streaming reconstruction, preservation across turns and models, prompt caching and output limits.

Using it

Access and prerequisites

The direct API examples require an Anthropic API key and access to the chosen model. They send requests to /v1/messages with the anthropic-version header set to 2026-10-21. Minimum SDK versions and account-specific model access are not established on this page.

The documentation lists support through the Claude API, Amazon Bedrock, Claude Platform on AWS, Claude Models on Google Cloud and Microsoft Foundry. Individual settings still depend on the model: newer models generally use adaptive thinking, while the listed Claude 4.5 models require manual extended thinking.

In the Messages API, applications configure thinking where the model permits it. Managed Agents always uses thinking and sets its configuration itself. The page limits interleaved thinking support to tools used through the Messages API.

How thinking works

When active, thinking lets Claude perform intermediate reasoning before its answer and, with supported tool workflows, between tool calls. Responses can contain thinking blocks before text blocks. Adaptive mode may skip thinking for a simple request, in which case no thinking block appears.

Visible thinking text is a summary generated by a separate model. No display setting exposes the raw internal reasoning. Each regular thinking block also contains an opaque signature carrying encrypted full reasoning; an omitted display leaves the readable field empty while retaining that signature.

A tool-use sequence remains one assistant turn until Claude finishes its response. Applications must return the accompanying thinking and tool-use blocks unchanged when supplying tool results, including any redacted_thinking blocks.

Configuration approach

Begin with the configuration table for the exact target model. The documented Claude Opus 5.5 example uses thinking type adaptive, display summarized and max_tokens 16000. Many newer models already enable adaptive thinking but omit readable summaries by default; the listed Opus 4.6, Opus 4.7, Opus 4.8 and Sonnet 4.6 models require adaptive thinking to be enabled explicitly.

Choose display according to the interface. Summarized returns readable reasoning summaries; omitted keeps their text hidden and, according to the page, reduces delay before final-answer text begins streaming. Neither option changes the charge for full reasoning. Updates exposes progress summaries on supported models with the required beta header.

For tool integrations, retain complete assistant responses and append tool results without modifying their thinking blocks. For streaming, use the SDK's message-accumulation helper to reconstruct complete blocks and signatures. Change thinking strategy between completed assistant turns; changing it during a tool loop can silently disable thinking.

Documented example

The page illustrates a request asking for the greatest common divisor of 1071 and 462. It selects claude-opus-5-5, allows 16000 output tokens and requests adaptive thinking with summarized display. The supplied illustrative response shows a Euclidean-algorithm summary followed by an answer of 21.

Its tool example describes a weather request that produces thinking and a tool call, receives a tool result and then completes the answer. The integration lesson is to return the original thinking and tool-use blocks alongside the result. These are documentation examples; actual request execution, response quality and timing have not been assessed.

Assessment & evidence

Compatibility and failure risks

Thinking settings are not interchangeable across models. Claude Opus 5.5 rejects disabled thinking and manual budget_tokens configuration. Claude Sonnet 5.5 uses between_tools to remove up-front thinking at high effort or below; that setting accepts no additional fields. Several other models allow disabled thinking, sometimes only at high effort or below.

Modifying returned thinking blocks can cause a 400 error. On models with preserved thinking, changes to system instructions, tool definitions or earlier messages can invalidate subsequent blocks through prefix checks. Switching models can drop unreadable reasoning, and some models bind blocks to their originating account or a linked account.

With API version 2026-10-21, supplying temperature, top_p or top_k at any value causes an error on every model. Response prefilling and forced tool use also have model-specific restrictions; for example, Opus 5.5 and Sonnet 5.5 reject forced tool choice.

The SDK requires streaming when max_tokens exceeds 21,333. Generation can stop at the context-window boundary, and long thinking requests can encounter networking limits. Output ceilings vary by model, so neither a large token allowance nor thinking itself guarantees a complete answer.

Interpreting reasoning output

Readable thinking can help explain an approach, but it is a generated summary rather than a complete record of internal reasoning. That distinction limits its usefulness as evidence that every intermediate step was correct. The final answer and any tool-produced changes still require task-appropriate verification.

An empty thinking field can be expected behavior under omitted display, while no thinking block can mean adaptive mode skipped reasoning. Progress notes are optional and can become less frequent at higher effort or during long tool chains. Their presence or absence does not establish that the underlying work succeeded.

Configuration alternatives

Within the documented Claude options, lower effort can reduce work while retaining adaptive thinking. Models that support disabled thinking offer another option for simple requests; Sonnet 5.5 instead offers between_tools, which suppresses up-front thinking while retaining tool-related progress updates.

Manual extended thinking with budget_tokens remains an option on supported older models, although the page marks that mode deprecated on Opus 4.6 and Sonnet 4.6. Summarized, omitted and updates are presentation choices rather than equivalent cost controls. Other providers and reasoning systems are not compared, so relative quality and value are unknown.

Evidence and its limits

The source is Anthropic's complete Thinking documentation page at [https://platform.claude.com/docs/en/build-with-claude/thinking.md]. It contains model configuration tables, API and SDK examples, illustrative response traces, compatibility rules and availability notices.

This is provider-authored documentation. Its behavioral descriptions and performance-benefit claims are not accompanied by independent measurements on the page. Runtime correctness, actual account availability, latency, monetary costs and production reliability have not been assessed. Linked documentation supplies potential follow-up material, but its contents are outside this source.

Access & freshness

Costs and resource use

All generated thinking tokens are billed as output tokens, even when readable thinking is omitted. Summarized output is also charged according to the full reasoning generated, so counting visible summary tokens will not reproduce the bill. Progress updates follow the same full-length accounting principle.

Current-turn thinking shares max_tokens with the answer. Lower effort is the page's first recommendation for reducing reasoning cost or latency; effort is guidance, while max_tokens strictly limits generated tokens. A low limit can leave insufficient room for the final answer.

On models that retain prior-turn thinking, those blocks subsequently consume context space and are billed as input, including when read from cache. Configuration changes can invalidate cached prefixes. The page provides no monetary token rates, representative workload costs or measured savings, so actual expenditure is unknown.

Rights and data handling

The page states no licence for redistributing the documentation or its example code and does not establish ownership terms for model outputs. Redistribution permission and applicable contractual terms are unknown from this source.

Thinking is described as eligible for zero data retention and HIPAA readiness. The zero-data-retention label explicitly excludes Covered Models identified on a linked page. That excluded-model list and the detailed eligibility conditions are outside this page, so eligibility for a particular model, account or workload is not established here.

Currency of the documentation

The documentation was captured on 25 November 2026 at 02:07:25 UTC. The page provides no publication or last-updated date. Its request examples use API version 2026-10-21.

The feature metadata labels thinking stable across the listed platforms, while display updates is explicitly beta and some older manual configurations are deprecated. Model defaults, supported settings and output ceilings are specific to this documentation snapshot; subsequent changes are unknown.

Practical next steps

Identify the exact model and API version before configuring thinking. Use the documented model table and Models API capability fields before exposing a thinking-off control. Set max_tokens to accommodate reasoning and the answer, then evaluate quality, output-token usage and latency on representative tasks.

Audit the tool loop for complete preservation of thinking, redacted thinking and signatures. On preserved-thinking models, examine any code that rewrites earlier messages, system instructions or tool definitions. Handle context-window and output-limit stops explicitly.

Choose omitted display when the interface does not need reasoning summaries, or beta updates when supported progress notes meet the interface's needs. Confirm pricing, account access and data-retention conditions separately before relying on them; those details are not established by this page.

Evidence for this report

selected-page.txtselected · checked 2026-11-25