[Bug] Anthropic API Error: credit_balance_too_low despite sufficient account credits

Open 💬 27 comments Opened Apr 29, 2026 by ndconsulting

Bug Description
Anthropic API billing issue — workspace shows $105 credit balance ($50 paid invoice cleared today + $50 grant + $5
free), no spend limit blocking ($0 of $55 monthly used), Tier 2 rate limits, single workspace/single key. API
returns 400 credit_balance_too_low on EVERY request including a max_tokens=1 smoke test. Request IDs:
req_011CaYs3ZD1aEGS8FxHHjWaN, req_011CaYqkfQz5LPxgH8e5HWPj. Persisted across two API keys and 90+ minutes after
invoice settlement. Tier-1 support confirmed the workspace config looks correct and routed to engineering. Please
investigate the disconnect between visible credit balance and API billing validation.

Environment Info

  • Platform: win32
  • Terminal: windows-terminal
  • Version: 2.1.121
  • Feedback ID: 027bfee7-5667-4c54-9b80-cb8245ff6ff9

Errors

[{"error":"MaxFileReadTokenExceededError: File content (31252 tokens) exceeds maximum allowed tokens (25000). Use offset and limit parameters to read specific portions of the file, or search for specific content instead of reading the whole file.\n    at Jx_ (B:/~BUN/root/src/entrypoints/cli.js:4906:12810)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-28T22:55:49.453Z"},{"error":"MaxFileReadTokenExceededError: File content (31252 tokens) exceeds maximum allowed tokens (25000). Use offset and limit parameters to read specific portions of the file, or search for specific content instead of reading the whole file.\n    at Jx_ (B:/~BUN/root/src/entrypoints/cli.js:4906:12810)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-28T23:01:44.644Z"},{"error":"MaxFileReadTokenExceededError: File content (26587 tokens) exceeds maximum allowed tokens (25000). Use offset and limit parameters to read specific portions of the file, or search for specific content instead of reading the whole file.\n    at Jx_ (B:/~BUN/root/src/entrypoints/cli.js:4906:12810)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-29T10:45:29.282Z"},{"error":"MaxFileReadTokenExceededError: File content (31252 tokens) exceeds maximum allowed tokens (25000). Use offset and limit parameters to read specific portions of the file, or search for specific content instead of reading the whole file.\n    at Jx_ (B:/~BUN/root/src/entrypoints/cli.js:4906:12810)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-29T10:47:53.641Z"},{"error":"MaxFileReadTokenExceededError: File content (31252 tokens) exceeds maximum allowed tokens (25000). Use offset and limit parameters to read specific portions of the file, or search for specific content instead of reading the whole file.\n    at Jx_ (B:/~BUN/root/src/entrypoints/cli.js:4906:12810)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-29T10:55:30.962Z"},{"error":"Error: Request was aborted.\n    at makeRequest (B:/~BUN/root/src/entrypoints/cli.js:50:3448)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-29T11:38:19.192Z"},{"error":"Error: File does not exist. Note: your current working directory is C:\\claude\\YQB.\n    at call (B:/~BUN/root/src/entrypoints/cli.js:4919:7658)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-29T12:41:33.346Z"},{"error":"Error: Request was aborted.\n    at makeRequest (B:/~BUN/root/src/entrypoints/cli.js:50:3448)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-29T13:07:03.987Z"},{"error":"MaxFileReadTokenExceededError: File content (26587 tokens) exceeds maximum allowed tokens (25000). Use offset and limit parameters to read specific portions of the file, or search for specific content instead of reading the whole file.\n    at Jx_ (B:/~BUN/root/src/entrypoints/cli.js:4906:12810)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-29T13:19:32.444Z"},{"error":"Error: Request was aborted.\n    at makeRequest (B:/~BUN/root/src/entrypoints/cli.js:50:3448)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-29T13:44:11.822Z"},{"error":"Error: 429 {\"type\":\"error\",\"error\":{\"type\":\"rate_limit_error\",\"message\":\"This request would exceed your account's rate limit. Please try again later.\"},\"request_id\":\"req_011CaYBHTj6A97X17K2kvbsU\"}\n    at generate (B:/~BUN/root/src/entrypoints/cli.js:11:57194)\n    at makeRequest (B:/~BUN/root/src/entrypoints/cli.js:50:4943)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-29T13:56:22.635Z"},{"error":"Error: Request was aborted.\n    at makeRequest (B:/~BUN/root/src/entrypoints/cli.js:50:3448)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-29T13:56:22.642Z"},{"error":"Error: 429 {\"type\":\"error\",\"error\":{\"type\":\"rate_limit_error\",\"message\":\"This request would exceed your account's rate limit. Please try again later.\"},\"request_id\":\"re…

Note: Content was truncated.

View original on GitHub ↗

27 Comments

RussianDerpFace · 2 months ago

Hitting the same. Request IDs: req_011CaZMrWi1fpvrPD7TCyJt2 (and others).
Workspace has $35 balance, two paid invoices, $0 spend used, Tier 1 limits,
fresh API key. Direct curl to api.anthropic.com returns same error.

mhhuda-hoeda · 2 months ago

<img width="571" height="487" alt="Image" src="https://github.com/user-attachments/assets/9711920b-d88e-4f73-83b6-069fb9b46dba" />

same problem

hilascs · 2 months ago

Same!!! That's critical. We've got projects to run.

ductiletoaster · 2 months ago

+1 same symptom on a fresh workspace, rotated multiple api keys and made two payments just in case.

Setup:

  • Single Anthropic workspace, single API key
  • Funded $20 today (2026-04-29)
  • $0 of monthly spend used; spend limits look correct in console
  • Tested with two separately-rotated keys — both reject identically

Diagnostic data:

  • Request ID: req_011CaZJP8Uh4wJ7F8USUmKwt
  • Anthropic-reported org ID: 18a8a9fd-… (masked, available on request)
  • /v1/models with the same key: HTTP 200, returns full model list (so auth + workspace are fine)
  • /v1/messages with max_tokens: 50 and a 2-token prompt: HTTP 400 credit_balance_too_low

Curl that reproduces it:

curl "https://api.anthropic.com/v1/messages" \
  -H "x-api-key: <fresh key from funded workspace>" \
  -H "anthropic-version: 2023-06-01" \
  -H "Content-Type: application/json" \
  -d '{"model":"claude-sonnet-4-20250514","max_tokens":50,"messages":[{"role":"user","content":"reply ok"}]}'

The rejection is at Anthropic's billing edge (x-envoy-upstream-service-time: 125ms) — never reaches the model. Confirms the OP's "billing apply disconnect" hypothesis.

crkandrei · 2 months ago

Same issue here. Added $15 in credits but still stuck.

fernandocardia · 2 months ago

Same here

<img width="1127" height="578" alt="Image" src="https://github.com/user-attachments/assets/5cc509a2-347b-4355-939f-b9a8bffac8e7" />

Allen161201 · 2 months ago

+1 — same issue, blocked since 12h after Stripe settlement.

  • Single Default workspace, single active key (fingerprint 4729104f), Tier 1
  • Console: $30.00 balance + valid grant (exp May 1, 2027); spend $0.00 of $100/mo
  • Banner "To get started... purchase some credits" rendering on the same page as the $30 balance — same billing-vs-auth desync described above
  • 400 credit_balance_too_low on every call, including max_tokens=1 smoke test
  • Request IDs: req_011CaZEjPiZoTXZCFNDKnZEU, req_011CaZDWucBHCPTJgq9crBBC
  • Support conversation: 215474119448976 (auto-closed by Fin overnight, re-escalated via email)
RussianDerpFace · 2 months ago

Issue seems to be resolved guys. Not sure what exactly changed but my api calls are going through now.

ndconsulting · 2 months ago
Issue seems to be resolved guys. Not sure what exactly changed but my api calls are going through now.

I'm still having the issue.

holman · 2 months ago

I'm not sure either, but I've had the error for ~12 hours, kicked off an AI help conversation with them this morning, and then in the middle of that I did a hard cache refresh in my browser and somehow one of those things seemed to have fixed it? Seems to have been something in those actions because it went from "To get started with the Claude API, purchase some credits." to totally fine within two refreshes of the page within like a minute or two. Spooky AI at a distance, maybe.

Allen161201 · 2 months ago

Problem resolved. Mine is now working.

ndconsulting · 2 months ago

Seems to be resolved for me. I had to delete my key and create a new one.

hernantech · 2 months ago

same here: authenticated key, no usable balance for inference. Hard refresh did not clear it.

ismetdemirer · 2 months ago

Same Heree!!! Paid invoice #2AE8C19E-0029 ($50 + $10 VAT) on May 1, 2026 via Link by Stripe. Console shows $50 balance with valid credit grants expiring 2027, but the red banner “To get started with the Claude API, purchase some credits” persists and API requests are blocked.
Not my first purchase — long history of paid invoices on this account. Issue persists across browser refresh and new API keys. Looks identical to GitHub issue #54839.
Support ticket already submitted. Please prioritize — this is blocking production work.

hilascs · 2 months ago
Seems to be resolved for me. I had to delete my key and create a new one.

Resolved for me as well. Also, just got this email from Anthropic:

"Hi,
You may have experienced a brief disruption to Claude API after purchasing credits. Here's what happened and what we've done.
Between approximately 7:00 AM PT on April 29, 2026 and 8:00 AM PT on April 30, 2026, some new API organizations were unable to make requests after purchasing credits. While these organizations’ balances were correct, our system incorrectly blocked requests as if the account had no credits available. We've fixed the issue and restored access to your account. Your purchased credits remain available, and no action is needed on your end.
We apologize for any disruption this may have caused, especially as you're just getting started. Happy building with Claude!
The Anthropic Support team"

mzander · 2 months ago

I have the same issue. How did you reach the support?
RequestID: req_011CacjihMaAcYs5gdwUFEbq

jpelm · 2 months ago

<img width="1905" height="764" alt="Image" src="https://github.com/user-attachments/assets/45a8e95b-e0a2-4bc0-831a-6e05e4c5b784" />
Same here.

Matthew-Hibbins · 2 months ago

I have exactly the same issue. The issue just started within the last 24 hours.

hilascs · 2 months ago
I have the same issue. How did you reach the support? RequestID: req_011CacjihMaAcYs5gdwUFEbq

https://support.claude.com/en/

Just click the chatbox icon. However, they take a long time to reply. From what I can tell, this is happening with all new Claude Console accounts. Waiting a few hours or even a couple of days will probably help, and they should also send you an email once it’s fixed. Apparently, they’re applying manual, case-by-case fixes instead of addressing the root cause of the issue, which sucks.

dannysusername · 2 months ago

Seems like a genius idea to cause people to panic and buy more credits.

IISuperluminaLII · 2 months ago

jesus come on dario what is going on

IISuperluminaLII · 2 months ago

are you guys pulling an Uber, you guys are pulling an Uber pre IPO aren't ya

davebrougham · 2 months ago

Experiencing the same problem on my account currently

MightBeMonika · 2 months ago

I bought some credits yesterday and thought the site was just being slow. Still unable to use them.

mzander · 2 months ago
I bought some credits yesterday and thought the site was just being slow. Still unable to use them.

same here... I bought it around 24 hours ago, still not usable

dvianabarbosa · 2 months ago

I have the same issue,

creatorldn · 1 month ago

same, bought credits and unable to use