Subscription users on a custom base URL now see the 1M-context model variants again.
What's wrong with this entry?
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.
- The first-party test is satisfied by
ANTHROPIC_UNIX_SOCKETbeing set, or by the base URL being an Anthropic one. - On first-party endpoints behaviour is unchanged: cached extra-usage state still decides.
CLAUDE_CODE_DISABLE_1M_CONTEXT
Strings lifted out of the shipped bundle, so the claim above can be checked against them.