claude-code - 💡(How to fix) Fix Desktop app: No way to use Sonnet with standard (200k) context — 1M context is forced, blocks usage when credits unavailable

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…

Error Message

Error message:

Usage limit reached — API Error: Usage credits required for 1M context · turn on usage credits at claude.ai/settings/usage, or use --model to switch to standard context The error suggests using --model to switch to standard context, but that's a CLI flag — there is no equivalent in the desktop app UI. The /model sonnet and /model claude-sonnet-4-6 commands in the desktop app still select the 1M context variant.

  1. The error message should not suggest CLI-only flags (--model) as the fix when running in the desktop app
  2. Observe: "Usage credits required for 1M context" error with no way to switch to standard context

Fix Action

Fix / Workaround

  • Plan: Max ($100/month)
  • Severity: Complete loss of Sonnet access on desktop
  • Users are paying for Max and cannot use Sonnet at all on the desktop app when 1M context credits are exhausted or not enabled
  • The only workaround is switching to Opus (which uses a different rate limit bucket) or using the CLI instead
  • Attempted workaround: setting "largeContext": false in project settings.local.json — no effect
RAW_BUFFERClick to expand / collapse

Bug Description

On the Claude Code desktop app (macOS), Sonnet 4.6 is forced into 1M context mode with no option to select standard 200k context. When usage credits are not enabled, this results in a hard block — Sonnet is completely unusable on desktop.

Error message:

Usage limit reached — API Error: Usage credits required for 1M context · turn on usage credits at claude.ai/settings/usage, or use --model to switch to standard context

The error suggests using --model to switch to standard context, but that's a CLI flag — there is no equivalent in the desktop app UI. The /model sonnet and /model claude-sonnet-4-6 commands in the desktop app still select the 1M context variant.

Impact

  • Plan: Max ($100/month)
  • Severity: Complete loss of Sonnet access on desktop
  • Users are paying for Max and cannot use Sonnet at all on the desktop app when 1M context credits are exhausted or not enabled
  • The only workaround is switching to Opus (which uses a different rate limit bucket) or using the CLI instead
  • Attempted workaround: setting "largeContext": false in project settings.local.json — no effect

Expected Behavior

  1. The desktop app should allow selecting standard context (200k) Sonnet, either via /model or a settings toggle
  2. When 1M context credits are unavailable, the app should gracefully fall back to standard 200k context instead of blocking entirely
  3. The error message should not suggest CLI-only flags (--model) as the fix when running in the desktop app

Steps to Reproduce

  1. Open Claude Code desktop app on Max plan
  2. Use /model sonnet or /model claude-sonnet-4-6
  3. Send any message
  4. Observe: "Usage credits required for 1M context" error with no way to switch to standard context

Environment

  • Claude Code Desktop (macOS, M1 Pro)
  • Version: 2.1.142
  • Plan: Max ($100/month)
  • Model: claude-sonnet-4-6
  • Context window shown: 36.4k / 1.0M (4%)

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

claude-code - 💡(How to fix) Fix Desktop app: No way to use Sonnet with standard (200k) context — 1M context is forced, blocks usage when credits unavailable