Source Intelligence

DisclaimerUnofficial, and not affiliated with Anthropic. Nearly all of this is read straight out of what ships: npm bundles, captured prompts, published docs. Anthropic's own notes go in verbatim, marked as theirs. The rest is my reading, and every entry carries the strings behind it. If one looks wrong, vote it down and say why.

All of v2.1.229 Home All releases olderv2.1.228 v2.1.231newer
Claude Code v2.1.229

1M-context models no longer suppressed on custom endpoints

Use it now
Useful4 Signal3
Models Notable

Subscription users on a custom base URL now see the 1M-context model variants again.

ANTHROPIC_BASE_URLCLAUDE_CODE_DISABLE_1M_CONTEXT[1m]
What

The [1m] long-context model variants were hidden from subscription accounts whose credit state disallowed extra usage. That credit check now applies only when you are talking to Anthropic's own endpoints or a local socket, so subscription users pointed at a custom ANTHROPIC_BASE_URL see the 1M variants offered. Setting CLAUDE_CODE_DISABLE_1M_CONTEXT still hides them everywhere.

Details
  • The first-party test is satisfied by ANTHROPIC_UNIX_SOCKET being set, or by the base URL being an Anthropic one.
  • On first-party endpoints behaviour is unchanged: cached extra-usage state still decides.
Evidence

CLAUDE_CODE_DISABLE_1M_CONTEXT

Strings lifted out of the shipped bundle, so the claim above can be checked against them.

See this entry in the whole of v2.1.229 →