Sweep 19 Sep 2026 · 02:36Z Build v2.1.278 500 read Stable v2.1.267 Latest v2.1.278 Next v2.1.278 Feeds RSS JSON llms.txt Unofficial
Claude Code v2.1.273 ·

New gate for gateway hint headers on first-party surfaces

A new internal check decides when Claude Code sends extra gateway hint headers on first-party requests

TierUse it nowhow much it should matter to you
Useful3my rating, 1 to 5
Signal3worth watching, 1 to 5
AreaInternalswhat it touches
KindNew Featuresin v2.1.273,
Use it now Notable

A new internal check decides when Claude Code sends extra gateway hint headers on first-party requests

What

Claude Code has a new internal helper that decides whether to attach gateway hint headers to outgoing requests. It turns them on automatically if the CLAUDE_CODE_GATEWAY_HINT_HEADERS environment variable is set, or under another internal condition, turns them off entirely outside of "first-party" surfaces, and otherwise follows a feature flag.

Why

This is an internal request-routing detail; it does not change anything a user needs to do.

Read from
Names in the bundleCLAUDE_CODE_GATEWAY_HINT_HEADERS
Feature flag
tengu_splendid_sutton Not enough to say

Nothing here resolved what this flag was doing on this version, so nothing here should be read as on or off.

This account: no value returned · anonymous baseline: no value returned · compiled default in v2.1.273: off

These values were read against a different version of Claude Code, so treat them as the nearest reading available instead of one taken on this release.

Read once, for one account on one subscription tier, against v2.1.273. It isn't a statement about your account. What a flag value here can and cannot tell you

Since it was published

The entry above is what we published on the day. These lines were added later, as Anthropic's own pages caught up, and they sit beside the original rather than replacing it.

Added since A small documentation edit on Roll out an LLM gateway for your organization touched a line naming CLAUDE_CODE_GATEWAY_HINT_HEADERS after this was published. | `CLAUDE_CODE_GATEWAY_HINT_HEADERS` | Sends the [gateway hint headers](/docs/en/llm-gateway-protocol#gateway-hint-headers), which classify each request for routing and scheduling decisions at the gateway. Requires Claude Code v2.1.273 or … llm-gateway-rollout see the edit
Confirmed since Anthropic's documentation has since written up CLAUDE_CODE_GATEWAY_HINT_HEADERS, on Environment variables. | `CLAUDE_CODE_GATEWAY_HINT_HEADERS` | Set to `1` to send the [gateway hint headers](/docs/en/llm-gateway-protocol#gateway-hint-headers), such as `x-claude-code-request-class` and `x-claude-code-compaction`, on a custom proxy or a third-pa… env-vars see the edit
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 doubtWhat the gateway hint headers are used for once sent is not stated.
Anthropic's documentation agreesAnthropic's documentation has since written up CLAUDE_CODE_GATEWAY_HINT_HEADERS, on Environment variables.
Anthropic's release notes agreeAdded x-claude-code-request-class, x-claude-code-agent-type, x-claude-code-prev-tool-durations, x-claude-code-compaction and…
The name it cites is new in this buildNew in this build: CLAUDE_CODE_GATEWAY_HINT_HEADERS

See this entry in the whole of v2.1.273 →