[Bug] API Error: Usage credits required for 1M context with standard model selected

Resolved 💬 3 comments Opened Jun 1, 2026 by akashgore2112 Closed Jul 9, 2026

Bug Description
Claude Code keeps triggering “API Error: Usage credits required for 1M context” even when standard context is selected. Version: 2.1.121 Earlier version tested: 2.1.159 I already tried: - /model and selected standard/default Sonnet - CLAUDE_CODE_DISABLE_1M_CONTEXT=1 - ~/.claude/settings.json env config - full Claude Code restart - fresh session without resume - downgrade from 2.1.159 to 2.1.121 The 1M context option is not visible in /model, but the API still triggers 1M context. Please check if this is an account-side or Claude Code bug.

Environment Info

  • Platform: darwin
  • Terminal: vscode
  • Version: 2.1.159
  • Feedback ID: 4426b2c5-1d89-4dd0-b6ff-495c889cbb73

Errors

[]

View original on GitHub ↗

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