Skip to content

Feature Request: Multi-Account Profile Support #20131

Description

@whykusanagi

Problem

Claude Code currently only supports a single authenticated account at a time. Users with multiple Claude accounts (e.g., an API-based billing account and a standard subscription account) must fully log out and re-authenticate each time they want to switch between accounts.

Use Case

Users may have multiple Claude accounts for different purposes:

  • API-based pricing account (primary usage)
  • Standard subscription account (backup/alternative)
  • Separate work/personal contexts

When hitting usage limits on one account, users would like to seamlessly switch to another account without going through the full authentication flow each time.

Requested Feature

Add support for multiple account profiles in Claude Code, allowing users to:

  • Configure multiple accounts (API keys, OAuth, subscriptions) with profile names
  • Quickly switch between profiles with a command or setting
  • Retain authentication state for all configured profiles
  • See which profile is currently active

Example Usage

```bash
claude profile add --name personal --type oauth
claude profile add --name work --type api
claude profile switch personal
claude profile list
```

Or through settings/configuration with a simple profile switcher.

Current Workaround Limitations

Current workarounds require either:

  • Manual logout/login cycle (time-consuming, loses context)
  • Complex `apiKeyHelper` scripts (only works for API keys, not OAuth/subscriptions)

Benefit

This would improve the developer experience for users managing multiple Claude accounts, whether for cost management, separate work/personal contexts, or failover when hitting rate limits.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions