{"version":"2.1.326","anchor":"login-success-message-warns-when-anthropic-api-key-is-still","canonical_anchor":"login-success-message-warns-when-anthropic-api-key-is-still","heading":"Signing in warns you when ANTHROPIC_API_KEY is still being used","tier":"notice","area":"Auth","scope":"individual","heads_up":false,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.326\/e\/login-success-message-warns-when-anthropic-api-key-is-still","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.326","markdown":"### Signing in warns you when `ANTHROPIC_API_KEY` is still being used\n\nAfter `\/login`, Claude Code now warns if requests will still use `ANTHROPIC_API_KEY` instead of the account you just signed in to\n\n**What**\n\n`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\".\n\n**Why**\n\nThis removes a confusing case where you sign in but your requests, and their billing, still go to the API key.\n\n- Area: Auth\n- Names: `ANTHROPIC_API_KEY`, `\/login`\n- Tier: You'll notice\n- Useful: 3\/5\n- Signal: 1\/5\n- Scope: individual\n- Heads-up: no"}