You'll noticeTier: how much it should matter to you
3Useful: my rating, 1 to 5
1Signal: worth watching, 1 to 5
AuthArea: what it touches
ImprovementsKind: in v2.1.326,
ImprovementsSection of the release
What
ANTHROPIC_API_KEY is an environment variable, a setting held by your shell, that holds an API key. When it is set, Claude Code uses that key instead of your subscription. After you run /login with the key still in use, the result now says "Signed in, but requests still use ANTHROPIC_API_KEY" and explains how to use the new login. Before, it always said only "Login successful".
Why
This removes a confusing case where you sign in but your requests, and their billing, still go to the API key.
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 sinceA small documentation edit on Best practices for Claude Code touched a line naming ANTHROPIC_API_KEY after this was published.* [`--bare`](https://code.claude.com/docs/en/headless#start-faster-with-bare-mode) skips your hooks, skills, plugins, MCP servers, and `CLAUDE.md` files from the repo and your home directory. It also doesn't use your claude.ai login: auth …best-practicessee the edit
Added sinceA small documentation edit on Get started with Claude Code in the cloud touched a line naming /login after this was published.If Claude Code's command menu shows `No commands match "/web-setup"`, or submitting `/web-setup` returns `Unknown command: /web-setup` or says it's unavailable, the command is hidden because a requirement isn't met. The cause is usually th…web-quickstartsee the edit
Confirmed sinceAnthropic's documentation has since written up /login, on Claude Code changelog.* Fixed an MCP server's long question being cut off after one row, text fields hiding long pastes with no sign, and a doubled divider line in `/plugin`'s options and `/login`'s Bedrock and Vertex stepschangelogsee the edit
Confirmed sinceAnthropic's documentation has since written up ANTHROPIC_API_KEY, on Beta.-H "Authorization: Bearer $ANTHROPIC_API_KEY" \api/betasee the edit
How sure we are
Two sources agreeTwo things we can check say the same as this entry.
Anthropic's documentation agreesAnthropic's documentation has since written up ANTHROPIC_API_KEY, on Beta.
Anthropic's release notes agreeFixed "Sign in with your Console account" in /login replacing your Claude subscription login when the browser sign-in used your Claude plan…