claude-code - 💡(How to fix) Fix Weekly usage counter dropped 60% → 2% mid-cycle while resets_at still in future [1 participants]

Official PRs (…)
ON THIS PAGE

Recommended Tools

×6

Utilities matched from this issue’s tags and category — try them while you read without losing context.

GitHub issue graph ai analysis

Paste a GitHub issue URL. We fetch that issue, discover linked issues from bodies/comments/timeline, collect linked pull requests, and produce a structured English report.

The report is written in English Markdown for sharing and archival.

Helpful · Quick feedback

Loading…
GitHub stats
anthropics/claude-code#52497Fetched 2026-04-24 06:05:36
View on GitHub
Comments
0
Participants
1
Timeline
1
Reactions
0
Participants
Timeline (top)
labeled ×1

On 2026-04-23 my weekly usage counter on claude.ai/settings/usage (and the matching /api/organizations/{orgId}/usage endpoint) dropped from ~60% to 2% in the middle of the week, even though the same endpoint reports seven_day.resets_at ~9 hours in the future. Both the Anthropic-hosted settings page and the raw API agree on the 2% figure, so this is not a client-side parsing or caching bug.

Root Cause

On 2026-04-23 my weekly usage counter on claude.ai/settings/usage (and the matching /api/organizations/{orgId}/usage endpoint) dropped from ~60% to 2% in the middle of the week, even though the same endpoint reports seven_day.resets_at ~9 hours in the future. Both the Anthropic-hosted settings page and the raw API agree on the 2% figure, so this is not a client-side parsing or caching bug.

Code Example

"seven_day": {
  "utilization": 2,
  "resets_at": "2026-04-24T03:00:00.264681+00:00"
}
RAW_BUFFERClick to expand / collapse

Summary

On 2026-04-23 my weekly usage counter on claude.ai/settings/usage (and the matching /api/organizations/{orgId}/usage endpoint) dropped from ~60% to 2% in the middle of the week, even though the same endpoint reports seven_day.resets_at ~9 hours in the future. Both the Anthropic-hosted settings page and the raw API agree on the 2% figure, so this is not a client-side parsing or caching bug.

Environment

  • Date / time of observation: 2026-04-23, 20:00–21:02 IDT (UTC+3)
  • Account surface: claude.ai/settings/usage (screenshot confirms "2% used — resets in 8h 55m")
  • API endpoint: GET https://claude.ai/api/organizations/{orgId}/usage
  • Plan: Claude Max (weekly limit enabled)

Timeline (my local observations)

Local time (IDT)seven_day.utilization (from API)
13:0060%
14:00 – 19:00(no polls in this window)
20:010%
20:351%
21:002%

The drop happened somewhere in the 13:00–20:00 window. By 20:01 the counter was already effectively reset; it has rebuilt to 2% from minor use between 20:00 and 21:00.

The reset-time mismatch

At 21:02 IDT the API returned:

"seven_day": {
  "utilization": 2,
  "resets_at": "2026-04-24T03:00:00.264681+00:00"
}

2026-04-24T03:00:00 UTC = Fri 2026-04-24, 06:00 IDT — still ~9 hours in the future when I observed the reset. claude.ai/settings/usage shows the same — "Resets in 8 hr 55 min". So a natural weekly reset should not have fired yet, and yet the counter has already dropped as if one had.

Expected vs. actual

  • Expected: utilization stays at or above ~60% until the announced resets_at, then drops.
  • Actual: utilization fell to 0% roughly 9 hours before the announced resets_at; resets_at itself did not move forward to reflect a cycle boundary crossing.

Ruled-out explanations on my side

  • Not a client caching issue — claude.ai/settings/usage (Anthropic-hosted) shows the same 2%.
  • Not sub-second jitter in resets_at being misread as a cycle change — our recorder compares epoch-ms and only treats a ≥24h forward jump as a real reset. The stored currentResetsAt did not change during the drop.
  • Not an org/session switch pulling data from a different account — the active lastActiveOrg cookie and organization_uuid in the payload are unchanged across the interval.
  • Not a "defaulted payload" fingerprint (both buckets 0% with past resets_at) — the post-drop payload has a valid future resets_at and the 5-hour bucket is non-zero (8%).

Questions

  1. Is the weekly limit actually a fixed 7-day cycle anchored to resets_at, or a rolling 168-hour window where resets_at is approximate / UX-only?
  2. If it's a fixed cycle, how can utilization reset mid-cycle without resets_at advancing?
  3. If it's a rolling window, what counts as "resets in 8 hr 55 min" on the settings page — the next scheduled boundary check, or something else?

Happy to share logs / timestamps keyed to my account if useful.

extent analysis

TL;DR

The weekly usage counter reset unexpectedly, possibly due to a mismatch between the expected fixed 7-day cycle and a rolling 168-hour window.

Guidance

  • Investigate the implementation of the weekly limit to determine if it's a fixed 7-day cycle or a rolling 168-hour window.
  • Verify how the resets_at timestamp is calculated and updated, and whether it's used to determine the reset point.
  • Check for any recent changes or updates to the usage counter logic that may have caused the unexpected reset.
  • Consider sharing logs and timestamps with the development team to help diagnose the issue.

Notes

The issue seems to be related to the implementation of the weekly limit and the calculation of the resets_at timestamp. Without more information about the internal logic, it's difficult to provide a definitive solution.

Recommendation

Apply workaround: Reach out to the development team to investigate and clarify the implementation of the weekly limit and resets_at timestamp, as the current behavior is unclear and may be causing the unexpected reset.

Vote matrix · Quick signals

Works
Did the solution work? Tap to confirm.
Easy Fix
Was it a quick fix?
Time Saver
Did it save you time?
Blocking
Was it severely blocking?
Common Issue
Are others likely hitting this too?
Flaky / Intermittent
Is it intermittent?
Verified / Reproducible
Can you reproduce it reliably?
Loading…

Still need to ship something?

×6

Another batch ranked right after the header list — different links, same matching logic.

Back to top recommendations

TRENDING

claude-code - 💡(How to fix) Fix Weekly usage counter dropped 60% → 2% mid-cycle while resets_at still in future [1 participants]