Usage Limit Tracking Inaccuracy in Session Management

Status Closed — not planned
Maintainer reply None cached
Activity 12 comments · opened Jul 13, 2025 · closed Jan 5, 2026

Bug Description
Your tracking of usage limits has changed and is no longer accurate. For example, I went to sleep last night at 12:30am, and have keep a conversation open because I dont clear, quit etc. Then this morning from 8:45am. within 30 minutes of continuing the conversation and have done a few messages, I am now getting 'approaching usage limit' which is inaccurate. There is no way in the 30 minutes of a few requests I have hit the 900 messages. \
\
If you are tracking sessions from when the first message is sent, you need to reset or clear the session at the 5 hour mark, and you need a fall back to check the number of messages within the window.\
\
I suggest that with each message that is sent you check is message > 5 hours since session start time, yes new session, no continue session and count as messages within a session

Environment Info

  • Platform: darwin
  • Terminal: vscode
  • Version: 1.0.51
  • Feedback ID: 7fed3e1a-26ea-4de5-a97a-1de00301ce5c

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 genericNodeError (node:internal/errors:983:15)\n    at wrappedFn (node:internal/errors:537:14)\n    at checkExecSyncError (node:child_process:892:11)\n    at execSync (node:child_process:964:15)\n    at eD (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:712:4489)\n    at file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:624:13989\n    at Q (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:526:14406)\n    at QF (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:624:13129)\n    at cC (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:624:11995)\n    at qB (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:624:16609)","timestamp":"2025-07-13T23:18:24.967Z"}]

View original on GitHub ↗

12 Comments

YoloMark98 · 1 year ago

same issue here.. im on MAX x20 plan

Jordan-Jarvis · 1 year ago

Same issue here. Seems like the limits may have been reduced. Feels like I am on the 5x plan again, but I am paying for the 20x.

upperking · 1 year ago

Yes I noticed that also now I’m timed out as if I’m still on the $20 plan I feel like it’s not even worth the value now I complained about it on their discord the beginning of the week….

jcfariadias · 1 year ago

I'm on pro plan and hitting usage limits with barely anything done. We are paying customers, we demand and update on this!

labnxt · 1 year ago
Livvux · 1 year ago

Same issue here!!

rburhum · 1 year ago

Me too. I am on the $100 plan and within 10 mins I get the same issue.

labnxt · 1 year ago

<img width="1536" height="1024" alt="Image" src="https://github.com/user-attachments/assets/e5f6dc36-80eb-4341-b1c3-651bb9d0521e" />

pborbas · 1 year ago

same issue here

github-actions[bot] · 8 months ago

This issue has been inactive for 30 days. If the issue is still occurring, please comment to let us know. Otherwise, this issue will be automatically closed in 30 days for housekeeping purposes.

github-actions[bot] · 7 months ago

This issue has been automatically closed due to 60 days of inactivity. If you're still experiencing this issue, please open a new issue with updated information.

github-actions[bot] · 7 months ago

This issue has been automatically locked since it was closed and has not had any activity for 7 days. If you're experiencing a similar issue, please file a new issue and reference this one if it's relevant.