Claude Code Shows 50% but Warns About Weekly Limit: What to Check
What to do when Claude Code triggers a weekly usage limit warning while the session indicator shows capacity: diagnostic steps, session handoffs, and subscription vs API separation.
Developers actively using Claude Code in their terminal environments occasionally encounter unexpected behavior: the local utility indicator shows that the active session or context window is only half full (e.g., 50%), yet the tool displays a warning such as Approaching Weekly Usage Limit or stops processing prompts. This issue stems from a mismatch between different tracking layers: the local progress indicator reflects the immediate session context size, whereas the remote cloud server enforces an aggregate weekly or rolling billing plan limit. In this troubleshooting guide, we cover how to pinpoint the error cause, preserve work-in-progress, and avoid losing session state.
Understanding Counter Differences: Context Window vs Weekly Limits
To understand why this happens, it is essential to distinguish between three independent usage metrics:
- Session Context Window Indicator: Measures how much of the active token window (e.g., 200k tokens) is currently occupied by your chat history, system instructions, and loaded repository files. A 50% reading simply indicates that half of the current session context remains available.
- Rolling Weekly Subscription Limit: A usage ceiling on total computational tokens or requests permitted under your monthly plan over a 7-day rolling window. If you ran intensive multi-step coding tasks earlier in the week, this quota may deplete even if your current session was just started.
- API Rate Limits and Balances: When connecting directly via API keys, execution is governed by rate limits (RPM/TPM) and the available account token balance rather than web plan allowances.
When terminal coding requires unconstrained access without web queue delays, many engineers configure dedicated API channels with custom keys. For example, via BetterToken, you can access AI coding models with transparent usage metrics, paying only for the tokens consumed. Detailed instructions on configuring external API keys in terminal agents are available in BetterToken Docs.
Diagnostics and Quota Status Verification
When a limit warning appears, avoid spamming retries to prevent extending potential cooldown blocks. Follow these systematic verification steps:
Step 1: Record the Exact Error Message
Examine the exact console output in your terminal:
Approaching weekly usage limit— Preemptive notification that your 7-day consumption threshold is near.You have reached your usage limit— Complete pause on incoming requests until the rolling window resets.HTTP 429 Too Many Requests— Temporary concurrency limit hit or exhausted API credit balance.
Step 2: Check Your Web Dashboard
Navigate to the usage analytics page in your provider dashboard:
- Verify the exact date and timestamp for the upcoming rolling reset (Reset Time).
- Review historical consumption charts to identify daily spikes in token usage.
When to Stop the Task and How to Perform a Context Handoff
If the weekly quota is near exhaustion, attempting to push through a complex refactor is risky, as the session could freeze mid-flight.
Execute a safe handoff procedure:
- Snapshot Your Git Workspace: Commit all uncommitted changes to a dedicated safety branch:
-
Generate a Handoff Document (
HANDOFF.md): Detail completed milestones, pending implementation tasks, and files awaiting manual verification. This enables a subsequent session to resume immediately without re-reading the entire codebase. -
Terminate the Active Process: Close the current terminal instance to prevent unwanted background polling loops.
Subscription Plans vs Direct API Gateways
A common misconception is that topping up API balance will lift usage restrictions on a Claude Code web plan, or vice versa.
Differentiating between these operational models enables a resilient workflow: utilizing base subscriptions for casual interactions while switching to dedicated API gateways for heavy multi-file engineering tasks.