[Bug] Anthropic API Error: Usage credits required for 1M context window

Resolved 💬 2 comments Opened Jun 3, 2026 by kmamtora Closed Jul 7, 2026

Bug Description
API Error: Usage credits required for 1M context · run /usage-credits to turn them on, or /model to switch to standard context, today I got this error multiple times

Environment Info

  • Platform: darwin
  • Terminal: WarpTerminal
  • Version: 2.1.160
  • Feedback ID: 16742d86-a22e-4dee-ae04-4c7b7a146cb5

Errors

[{"error":"The socket connection was closed unexpectedly. For more information, pass `verbose: true` in the second argument to fetch()","timestamp":"2026-06-02T08:58:30.122Z"}]

View original on GitHub ↗

This issue has 2 comments on GitHub. Read the full discussion on GitHub ↗