# Each profile dir is its own isolated credential store
mkdir ~/.claude-account1 ~/.claude-account2 # Aliases for shell use
alias claude-work="CLAUDE_CONFIG_DIR=~/.claude-account1 claude"
alias claude-personal="CLAUDE_CONFIG_DIR=~/.claude-account2 claude" # Each profile authenticates separately via /login
CLAUDE_CONFIG_DIR=~/.claude-account1 claude # OAuth login
CLAUDE_CONFIG_DIR=~/.claude-account2 claude # different OAuth login
# Each profile dir is its own isolated credential store
mkdir ~/.claude-account1 ~/.claude-account2 # Aliases for shell use
alias claude-work="CLAUDE_CONFIG_DIR=~/.claude-account1 claude"
alias claude-personal="CLAUDE_CONFIG_DIR=~/.claude-account2 claude" # Each profile authenticates separately via /login
CLAUDE_CONFIG_DIR=~/.claude-account1 claude # OAuth login
CLAUDE_CONFIG_DIR=~/.claude-account2 claude # different OAuth login
# Each profile dir is its own isolated credential store
mkdir ~/.claude-account1 ~/.claude-account2 # Aliases for shell use
alias claude-work="CLAUDE_CONFIG_DIR=~/.claude-account1 claude"
alias claude-personal="CLAUDE_CONFIG_DIR=~/.claude-account2 claude" # Each profile authenticates separately via /login
CLAUDE_CONFIG_DIR=~/.claude-account1 claude # OAuth login
CLAUDE_CONFIG_DIR=~/.claude-account2 claude # different OAuth login - Many Claude OAuth subscription accounts are authorized through a flow and stored server-side.
- The relay exposes an Anthropic-compatible API endpoint to client tools.
- Incoming requests are load-balanced across the stored OAuth tokens with automatic rotation.
- Usage accounting is per-API-key (the relay issues its own keys to its own clients).
- Multi-tenant, with cost analytics. - Bulk-account-registration sourcing — educational discounts harvested, accounts created at industrial scale.
- Silent model substitution — a request for Opus quietly routed to Sonnet or Haiku, or to a non-Claude competitor. End-users cannot easily tell.
- Log harvesting — prompts, outputs, and reasoning chains sold as training data to other AI labs.