Skip to content
BENIBIX Learn

CLAUDE_CODE_DISABLE_THINKING

AI⌨️ Claude CodeConfiguration

Also known as CLAUDE_CODE_DISABLE_THINKING=1

Set to 1, it leaves the thinking field out of each request.

Think of it like

It is like you leave a box blank on a form. It does not mean no.

Example

Emma's proxy failed every request with an error about thinking. She set this, and the requests went through.

Why it matters

Some proxies reject fields they do not know. This lets Claude Code work through them.

Definition

CLAUDE_CODE_DISABLE_THINKING set to 1 leaves the thinking field out of each request. It is for a proxy that rejects that field. It does not turn thinking off. A model that thinks by default may still think. To ask for no thinking, set MAX_THINKING_TOKENS to 0.

Example code

bash
export CLAUDE_CODE_DISABLE_THINKING=1
claude
Stop sending the thinking field to a strict proxy.
This path sends no field at all.

Common mistake

Using it to save money on thinking. It does not turn thinking off. Use MAX_THINKING_TOKENS=0 for that.

Key takeaways

  1. 1
    Leaves the field out. Of every request.
  2. 2
    For strict proxies. That reject it.
  3. 3
    Not an off switch. Use 0 tokens.

Compare