Max plan shows as 'API Usage Billing' in CLI

Resolved 💬 7 comments Opened Jan 26, 2026 by devleon87 Closed Apr 6, 2026

Bug Description

Claude Code CLI displays "API Usage Billing" instead of "Max" plan even when authenticated with a Max subscription via OAuth.

Environment

  • OS: Windows 10/11 (MSYS_NT-10.0-26200)
  • Claude Code Version: 2.1.19
  • Authentication Method: OAuth (claude.ai account)

Steps to Reproduce

  1. Login via Claude Desktop (OAuth) - works correctly, shows Max plan
  2. Run claude command in terminal (PowerShell or Git Bash)
  3. CLI displays "API Usage Billing" instead of Max plan

Expected Behavior

CLI should display "Max" or "Claude Max" as the billing type, consistent with Claude Desktop.

Actual Behavior

▐▛███▜▌   Claude Code v2.1.19
▝▜█████▛▘  Sonnet 4.5 · API Usage Billing   <-- Should show "Max"
  ▘▘ ▝▝    

Additional Context

  • .credentials.json correctly shows "subscriptionType": "max" and "rateLimitTier": "default_claude_max_20x"
  • Claude Desktop (using CLAUDE_CODE_ENTRYPOINT=claude-desktop) correctly recognizes Max plan
  • Deleting credentials and re-logging in does not fix the issue
  • After deleting credentials, login command shows "Unable to connect to API (ConnectionRefused)"

Credentials File Content (tokens redacted)

{
  "claudeAiOauth": {
    "subscriptionType": "max",
    "rateLimitTier": "default_claude_max_20x",
    "scopes": ["user:inference", "user:mcp_servers", "user:profile", "user:sessions:claude_code"]
  }
}

The subscription type is correctly stored but not reflected in the CLI UI.

View original on GitHub ↗

This issue has 7 comments on GitHub. Read the full discussion on GitHub ↗