claude-code - 💡(How to fix) Fix [MODEL] Opus 4.6/4.7 gives error when starting session with SKILL /session-start [3 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#49528Fetched 2026-04-17 08:38:35
View on GitHub
Comments
3
Participants
2
Timeline
9
Reactions
0
Author
Timeline (top)
labeled ×5commented ×3closed ×1

Error Message

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

Code Example

No files affected.

---

API Error: Extra usage is required for 1M context · run /extra-usage to enable, or /model to switch to standard context
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

Claude refused a reasonable request

What You Asked Claude to Do

I start and end a session with a SKILL: /session-start & /session-end

With Opus 4.6 or 4.7 this gives an error the last day.

The error does not occur when I switch to Sonnet.

What Claude Actually Did

Claude gave me an error:

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

This is strange as the is only around 18KB loaded.

Expected Behavior

Claude should have: executed these SKILLS

Files Affected

No files affected.

Permission Mode

Accept Edits was OFF (manual approval required)

Can You Reproduce This?

Yes, every time with the same prompt

Steps to Reproduce

/session-start of /session-end give same error.

Claude Model

Opus

Relevant Conversation

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

Impact

Medium - Extra work to undo changes

Claude Code Version

2.1.112

Platform

Anthropic API

Additional Context

I have a Claude Max subscription and did not reach my limit yet.

extent analysis

TL;DR

The issue can likely be resolved by running the /extra-usage command to enable extra usage for the 1M context or switching to the standard context using the /model command.

Guidance

  • The error message suggests that the issue is related to the context size, which is set to 1M, but the loaded context is only around 18KB, indicating a potential configuration or settings issue.
  • Try running the /extra-usage command to enable extra usage for the 1M context, as suggested by the error message.
  • Alternatively, switch to the standard context using the /model command to see if the issue persists.
  • Verify that the Claude Max subscription limits have not been reached, despite the report stating that the limit has not been reached, to rule out any account-related issues.

Notes

The issue seems to be specific to the Opus model, as switching to Sonnet resolves the issue, which may indicate a model-specific configuration or bug.

Recommendation

Apply workaround: Run the /extra-usage command to enable extra usage for the 1M context, as this is a straightforward solution that directly addresses the error message.

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