claude-code - 💡(How to fix) Fix I was told to compact to save usage, and it consumed all my usage before I could do anything [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#52649Fetched 2026-04-24 06:01:29
View on GitHub
Comments
0
Participants
1
Timeline
5
Reactions
0
Author
Participants
Timeline (top)
labeled ×5

Code Example



---

Claude recommended I compact to save usage and when I agreed it stole all my tokens.
RAW_BUFFERClick to expand / collapse

Preflight Checklist

  • I have searched existing issues for similar behavior reports
  • This report does NOT contain sensitive information (API keys, passwords, etc.)

Type of Behavior Issue

Other unexpected behavior

What You Asked Claude to Do

I entered Claude this afternoon with "claude --resume" and was immediately presented with a message that said I should compact to save usage. I was presented with a numbered list with 1 being agreeing to the compaction. So I entered 1 and Claude started compaction. Then after about 15 minutes I was suddenly presented with a message that said my usage limit had been reached and I would have to wait until 5:50 PM before I could continue. And then I was asked if I wanted to upgrade my Pro plan or wait. So this was obviously a scam to try and get me to give Anthropic more money.

This was a really rotten thing to do. Compaction was prompted as a way to save usage while in truth it consumed my entire remaining quota with no cost warning. I want an explanation from Anthropic explaining why they did this, and a refund of my tokens which were taken under false pretense.

What Claude Actually Did

It stole my usage tokens before I'd done anything other than agree to what it recommended.

Expected Behavior

I expected it would do what I said - compact to save usage. Not steal my tokens under false pretense.

Files Affected

Permission Mode

Accept Edits was ON (auto-accepting changes)

Can You Reproduce This?

No, only happened once

Steps to Reproduce

No response

Claude Model

Sonnet

Relevant Conversation

Claude recommended I compact to save usage and when I agreed it stole all my tokens.

Impact

Critical - Data loss or corrupted project

Claude Code Version

2.1.118 (Claude Code)

Platform

Anthropic API

Additional Context

No response

extent analysis

TL;DR

The user should review the compaction process and its impact on usage tokens to understand why their tokens were consumed.

Guidance

  • Verify the compaction process description and warnings to ensure it clearly communicates the potential consumption of usage tokens.
  • Check the Anthropic API documentation for any usage limits or quotas that may have been exceeded.
  • Review the conversation history with Claude to see if there were any other factors that contributed to the unexpected behavior.
  • Consider reaching out to Anthropic support for a refund or token replenishment, as the user feels they were misled.

Notes

The issue seems to be related to a misunderstanding of the compaction process and its impact on usage tokens. However, without more information about the compaction process and the Anthropic API, it's difficult to provide a more specific solution.

Recommendation

Apply workaround: Review and understand the compaction process and its warnings before proceeding, to avoid unexpected token consumption.

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 I was told to compact to save usage, and it consumed all my usage before I could do anything [1 participants]