anthropics / anthropics/claude-code

[BUG] Session and weekly usage limits jump to a high percentage with no activity

Aperta
#90,022 1 commento 0 reazioni 0 assegnatari Vedi su GitHub
area:cost bug platform:macos
Lingua principale
Python
Stelle
145k
Fork
23.1k
Metriche di merge delle PR
Metriche PR in attesa

Descrizione

### Preflight Checklist

- [x] I have searched [existing issues](https://github.com/anthropics/claude-code/issues?q=is%3Aissue%20state%3Aopen%20label%3Abug) 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?

Hello,

I believe there is a usage accounting problem on my account and I'd like it investigated.

The issue:

1) Immediately after my five-hour session resets, the "Current session" value jumps straight to around 50% without me sending a single message. It is not a gradual increase — it goes up in one step.

2) The same happens with the weekly limit. When the weekly window renews, it does not start from zero but from an already high percentage.

In both cases I have no active usage at that moment: no new conversation, no messages sent, no background job running, and no other device or tab left open.

Account details:
- Name: Ahmet Balaman
- Account email: ahmetbalaman073@gmail.com
- Plan: [Pro / Max 5x / Max 20x]
- Primary surface: Claude Code (CLI) on macOS
- Date and time the jump was observed (UTC+3): [date/time]
- Screenshots attached: Settings > Usage, before and after the jump

Could you please review how usage is being metered on my account and explain why these percentages increase this way? If there is an accounting error, I'd appreciate it being corrected and the lost usage restored.

Thank you,
Ahmet Balaman

Image

### What Should Happen?

Please fix it

### Error Messages/Logs

```shell

```

### Steps to Reproduce

Hello,

I believe there is a usage accounting problem on my account and I'd like it investigated.

The issue:

1) Immediately after my five-hour session resets, the "Current session" value jumps straight to around 50% without me sending a single message. It is not a gradual increase — it goes up in one step.

2) The same happens with the weekly limit. When the weekly window renews, it does not start from zero but from an already high percentage.

In both cases I have no active usage at that moment: no new conversation, no messages sent, no background job running, and no other device or tab left open.

Account details:
- Name: Ahmet Balaman
- Account email: ahmetbalaman073@gmail.com
- Plan: [Pro / Max 5x / Max 20x]
- Primary surface: Claude Code (CLI) on macOS
- Date and time the jump was observed (UTC+3): [date/time]
- Screenshots attached: Settings > Usage, before and after the jump

Could you please review how usage is being metered on my account and explain why these percentages increase this way? If there is an accounting error, I'd appreciate it being corrected and the lost usage restored.

Thank you,
Ahmet Balaman

Image

### Claude Model

None

### Is this a regression?

Yes, this worked in a previous version

### Last Working Version

_No response_

### Claude Code Version

2.1.247

### Platform

Anthropic API

### Operating System

macOS

### Terminal/Shell

Terminal.app (macOS)

### Additional Information

_No response_

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Direzione di ricerca

No source files or tests are named. Start with Claude Code 2.1.247 on macOS and the Settings > Usage view; compare session and weekly values immediately before and after each reset using the missing UTC+3 timestamps and screenshots. Confirm whether any messages, jobs, devices, or tabs were active. Done means the accounting cause is identified and the usage is corrected or the behavior explained.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Valutazione

Stack tecnologico
python
Ambito
api, cli
Tipo di issue
Bug
Difficoltà
4/5
Tempo stimato
3-5 giorni
Stato di attività
Attiva
Chiarezza
Da chiarire
Idoneità per principianti
25/100

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.