Skip to content
BENIBIX Learn

CLAUDE_CODE_DISABLE_NONESSENTIAL_TRAFFIC

AI⌨️ Claude CodeConfiguration

Also known as CLAUDE_CODE_DISABLE_NONESSENTIAL_TRAFFIC=1

Any value cuts each call Claude Code can do without.

Think of it like

It is like you unplug all the gadgets in the house. Only the fridge stays on.

Example

Jack's firewall allows only the model's address. Every other call failed slowly. He sets this, and Claude Code stops trying them.

Why it matters

On a locked network, it ends slow failed calls. It is also the one switch for a strict privacy rule.

Definition

CLAUDE_CODE_DISABLE_NONESSENTIAL_TRAFFIC stops each call Claude Code can do without. That means updates, usage data, crash reports, /feedback, release notes and flags. Any value turns it on, even 0. Calls to the model still go out. A few things that need flags stop, such as Remote Control.

Example code

bash
export CLAUDE_CODE_DISABLE_NONESSENTIAL_TRAFFIC=1
claude
Keep only the calls to the model.
The right column stops every row.

Common mistake

Expecting Remote Control to keep working. It needs feature flags, which this turns off.

Key takeaways

  1. 1
    One switch for all. Updates, telemetry, reports.
  2. 2
    Model calls stay. Essential.
  3. 3
    Some features stop. Remote Control.

Compare