Skip to content

[BUG] Claude Code defaults to 1M context on fresh session with no workaround on Pro plan #62063

Description

@kev124-hub

Preflight Checklist

  • I have searched existing issues and this hasn't been reported yet
  • This is a single bug report (please file separate reports for different bugs)
  • I am using the latest version of Claude Code

What's Wrong?

Here's a clean bug report summary you can paste directly into GitHub:


Title: Claude Code defaults to 1M context on fresh session with no workaround on Pro plan

Plan: Pro ($20/month)
OS: macOS
Interface: Claude Code desktop app
Claude Code version: Latest

Description:
On a brand new session with no files open and no prior context, Claude Code throws the following error immediately:

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

I never requested 1M context. Session usage was at 0% (5-hour window: 5%, 7-day: 11%) when the error occurred.

Steps to reproduce:

  1. Open Claude Code desktop app on Pro plan
  2. Start a fresh session
  3. Error appears immediately without any prompt or file loaded

Attempted workarounds — none resolved it:

  • claude --model claude-sonnet-4-5 — same error
  • claude --model claude-sonnet-4-6 — same error
  • claude logoutclaude login with Pro credentials only — same error

Expected behavior: Standard context window used by default on a fresh session. Pro plan should not require usage credits for standard context.

Actual behavior: 1M context is selected automatically with no way to override it via --model flag.


That's everything they need to reproduce it. Post it at github.com/anthropics/claude-code/issues.

What Should Happen?

Standard context window used by default on a fresh session. Pro plan should not require usage credits for standard context.

Error Messages/Logs

Usage limit reached
You've reached your usage limit. Try again after your limit resets.
View details
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

Steps to Reproduce

  1. Open Claude Code desktop app on Pro plan
  2. Start a fresh session
  3. Error appears immediately without any prompt or file loaded

Claude Model

Sonnet (default)

Is this a regression?

Yes, this worked in a previous version

Last Working Version

No response

Claude Code Version

claude --version returns usage error

Platform

Anthropic API

Operating System

macOS

Terminal/Shell

Terminal.app (macOS)

Additional Information

No response

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions