anthropics / anthropics/claude-code

[BUG] [SHOW-STOPPER] Usage Credits suddenly being ignored by Claude Code Terminal

Đang mở
#93,344 0 bình luận 0 reaction 0 người được giao Xem trên GitHub
api:anthropic area:cost bug platform:windows
Ngôn ngữ chính
Python
Star
145k
Fork
23.1k
Chỉ số merge pull request
Chỉ số pull request đang chờ

Mô tả

### 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?

After working on Usage Credits for 2 days, Claude Code Terminal spontaneously claims:

`You've hit your weekly limit · resets 3am (Europe/London)
/usage-credits to finish what you’re working on. `

Image

Then under `/status` I see

`Usage credits Usage credits are off · /usage-credits to turn them on`

Image

But in website it correctly reports that Usage Credits are on and limit has NOT been reached:

`Usage credits Turn on usage credits to keep using Claude if you hit a plan limit. [Learn more](https://support.claude.com/en/articles/12429409-extra-usage-for-paid-claude-plans) £188.52 spent Resets Oct 1 75% used`

Image

So Claude Code Terminal does not agree with web settings.

Confirmed on two different machines - Windows 10, Windows 11.
Version: 2.1.265

### What Should Happen?

EITHER
1. Website & Terminal should explain why Usage Credits cannot be used, even with credit balance and turned on.
OR
2. Terminal should continue using Usage Credits

### Error Messages/Logs

```shell

```

### Steps to Reproduce

Use Claude Code Terminal as normal.

### Claude Model

Not sure / Multiple models

### Is this a regression?

Yes, this worked in a previous version

### Last Working Version

_No response_

### Claude Code Version

2.1.265

### Platform

Anthropic API

### Operating System

Windows

### Terminal/Shell

Windows Terminal

### Additional Information

_No response_

Hướng dẫn đóng góp

Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này

Hướng nghiên cứu

No source file, test, or code entry point is identified in the report. Start by reproducing the behavior on Windows Terminal with Claude Code 2.1.265, comparing /status and /usage-credits with the website's usage-credit state; done means the terminal and website consistently explain the limit or usage credits continue working.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Đánh giá

Lĩnh vực
api, cli
Loại issue
Lỗi
Độ khó
4/5
Thời gian dự kiến
3-5 ngày
Mức độ hoạt động
Sôi nổi
Độ rõ ràng
Cần làm rõ
Mức phù hợp với người mới
35/100

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.