claude-code - 💡(How to fix) Fix [Bug] Anthropic API Error: Usage credits required for 1M context window [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#60707Fetched 2026-05-20 03:51:35
View on GitHub
Comments
0
Participants
1
Timeline
5
Reactions
0
Author
Participants
Timeline (top)
labeled ×5

Error Message

⎿ API Error: Usage credits required for 1M context · run /usage-credits to turn them on, or /model to switch to standard context

Code Example

[]
RAW_BUFFERClick to expand / collapse

Bug Description /model
⎿ Set model to Sonnet 4.6 (default) and saved as your default for new sessions

❯ continuar
⎿ API Error: Usage credits required for 1M context · run /usage-credits to turn them on, or /model to switch to standard context

Environment Info

  • Platform: darwin
  • Terminal: vscode
  • Version: 2.1.153
  • Feedback ID: 5e737f4b-4648-4f4f-8fdf-cc47df37c1b7

Errors

[]

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