[BUG] Mac desktop app creates two authorization tokens per login, causing usage credits drain instead of Pro plan billing

Resolved 💬 2 comments Opened Jun 3, 2026 by colincecil Closed Jul 8, 2026

Preflight Checklist

  • [x] I have searched existing issues and this hasn't been reported yet
  • [x] This is a single bug report (please file separate reports for different bugs)
  • [x] I am using the latest version of Claude Code

What's Wrong?

Every login to Claude Code via the Mac desktop app creates two simultaneous authorization tokens with different scopes:

  • Token 1: user:file_upload, user:inference, user:profile
  • Token 2: user:file_upload, user:inference, user:profile, user:sessions:claude_code

This results in Claude Code usage being billed against usage credits rather than the included Pro subscription, despite the weekly plan usage showing 0% consumed. A single "Hello?" test message consumed approximately $3.47 in usage credits.

The double-token behavior persists after:

  • Full sign out and sign in
  • Renaming ~/.claude directory
  • Deleting all Claude-related Keychain entries (Claude Code-credentials, Claude Safe Storage x2)

This is the Mac desktop app (claude.ai/code in-app interface), NOT the CLI tool.

What Should Happen?

Expected: One token created per login; usage draws from Pro subscription
Actual: Two tokens created per login; usage draws from usage credits balance

Error Messages/Logs

Steps to Reproduce

  1. Sign in to Claude Code via the Mac desktop app
  2. Check Settings → Claude Code → Authorization tokens
  3. Observe two tokens created simultaneously at login, with different scopes
  4. Send any message
  5. Observe usage credits being charged instead of Pro plan usage

Claude Model

None

Is this a regression?

I don't know

Last Working Version

_No response_

Claude Code Version

Claude 1.9659.4 (8cc655) 2026-06-02T02:30:57.000Z

Platform

Anthropic API

Operating System

macOS

Terminal/Shell

Terminal.app (macOS)

Additional Information

Note: I am using Claude Code via the Mac desktop app Code tab (claude.ai/code), not the CLI or any terminal. None of the listed options apply — this dropdown appears to assume CLI usage.

  • macOS (Mac desktop app)
  • Claude Code in-app interface (not CLI)
  • Plan: Claude Pro ($20/month)

The double-tokens seem to date back to when I started using Claude three months ago.

The aggressive charging appears to be new

View original on GitHub ↗

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