claude-code - 💡(How to fix) Fix [BUG] Unexpected usage spike — 0% to 17% from minimal usage [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#55927Fetched 2026-05-05 06:02:43
View on GitHub
Comments
1
Participants
2
Timeline
5
Reactions
0
Author
Timeline (top)
labeled ×4commented ×1

Error Message

Error Messages/Logs

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?

My daily usage quota is being consumed at a highly disproportionate rate. After only a single, brief query (checking two files), the usage jumped from 0% to 17%. This happened yesterday as well, and after verifying it again today, it is clear that this is a recurring issue. At this rate, the service is virtually unusable as the quota would be exhausted in just a few simple questions.

What Should Happen?

For a simple "grep and read" task involving only two files in a new session, the usage should be minimal (well under 1%). The metering should accurately reflect the actual computational cost and token usage of the request.

Error Messages/Logs

Steps to Reproduce

  1. Confirm daily usage is at 0% at the start of a new session.
  2. Provide Claude with access to a codebase/files.
  3. Submit a single, short query: "Check if delete logic for a specific custom object exists in [File A] and [File B]."
  4. Check the "Usage" indicator immediately after Claude’s response.
  5. Observe the 17% (or similar excessive) increase from a single interaction.

Claude Model

Opus

Is this a regression?

Yes, this worked in a previous version

Last Working Version

 2.1.126

Claude Code Version

 2.1.126

Platform

Anthropic API

Operating System

macOS

Terminal/Shell

Terminal.app (macOS)

Additional Information

No response

extent analysis

TL;DR

The issue may be resolved by reverting to a previous version of Claude Code or waiting for a fix, as the problem is identified as a regression.

Guidance

  • Verify that the issue is indeed a regression by checking the usage patterns in the last working version (2.1.126) to confirm the discrepancy.
  • Test the query with different files and codebases to determine if the issue is specific to certain inputs or a general problem with the current version.
  • Consider reaching out to the development team or support for Anthropics to report the regression and request a fix or temporary workaround.
  • Review the documentation for any changes in usage metering or quota calculations between versions to understand potential causes.

Notes

The issue seems to be specific to the current version (2.1.126) and is identified as a regression, suggesting that a previous version worked as expected. Without more information on the changes between versions or the exact usage metering algorithm, it's challenging to provide a precise fix.

Recommendation

Apply workaround: Since the issue is a regression and the last working version is known, a temporary workaround could be to use an earlier version of Claude Code until the issue is resolved in a future update.

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] Unexpected usage spike — 0% to 17% from minimal usage [1 comments, 2 participants]