Follow Discord
Sweep 10 Nov 2026 · 02:18Z Build v2.1.322 539 read Stable v2.1.311 Latest v2.1.322 Next v2.1.322 Feeds RSS JSON llms.txt llms-full.txt Unofficial

Claude Code v2.1.266 ·

CLAUDE_CODE_USE_GATEWAY no longer selects gateway auth mode directly

Setting CLAUDE_CODE_USE_GATEWAY alone no longer switches Claude Code into gateway auth mode

You'll notice Removed
JSON All of v2.1.266
You'll noticeTier: how much it should matter to you
2Useful: my rating, 1 to 5
3Signal: worth watching, 1 to 5
Cloud GatewayArea: what it touches
RemovedKind: in v2.1.266,
RemovedSection of the release

Unclear the finding doesn't say what, if anything, now determines gateway mode instead, or whether another condition must accompany this variable

What

Claude Code picks an authentication provider internally, such as bedrock, vertex, mantle, firstParty or gateway. Previously, if none of the other provider settings matched, having the CLAUDE_CODE_USE_GATEWAY environment variable set was enough on its own to fall back to gateway mode. That fallback branch has been removed.

Why

Setting CLAUDE_CODE_USE_GATEWAY by itself will no longer cause Claude Code to use the Cloud gateway; anyone relying on that variable alone to select gateway mode should check what else is now required.

Read from
Names in the bundleCLAUDE_CODE_USE_GATEWAY
How sure we are
Something disagreesSomething we can check disagrees with this entry, or the writer said they could not settle it.
The writer flagged doubtthe finding doesn't say what, if anything, now determines gateway mode instead, or whether another condition must accompany this variable
Anthropic's release notes agreeFixed a 2.1.265 regression affecting LLM-gateway and proxy setups: the undocumented CLAUDE_CODE_USE_GATEWAY environment variable, previously…

See this entry in the whole of v2.1.266 →

Feedback