Claude Code error
Claude Code: Credit balance is too low
Credit balance is too lowStatus: WorkaroundLast verified 3 documented fixes1 source
What it means
Your Console organization has run out of prepaid credits, or Claude Code is sending requests with a Console API key when you meant to use your subscription.
Causes
- Exhausted prepaid Console credits
- An approved ANTHROPIC_API_KEY in your environment overriding your Pro, Max, Ultra, Team, or Enterprise subscription
How to fix it
- Fix 1.
If you have a subscription plan, run /status and check the API key row. Unset ANTHROPIC_API_KEY in the current shell and remove it from your shell profile, then relaunch claude. Run /login if you have not signed in with your subscription.
Terminalunset ANTHROPIC_API_KEY - Fix 2.
Add credits at platform.claude.com/settings/billing and consider enabling auto-reload.
- Fix 3.
Set per-workspace spend caps in the Console to prevent a single project from draining the org balance.
More Claude Code errors
All 18 Claude Code errorsAPI Error: 500 Internal server error. This is a server-side issue, usually temporaryStatus: WorkaroundAPI Error: Repeated 529 Overloaded errors. The API is at capacityStatus: WorkaroundAPI Error: 400 {"type":"error","error":{"type":"invalid_request_error","message":"messages.5: `tool_use` ids were found without `tool_result` blocks immediately after: toolu_01FRvEykWmCgrgJ22mvBbKhV. Each `tool_use` block must have a corresponding `tool_result` block in the next message."}}Status: OpenUnable to connect to API. Check your internet connectionStatus: WorkaroundUnable to connect to API: SSL certificate verification failed (UNABLE_TO_GET_ISSUER_CERT_LOCALLY).Status: WorkaroundPlease run /login · API Error: 401 OAuth token has expiredStatus: WorkaroundOAuth error: timeout of 15000ms exceededStatus: OpenPrompt is too longStatus: Workaround
Related reading
- Claude Agent SDK Credits End the Subscription ArbitrageClaude Agent SDK credits split programmatic agent usage from subscription usage on June 15. What changed and how to budget agent work in separate lanes.
- How to Build Agents That Run for Hours: Anthropic's Planner, Generator and Evaluator HarnessAnthropic Applied AI's Ash Prabaker and Andrew Wilson trace how Claude went from 20-minute runs to multi-hour builds, and the GAN-style planner, generator and evaluator harness behind their one-shot apps.
- Why One Agent Isn't Enough: Anthropic on Flows, UltraCode and Running 1,000 AgentsCJ Avilla and Harrison Stall of Anthropic on multi-agent topologies: lessons from Unix, OS/360 and Linux, Dynamic Workflows in Managed Agents, and when to use Flows vs UltraCode.
- The Claude Certified Architect Exam as a Field Guide to Agentic EngineeringUC Berkeley's Frank Coyle reads Anthropic's Claude Certified Architect exam as a map of production agent design: five domains, six scenarios and the anti-patterns each one tests.
- Claude Tag Lands 65% of Anthropic's Product PRs: Takeaways From Cat Wu and Thariq ShihiparCat Wu and Thariq Shihipar talk with Simon Willison about Fable, Claude Tag landing 65% of product engineering PRs, why rewrites are good now, and Anthropic's culture.
- Claude Ship: How PR Steward and Claude Approvals Change Code ReviewAnthropic's Claude Ship adds PR Steward and Claude Approvals to Code Review. What each agent does, the approvals.yml policy, billing, and a safe rollout order.
FAQ
What does "Credit balance is too low" mean in Claude Code?
Your Console organization has run out of prepaid credits, or Claude Code is sending requests with a Console API key when you meant to use your subscription.
How do I fix "Credit balance is too low"?
There are 3 documented fixes. Start with the first: If you have a subscription plan, run /status and check the API key row. Unset ANTHROPIC_API_KEY in the current shell and remove it from your shell profile, then relaunch claude. Run /login if you have not signed in with your subscription.
Is this Claude Code error fixed?
Status: Workaround. No release removes the cause. The documented fixes work around it.
Sources
Last verified against 1 source: official docs, maintainer replies and release notes.
Newsletter
Fixes for the tools you use, weekly
One email per week. New coding agent releases, what broke, and how developers are working around it.