# DISABLE_INTERLEAVED_THINKING

> Set to 1, it stops thinking between tool calls.

**Field:** Artificial Intelligence  
**Category:** Claude Code  
**Also known as:** DISABLE_INTERLEAVED_THINKING=1

## Think of it like

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

## 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

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

## Example code

```bash
export DISABLE_INTERLEAVED_THINKING=1
claude
```

Drop the interleaved thinking beta.

## Why it matters

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

## Common mistake

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

## Three principles

- **Between tool calls.** Is what it stops.
- **A beta.** Not all offer it.
- **For providers.** That reject it.

## Related terms

- [CLAUDE_CODE_DISABLE_THINKING](https://learn.benibix.com/term/ai/claude-code-disable-thinking-variable)
- [ANTHROPIC_BETAS](https://learn.benibix.com/term/ai/anthropic-betas-variable)
- [CLAUDE_CODE_DISABLE_EXPERIMENTAL_BETAS](https://learn.benibix.com/term/ai/claude-code-disable-experimental-betas-variable)

---

Source: https://learn.benibix.com/term/ai/disable-interleaved-thinking-variable
Author: Behnia Zarei (a developer in Vienna, Austria, who builds and teaches data, AI and business intelligence at BENIBIX)
Publisher: BENIBIX Learn (https://learn.benibix.com/)
Last updated: 2026-11-17
Licence: CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/). Quote freely with attribution.
