Skip to content
BENIBIX Learn

DISABLE_INTERLEAVED_THINKING

AI⌨️ Claude CodeConfiguration

Also known as DISABLE_INTERLEAVED_THINKING=1

Set to 1, it stops thinking between tool calls.

Think of it like

It is like you ask a cook to plan once at the start. Not again at each step.

Example

Lucy's provider says no to this beta. She sets the variable, and her calls work again.

Why it matters

It keeps Claude Code working on a provider that does not offer this beta yet.

Definition

DISABLE_INTERLEAVED_THINKING set to 1 stops Claude Code asking for it. Interleaved thinking lets the model think between tool calls, not just at the start. It is a beta. Use this when your gateway or provider does not support it.

Example code

bash
export DISABLE_INTERLEAVED_THINKING=1
claude
Drop the interleaved thinking beta.

Common mistake

Turning it on with no need. The model then plans less well between tool steps.

Key takeaways

  1. 1
    Between tool calls. Is what it stops.
  2. 2
    A beta. Not all offer it.
  3. 3
    For providers. That reject it.