[BUG] I am getting out of usage error but already have tokens and limits API Error: 400 - Invalid Request You're out of extra usage. Add more usage credits at: https://claude.ai/settings/usage Then retry your request

Resolved 💬 14 comments Opened Apr 8, 2026 by marvin-mukul Closed May 24, 2026

Preflight Checklist

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

What's Wrong?

Claude Code CLI throws a 400 API error with message "You're out of extra usage" even when the user has sufficient Claude.ai Pro plan credits and has not exceeded any usage limits. The error occurs mid-session without warning.
Error received:
API Error: 400 {"type":"error","error":{"type":"invalid_request_error","message":"You're out of extra usage. Add more at claude.ai/settings/usage and keep going."},"request_id":"req_011CZqkDa5AAhEqhqrP8xE8s"}

What Should Happen?

Claude Code CLI should continue working normally as long as the user is within their Pro plan limits. If usage is genuinely exhausted, the error message should clearly distinguish between:

Claude.ai chat usage
Claude Code CLI usage

And should not show this error when the user still has available credits/quota. Previously, Claude Code worked without hitting this error under the same usage conditions.

Error Messages/Logs

API Error: 400 - Invalid Request

You're out of extra usage. 
Add more usage credits at:
https://claude.ai/settings/usage

Then retry your request.
Request ID: req_011CZqmGbtkPZ5vNYZPM5uJL


Claude Code v2.1.15                                                                                                                                                               
▝▜█████▛▘  Sonnet 4.5 · Claude Pro                                                                                                                                                           
  ▘▘ ▝▝    ~/MyWork                                                                                                              
                                                                                                                                                                                             
❯ hi                                                                                                                                                                                         
  ⎿ API Error: 400 {"type":"error","error":{"type":"invalid_request_error","message":"You're out of extra usage. Add more at claude.ai/settings/usage and keep                               
    going."},"request_id":"req_011CZqkYPPVyAAcLk77qBd4k"}                                                                                                                                    
                                                                                                                                                                                             
❯ /usage                                                                                                                                                                                     
  ⎿  Status dialog dismissed                                                                                                                                                                 
                                                                                                                                                                                             
❯ /status                                                                                                                                                                                    
  ⎿  Status dialog dismissed                                                                                                                                                                 
                                                                                                                                                                                             
❯ /doctor                                                                                                                                                                                    
  ⎿  Claude Code diagnostics dismissed

Steps to Reproduce

  1. Have an active Claude.ai Pro subscription
  2. Open terminal and run Claude Code CLI (claude)
  3. Start a coding task or conversation
  4. After some usage, the following error appears without warning:

API Error: 400 {"type":"error","error":{"type":"invalid_request_error",
"message":"You're out of extra usage. Add more at claude.ai/settings/usage
and keep going."},"request_id":"req_011CZqkDa5AAhEqhqrP8xE8s"}

  1. Checking claude.ai/settings/usage shows:
  • Weekly limit: only 15% used
  • Session usage: only 2% used
  • Extra usage: $0.00 spent
  • Balance available: $36.07

Claude Model

Sonnet (default)

Is this a regression?

Yes, this worked in a previous version

Last Working Version

_No response_

Claude Code Version

2.1.15

Platform

Anthropic API

Operating System

Ubuntu/Debian Linux

Terminal/Shell

Terminal.app (macOS)

Additional Information

  • Error occurs even though usage dashboard shows plenty of remaining quota
  • Extra Usage toggle is OFF — error should not appear when limits aren't hit
  • This behavior was not present in earlier versions
  • The error message is misleading — it suggests buying more credits

even when the user has $36.07 balance and low usage

  • Claude.ai chat interface works fine; issue is specific to Claude Code CLI

Current session
███ 6% used
Resets 3:30pm (Asia/Calcutta)

Current week (all models)
███████▌ 15% used
Resets Apr 13, 9:30am (Asia/Calcutta)

Extra usage
Extra usage not enabled • /extra-usage to enable

View original on GitHub ↗

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