Building with extended thinking - Claude Docs
Example: Passing thinking blocks with tool results Tool use without interleaved thinking Tool use with interleaved thinking System prompt caching (preserved when thinking changes) Messages caching (invalidated when thinking changes) Example: Working with redacted thinking blocks
Configure manual extended thinking with a fixed budget_tokens budget on Claude models that support it, and migrate to adaptive thinking. Extended thinking in manual mode gives you direct control over how much Claude thinks. You set a thinking token budget on each request with thinking: {type: "enabled", budget_tokens: N}, and Claude thinks against that budget before it starts its final answer. Manual mode remains useful when your workload requires predictable latency or precise control over thinking costs. This page covers how to set and tune the budget, how manual mode interacts with…
related reading
- The "think" tool: Enabling Claude to stop and think \ Anthropicanthropic.com
- Prompting best practicesdocs.anthropic.com
- Claude Code Cheat Sheetcc.storyfox.cz
- ClaudeLog - Claude Code Docs, Guides, Tutorials & Best Practicesclaudelog.com
- Tracing the thoughts of a large language model \ Anthropicanthropic.com
- Claude's extended thinking \ Anthropicanthropic.com
- Datacurve | The data engine for frontier AIdatacurve.ai
- As Rocks May Think | Eric Jangevjang.com
- The Shape of AI | UX Patterns for Artificial Intelligence Designshapeof.ai
- Chain-of-Thought Promptinglearnprompting.org
- Turn Claude From a Chatbot Into a Thinking Partner 🧠substack.com
- What's new in Claude Opus 5platform.claude.com