[BUG] Account Plan Detection Incorrect in Windows Git Bash

Resolved 💬 4 comments Opened Jul 28, 2025 by Rokurolize Closed Aug 23, 2025

Environment

  • Platform (select one):
  • [X] Anthropic API
  • [ ] AWS Bedrock
  • [ ] Google Vertex AI
  • [ ] Other: <!-- specify -->
  • Claude CLI version: 1.0.61 (Claude Code)
  • Operating System: Windows 11
  • Terminal: Git Bash ("C:/Program Files/Git/bin/bash.exe" -i -l)

Bug Description

When launching Claude Code in Windows Git Bash and logging in, the system incorrectly identifies an account with the Max plan as a Pro account instead.

Steps to Reproduce

  1. Perform the installation, follow the defaults for theme selection and login.

Expected Behavior

<!-- What you expected to happen -->
Login is complete, and the Opus model is now available.

Actual Behavior

<!-- What actually happened -->
The login category differs from the original account status, making the opus model unavailable.

> /model opus
  ⎿  Invalid model. Claude Pro users are not currently able to use Opus 4 in Claude Code. The current model is now
     Sonnet 4.

Additional Context

<!-- Add any other context about the problem here, such as screenshots, logs, etc. -->

Windows:

id374@roku-pc MINGW64 ~/workspace
$ claude
╭───────────────────────────────────────────────────╮
│ ✻ Welcome to Claude Code!                         │
│                                                   │
│   /help for help, /status for your current setup  │
│                                                   │
│   cwd: C:\Users\id374\workspace                   │
╰───────────────────────────────────────────────────╯

 ※ Tip: Use /theme to change the color theme

 Claude Code Status v1.0.61

  L Session ID: d9d5d3fc-0a88-4ed6-b9a8-09a93d407e9a

 Working Directory
  L C:\Users\id374\workspace

 Account
  L Login Method: Claude API Account

 Model • /model
  L Sonnet Sonnet 4 for daily use


 Press Enter to continue…

WSL Ubuntu:


ubuntu@roku-pc:~/workbench$ claude
╭───────────────────────────────────────────────────╮
│ ✻ Welcome to Claude Code!                         │
│                                                   │
│   /help for help, /status for your current setup  │
│                                                   │
│   cwd: /home/ubuntu/workbench                     │
│                                                   │
│   ─────────────────────────────────────────────── │
│                                                   │
│   Overrides (via env):                            │
│                                                   │
│   • API timeout: 100000000ms                      │
│   • API Base URL:                                 │
│   https://gateway.ai.cloudflare.com/v1/66a4965dcb │
│   f7caf84b9271f3ba008add/debug/anthropic          │
╰───────────────────────────────────────────────────╯

 ※ Tip: Press Esc twice to edit your previous messages

 Claude Code Status v1.0.61

  L Session ID: cead609c-e6e9-455f-9d7f-5ea986d6cdf9

 Working Directory 
  L /home/ubuntu/workbench

 IDE Integration • /config
 ✔  Installed VS Code extension

 MCP servers • /mcp
 ✔  context7
 ✔  brave-search
 ⚠  leanexplore

 Account • /login
  L Login Method: Claude Max Account
  L Organization: (Full Name)
  L Email: (Email Address)

 API Configuration 
  LAnthropic Base URL:
   https://gateway.ai.cloudflare.com/v1/(Cloudflare ID)/debug/anthropic

 Memory • /memory
  L user: ~/.claude/CLAUDE.md

 Model • /model
  LDefault Opus 4 for up to 50% of usage limits, then
   use Sonnet 4 (currently Opus)


 Press Enter to continue…


╭──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╮
│ Submit Bug Report                                                                                                    │
│                                                                                                                      │
│ Could not submit feedback. Please try again later.                                                                   │
│                                                                                                                      │
│ Press Enter to also create a GitHub issue, or any other key to close.                                                │
│                                                                                                                      │
╰──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯

Additionally, I tried reporting a bug via the /bug slash command, but it resulted in an error. The page was then opened.

Bug Description
When launching Claude Code in Windows Git Bash and logging in, the system incorrectly identifies an account with the Max plan as a Pro account instead.

Environment Info

  • Platform: win32
  • Terminal: windows-terminal
  • Version: 1.0.61
  • Feedback ID:

Errors

[{"error":"Error: Command failed: tasklist | findstr /I \"Code.exe Cursor.exe Windsurf.exe idea64.exe pycharm64.exe webstorm64.exe phpstorm64.exe rubymine64.exe clion64.exe goland64.exe rider64.exe datagrip64.exe appcode.exe dataspell64.exe aqua64.exe gateway64.exe fleet.exe studio64.exe\"\nFINDSTR: �J�����Ƃ��ł��܂��� (Code.exe Cursor.exe Windsurf.exe idea64.exe pycharm64.exe webstorm64.exe phpstorm64.exe rubymine64.exe clion64.exe goland64.exe rider64.exe datagrip64.exe appcode.exe dataspell64.exe aqua64.exe gateway64.exe fleet.exe studio64.exe)\r\n\n    at genericNodeError (node:internal/errors:983:15)\n    at wrappedFn (node:internal/errors:537:14)\n    at checkExecSyncError (node:child_process:883:11)\n    at execSync (node:child_process:955:15)\n    at i7 (file:///C:/Users/id374/AppData/Roaming/npm/node_modules/@anthropic-ai/claude-code/cli.js:865:5106)\n    at St (file:///C:/Users/id374/AppData/Roaming/npm/node_modules/@anthropic-ai/claude-code/cli.js:1346:1937)\n    at file:///C:/Users/id374/AppData/Roaming/npm/node_modules/@anthropic-ai/claude-code/cli.js:1876:7273\n    at async file:///C:/Users/id374/AppData/Roaming/npm/node_modules/@anthropic-ai/claude-code/cli.js:1877:1485\n    at async Promise.all (index 12)\n    at async Jw0 (file:///C:/Users/id374/AppData/Roaming/npm/node_modules/@anthropic-ai/claude-code/cli.js:1877:1444)","timestamp":"2025-07-28T09:34:47.476Z"},{"error":"AxiosError: Request failed with status code 403\n    at kq (file:///C:/Users/id374/AppData/Roaming/npm/node_modules/@anthropic-ai/claude-code/cli.js:676:1077)\n    at Unzip.Y0 (file:///C:/Users/id374/AppData/Roaming/npm/node_modules/@anthropic-ai/claude-code/cli.js:677:9955)\n    at Unzip.emit (node:events:530:35)\n    at Unzip.emit (node:domain:489:12)\n    at endReadableNT (node:internal/streams/readable:1698:12)\n    at process.processTicksAndRejections (node:internal/process/task_queues:90:21)\n    at x21.request (file:///C:/Users/id374/AppData/Roaming/npm/node_modules/@anthropic-ai/claude-code/cli.js:679:2088)\n    at process.processTicksAndRejections (node:internal/process/task_queues:105:5)\n    at async gQ8 (file:///C:/Users/id374/AppData/Roaming/npm/node_modules/@anthropic-ai/claude-code/cli.js:1539:467)\n    at async Promise.all (index 0)\n    at async file:///C:/Users/id374/AppData/Roaming/npm/node_modules/@anthropic-ai/claude-code/cli.js:1525:6171","timestamp":"2025-07-28T09:43:00.957Z"}]

View original on GitHub ↗

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