claude-code - 💡(How to fix) Fix Graceful handling when hitting usage limits mid-session

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…

This is especially painful for users on the Max tier who are already paying for the highest available plan. Long sessions with large codebases and document work naturally accumulate context. Having the session die without warning or recovery options feels like a penalty for using the product as intended.

Error Message

When using Claude Code on the Max plan with 1M context models (Opus), hitting the usage limit mid-session completely locks the session with a 429 error: "Request rejected (429) · Extra usage is required for long context requests."

  1. Warn before hitting the limit — give users a chance to wrap up, save state, or commit work before the session locks

Root Cause

This is especially painful for users on the Max tier who are already paying for the highest available plan. Long sessions with large codebases and document work naturally accumulate context. Having the session die without warning or recovery options feels like a penalty for using the product as intended.

RAW_BUFFERClick to expand / collapse

Problem

When using Claude Code on the Max plan with 1M context models (Opus), hitting the usage limit mid-session completely locks the session with a 429 error: "Request rejected (429) · Extra usage is required for long context requests."

There is no way to:

  • Save or export key context from the locked session
  • Transfer context to a new session
  • Compact the conversation to fit within remaining quota
  • Even get a warning before hitting the limit

The session just stops working. All conversational context — decisions made, explored approaches, in-progress work — is lost unless you enable extra billing.

Requested improvements (any of these would help)

  1. Warn before hitting the limit — give users a chance to wrap up, save state, or commit work before the session locks
  2. Allow context export/summary — when the limit is hit, let the user extract a summary of key decisions, state, and progress that can be carried into a new session
  3. Allow compaction at the limit — instead of hard-blocking, offer to compact the session down to fit within remaining quota
  4. Don't hard-block the session — at minimum, allow read-only access to the conversation history so users can manually reconstruct context

Context

This is especially painful for users on the Max tier who are already paying for the highest available plan. Long sessions with large codebases and document work naturally accumulate context. Having the session die without warning or recovery options feels like a penalty for using the product as intended.

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 Graceful handling when hitting usage limits mid-session