claude-code - 💡(How to fix) Fix Claude Code silently escalates to 1M context model and bills usage credits without user consent, bypassing auto-compaction

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…
RAW_BUFFERClick to expand / collapse

Bug Report

What happened

During a session where the conversation context grew large, Claude Code automatically switched to the 1M context model and billed usage credits — without any confirmation prompt or warning to the user. The auto-compaction feature (which should compact the conversation and stay on standard context) did not fire before this escalation occurred.

Expected behavior

  1. Auto-compaction should trigger before any model escalation
  2. If a model switch would incur usage credit charges, the user should be explicitly asked for consent before proceeding

Actual behavior

  • Auto-compaction did not run
  • Claude Code silently escalated to the 1M context model
  • Usage credits were billed without user awareness or consent
  • User only discovered this after credits were depleted

Impact

User lost usage credits without knowledge or consent.

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…

FAQ

Expected behavior

  1. Auto-compaction should trigger before any model escalation
  2. If a model switch would incur usage credit charges, the user should be explicitly asked for consent before proceeding

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 Claude Code silently escalates to 1M context model and bills usage credits without user consent, bypassing auto-compaction