Follow Discord
Sweep 06 Nov 2026 · 01:32Z Build v2.1.319 537 read Stable v2.1.311 Latest v2.1.318 Next v2.1.319 Feeds RSS JSON llms.txt llms-full.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

Use it now Notable New Features
JSON All of v2.1.273
Use it nowTier: how much it should matter to you
3Useful: my rating, 1 to 5
3Signal: worth watching, 1 to 5
InternalsArea: what it touches
New FeaturesKind: in v2.1.273,
What probably matters to youSection of the release

Unclear What the gateway hint headers are used for once sent is not stated.

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

Feedback