Skip to content

Resume from summary fails with 'Extra usage required for 1M context' error #49838

Description

@banifou

Description

When resuming an aged session via claude --resume, Claude Code shows a prompt with 3 options. Selecting Option 1 "Resume from summary (recommended)" reliably fails with this error:

Error during compaction: API Error: Extra usage is required for 1M context
· run /extra-usage to enable, or /model to switch to standard context

The same error also occurs when running /compact manually.

Steps to reproduce

  1. Have a session older than ~24h with substantial token usage (in my case: 23h 28m, 326k tokens)
  2. Resume the session (e.g. claude --resume)
  3. The prompt appears:
    • 1. Resume from summary (recommended)
    • 2. Resume full session as-is
    • 3. Don't ask me again
  4. Select option 1
  5. Error is thrown, compaction aborts

Expected behavior

Either:

  • The summary compaction should work without requiring 1M-context extra usage (since summarization reduces context, not expands it), or
  • The UI should gate option 1 behind /extra-usage activation and surface the requirement upfront instead of erroring after the user has already selected the "recommended" option.

Environment

  • Model: Sonnet 4.6 (1M context) — claude-sonnet-4-6[1m]
  • Platform: Linux 6.17.0-20-generic
  • Shell: bash
  • Reproducibility: happens every time an aged session is resumed

Impact

Option 1 is marked "recommended" but is effectively unusable for users who have not enabled /extra-usage. The only workarounds are option 2 (full resume, which consumes more usage limits — the opposite of what the prompt advises) or switching models via /model.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions