Skip to content

[BUG] API Error: Usage credits required for 1M context #63060

Description

@Zamhinio94

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?

Keep getting the 'API Error: Usage credits required for 1M context' error - however I still have usage remaining and it has not been more than usual amounts...

What Should Happen?

Claude should not give this error and work successfully

Error Messages/Logs

'API Error: Usage credits required for 1M context'

Steps to Reproduce

n/a

Claude Model

Sonnet (default)

Is this a regression?

I don't know

Last Working Version

2.1.121

Claude Code Version

2.1.121

Platform

Anthropic API

Operating System

macOS

Terminal/Shell

Terminal.app (macOS)

Additional Information

Image Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    api:anthropicarea:costbugSomething isn't workingduplicateThis issue or pull request already existsplatform:macosIssue specifically occurs on macOS

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions