Back to Blog

Claude Code thinking: turn it on, off, and see what it reasoned

Alex Kim
6 min read
Claude Code thinking: turn it on, off, and see what it reasoned

Last updated: November 22, 2026

TL;DR

Thinking in Claude Code is the reasoning Claude emits before it responds. On the newest models it's always on, and the effort level decides how much of it happens. Where your model allows it, you control thinking in three places (Anthropic's model configuration docs):

  • ⌨️ This session only: press Option+T on macOS or Alt+T on Windows and Linux.
  • ⚙️ Your default: run /config and toggle thinking mode. It's saved as alwaysThinkingEnabled in ~/.claude/settings.json.
  • 🌱 Environment: MAX_THINKING_TOKENS=0 turns it off.
  • 👀 To read it: thinking is collapsed by default. Press Ctrl+O for verbose mode.

Know which models let you turn it off

Check this first, because on most current models the switch isn't there. You can't turn thinking off on Opus 5.5, Sonnet 5.5, Haiku 5.5 or the Fable models. The toggle and the /config row show Thinking can't be turned off for them, and a saved alwaysThinkingEnabled: false or MAX_THINKING_TOKENS=0 has no effect. The saved setting applies again when you switch to a model that accepts it.

Those models use adaptive reasoning: the model decides on each step whether and how much to think, based on the effort level. Fable models, Sonnet 5 and later, Haiku 5.5, and Opus 4.7 and later always work this way.

Your modelCan you turn thinking off?What controls how much it thinks
Opus 5.5, Sonnet 5.5, Haiku 5.5, Fable modelsNoEffort level
Opus 5, Sonnet 5, Haiku 4.5 on the Anthropic APIYes, set by model IDEffort level, where the model supports it
Adaptive models on Amazon Bedrock or Microsoft FoundryThey may still think with it offEffort level

Opus 4.6 and Sonnet 4.6 have one more option, a fixed thinking budget, covered below.

One trap on the Anthropic API: aliases such as sonnet select models where you can't turn thinking off. To use a model where you can, such as claude-opus-5, claude-sonnet-5 or claude-haiku-4-5, set it by its ID.

Turn thinking on or off

For the current session

Press Option+T on macOS or Alt+T on Windows and Linux. It changes this session only.

As your default

Run /config and toggle thinking mode. Claude Code saves the choice as alwaysThinkingEnabled in your user settings:

{
  "alwaysThinkingEnabled": false
}

With an environment variable

MAX_THINKING_TOKENS=0 claude

MAX_THINKING_TOKENS=0 turns thinking off where the model allows it. Don't confuse it with CLAUDE_CODE_DISABLE_THINKING=1: that one only leaves the thinking parameter out of requests, as a compatibility option for proxies and gateways that reject it, and a model that thinks by default may still think (environment variables reference).

With thinking off on the Anthropic API, Claude Code sends effort high instead of a higher level to models it knows don't accept that combination, such as Opus 5. So turning thinking off can quietly lower your effort, too.

See what Claude reasoned

Claude Code collapses thinking by default. Press Ctrl+O to toggle verbose mode, and the reasoning shows as gray italic text.

On the Anthropic API, interactive sessions receive redacted thinking blocks by default. To have the full summaries when you expand them, add this to your settings:

{
  "showThinkingSummaries": true
}

The live token count beside the spinner, as in (10m 27s · ↓ 5.5k tokens), includes the turn's thinking along with its text and tool calls (Anthropic's cost docs). It's a quick way to see a long think happening without opening verbose mode.

Get more or less thinking without the switch

On adaptive models, effort is the dial that's left. Three ways to use it:

  • Change the effort level. /effort sets how much Claude reasons per step. Our effort levels guide covers each level and the default on each model.
  • Ask in words. If you want Claude to think more or less often than its level produces, say so in your prompt or in CLAUDE.md. The docs say the model responds to that guidance within its effort setting.
  • Raise one turn. Put ultrathink in a prompt for deeper reasoning on that turn only. Phrases such as "think", "think hard" and "think more" are passed through as ordinary text, not keywords. To turn the keyword off, set CLAUDE_CODE_DISABLE_ULTRATHINK=1 (v2.1.316 or later).

On Opus 4.6 and Sonnet 4.6: a fixed budget

These two models can drop adaptive reasoning for the older fixed budget. Set CLAUDE_CODE_DISABLE_ADAPTIVE_THINKING=1, then cap the budget:

CLAUDE_CODE_DISABLE_ADAPTIVE_THINKING=1 MAX_THINKING_TOKENS=8000 claude

Adaptive models ignore a nonzero MAX_THINKING_TOKENS, so on them, use effort instead.

What thinking costs

Thinking tokens are billed as output tokens, and you're charged for all of them, even when they're collapsed or redacted. The cost docs note that the default budget "can be tens of thousands of tokens per request depending on the model." For simple tasks, they suggest lowering effort with /effort or turning thinking off in /config where the model allows it. For seeing where a session's tokens go overall, our token usage guide walks through /usage and /context.

Frequently asked questions

How do I turn on thinking in Claude Code?

On Opus 5.5, Sonnet 5.5, Haiku 5.5 and the Fable models it's always on, and effort decides how much happens. On models that allow it, press Option+T on macOS or Alt+T on Windows and Linux for the session, or toggle thinking mode in /config to make it your default.

How do I turn off thinking in Claude Code?

Press Option+T or Alt+T, toggle thinking mode in /config, or set MAX_THINKING_TOKENS=0. None of these works on Opus 5.5, Sonnet 5.5, Haiku 5.5 or the Fable models, which show "Thinking can't be turned off". Lower the effort level there instead.

How do I see Claude Code's thinking?

Press Ctrl+O to toggle verbose mode, and the reasoning shows as gray italic text. On the Anthropic API, interactive sessions get redacted thinking blocks by default, so set showThinkingSummaries to true in settings to see the full summaries.

Does "think hard" still work in Claude Code?

Not as a keyword. Only ultrathink is recognized, and it asks for deeper reasoning on that one turn. Phrases like think, think hard and think more are passed to Claude as ordinary prompt text.

Do thinking tokens count against my usage?

Yes. Thinking tokens are billed as output tokens, and you're charged for every one generated, even when the thinking is collapsed or redacted. Lower effort, or turn thinking off where the model allows it, to spend less on simple tasks.

Make the reasoning count

Thinking spends tokens on working out what Claude doesn't already know. The less it has to rediscover each session, the more of that budget goes to the actual problem, which is why project knowledge belongs in files Claude can reload. Our guide to compound engineering with AGENTS.md shows how to build that up.

#claude-code#Extended Thinking#Effort#Token Usage#ai-agents
Free assessment

Stop guessing. Score your first workflow.

Score one workflow in about five minutes. Nine questions, a grade, and the specific gap holding it back - no call required.