Track Remaining Anthropic API Token Usage Within 5-Hour Window
Resolved 💬 3 comments Opened Jul 16, 2025 by kopyl Closed Aug 20, 2025
Bug Description
Make it possible to see the usage of tokens left in the 5-hours timeframe (before it gets reset)
Environment Info
- Platform: darwin
- Terminal: iTerm.app
- Version: 1.0.53
- Feedback ID: 562e63bb-ea79-4c87-8300-151274c02ab2
Errors
[{"error":"Error: Command failed: security find-generic-password -a $USER -w -s \"Claude Code\"\nsecurity: SecKeychainSearchCopyNext: The specified item could not be found in the keychain.\n\n at checkExecSyncError (node:child_process:885:11)\n at execSync (node:child_process:957:15)\n at AI (file:///Users/olehkopyl/.nvm/versions/node/v18.17.0/lib/node_modules/@anthropic-ai/claude-code/cli.js:728:6320)\n at file:///Users/olehkopyl/.nvm/versions/node/v18.17.0/lib/node_modules/@anthropic-ai/claude-code/cli.js:640:16554\n at Q (file:///Users/olehkopyl/.nvm/versions/node/v18.17.0/lib/node_modules/@anthropic-ai/claude-code/cli.js:542:14406)\n at MF (file:///Users/olehkopyl/.nvm/versions/node/v18.17.0/lib/node_modules/@anthropic-ai/claude-code/cli.js:640:14339)\n at zX (file:///Users/olehkopyl/.nvm/versions/node/v18.17.0/lib/node_modules/@anthropic-ai/claude-code/cli.js:640:13205)\n at MB (file:///Users/olehkopyl/.nvm/versions/node/v18.17.0/lib/node_modules/@anthropic-ai/claude-code/cli.js:640:19174)\n at HF0 (file:///Users/olehkopyl/.nvm/versions/node/v18.17.0/lib/node_modules/@anthropic-ai/claude-code/cli.js:640:19332)","timestamp":"2025-07-16T13:18:20.062Z"}]This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗