[BUG] /status displays wrong OAuth account quota when multiple OAuth profiles are configured
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?
When multiple OAuth profiles for the same provider (e.g., google-antigravity) are configured, the /status command displays quota information from a different OAuth account than the one actually being used by the current session.
What Should Happen?
/status should show quota for all configured OAuth accounts, OR
/status should show the quota for the account currently being used by the session
Error Messages/Logs
Steps to Reproduce
1.Configure two OAuth profiles for the same provider in openclaw.json:
"auth": {
"profiles": {
"google-antigravity:account1@gmail.com": {
"provider": "google-antigravity",
"mode": "oauth",
"email": "account1@gmail.com"
},
"google-antigravity:account2@gmail.com": {
"provider": "google-antigravity",
"mode": "oauth",
"email": "account2@gmail.com"
}
}
}
2.Run /status command
3.Compare the OAuth account shown in /status vs the one shown by session_status tool
Expected Behavior
/status should show quota for all configured OAuth accounts, OR
/status should show the quota for the account currently being used by the session
Actual Behavior
/status shows quota for account1@gmail.com (e.g., gemini-2.5-flash, gemini-3-pro-high)
Session actually uses account2@gmail.com (e.g., claude-opus-4-5-thinking, claude-sonnet-4-5)
Environment
OpenClaw Version: 2026.1.30 (76b5208)
Model: google-antigravity/claude-opus-4-5-thinking
Suggested Fix
Aggregate quota display from all OAuth profiles in /status
Or at minimum, show quota from the account that will be used for the current session
Claude Model
Opus
Is this a regression?
Yes, this worked in a previous version
Last Working Version
_No response_
Claude Code Version
2.1.20
Platform
Anthropic API
Operating System
Ubuntu/Debian Linux
Terminal/Shell
Other
Additional Information
_No response_
This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗