claude-code - 💡(How to fix) Fix [BUG]CloudCode started consuming 3-5 times more tokens for the same actions [1 comments, 2 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#48070Fetched 2026-04-15 06:34:06
View on GitHub
Comments
1
Participants
2
Timeline
6
Reactions
1
Timeline (top)
labeled ×4commented ×1unlabeled ×1

Error Message

Error Messages/Logs

Root Cause

because I don't think it's a problem with what people are doing, but rather with how the tokens are being counted (possibly at the end of the subscription), as these cases are common and it's unclear how it should be counted.

RAW_BUFFERClick to expand / collapse

Preflight Checklist

  • I have searched existing issues and this hasn't been reported yet
  • This is a single bug report (please file separate reports for different bugs)
  • I am using the latest version of Claude Code

What's Wrong?

At the end of the monthly subscription, CloudCode started consuming tokens several times more with the same settings (Opus 4.6 max effort and thinking on). At the beginning of the billing period, I could write a huge code for 4 hours, and I still had 30-40 percent left. Now, I've written 2 modules with 500-900 lines each, and I've used 90 percent in just 37 minutes. I've only been writing code, and there's nothing extra. I don't know what to associate it with, but my friend has the same problem, even though we don't have any super complex architectural solutions with searches and so on but when you pay 100 or 200 bucks for a subscription, you'd want the limits to be 5 or 20 times higher, otherwise there's no point in overpaying.

What Should Happen?

because I don't think it's a problem with what people are doing, but rather with how the tokens are being counted (possibly at the end of the subscription), as these cases are common and it's unclear how it should be counted.

Error Messages/Logs

Steps to Reproduce

1.I don't know how to describe it correctly

Claude Model

Opus

Is this a regression?

Yes, this worked in a previous version

Last Working Version

No response

Claude Code Version

latest

Platform

Other

Operating System

macOS

Terminal/Shell

VS Code integrated terminal

Additional Information

No response

extent analysis

TL;DR

The token consumption issue in CloudCode may be related to how tokens are being counted at the end of the subscription period, and verifying the token counting mechanism is necessary to resolve the issue.

Guidance

  • Review the CloudCode documentation to understand how tokens are counted and billed, especially at the end of the subscription period.
  • Compare the current token consumption with the expected consumption based on the Opus 4.6 max effort and thinking settings to identify any discrepancies.
  • Investigate if there are any changes in the CloudCode system or settings that could be causing the increased token consumption.
  • Consider reaching out to CloudCode support to report the issue and request assistance in verifying the token counting mechanism.

Notes

The issue lacks specific details about the CloudCode system and settings, making it challenging to provide a definitive solution. The guidance provided is based on the information given and may need to be adapted to the specific use case.

Recommendation

Apply workaround: Report the issue to CloudCode support and request assistance in verifying the token counting mechanism, as the problem seems to be related to how tokens are being counted rather than the user's code or settings.

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 [BUG]CloudCode started consuming 3-5 times more tokens for the same actions [1 comments, 2 participants]