Fix Claude Code "spend limit reached" (gateway cap)
Lowercase "spend limit reached" in Claude Code is a cap set by your gateway operator. A date means it resets at 00:00 UTC that day; no date, ask the operator.
spend limit reached · resets Dec 1Lowercase spend limit reached means you connect through a Claude apps gateway and passed a spend cap your gateway operator set. If the message has a date, the cap resets at 00:00 UTC on that date. If it has no date, either your cap is $0 (a reset never lifts it, so only the operator can raise it) or the gateway runs a version older than v2.1.225, which prints no date even for a cap above $0 that resets on schedule.
First, rule out the look-alike. Messages that start with a capital You've hit your monthly spend limit (or individual, org's, team's shared budget, channel's) are your own subscription or organization usage-credit limits, not a gateway's. For those, see Fix Claude Code "You've hit your monthly spend limit". This page covers only the cap your gateway operator sets: lowercase spend limit reached and This request exceeds your group's budget. The official docs make the same split and send lowercase readers to the gateway section.
[1] Check whether the message has a date. The docs distinguish two cases.
| Message | Meaning | What to do |
|---|---|---|
spend limit reached · resets Dec 1 (date) | Cap is above $0 and resets at 00:00 UTC that date | Wait, or follow the operator's note in the message |
spend limit reached (no date) | Cap is $0 (never resets), or the gateway is older than v2.1.225 (prints no date even when the cap resets) | Ask the operator which it is, and to raise the cap if needed |
Any text after the date is a note the operator wrote. If the operator configured a custom message, you may see a request link, such as spend limit reached · resets Dec 1 · request an increase at https://go.example.com/claude-limits. Use it when it's there.
[2] If there is a date, read it as UTC and wait. Caps reset on UTC calendar boundaries: daily at 00:00 UTC, weekly on Monday, monthly on the first. When you're over several caps at once, the message describes the one that resets last.
[3] Ask the operator if there is no date, if you're still blocked after the date, or if you hit the cap routinely. Those are the three cases the docs name. A useful request includes:
- The full message, including whether it had a date
- When you were blocked and what you were running (many parallel agents, for example)
- Which period you suspect: daily, weekly, or monthly
Operators can set caps per user, per identity-provider group, or as an org-wide default, each with its own daily, weekly, or monthly period. A group or org cap is a per-seat default every member inherits, not a shared pool, so your own spend is what trips it. The operator can look up the cap that applies to you through the gateway's admin API.
[4] Don't wait for an automatic retry. The gateway marks each blocked 429 response x-should-retry: false, so Claude Code shows the message without retrying. Setting CLAUDE_CODE_RETRY_WATCHDOG=1 for unattended runs doesn't change that: per the docs, from v2.1.239 it fails at once on a spend-limit 429, even a gateway cap that resets on a schedule. This is a different kind of 429 from a temporary capacity throttle; for that one, see Claude Code 429: rate limit or outage.
This request exceeds your group's budget
This request exceeds your group's budget. Ask your organization's admins to raise it, or try again after it resets on November 1 at 00:00 UTC.This is the gateway's second message. Your group's pooled budget is used up. Follow what it says: ask your organization's admins to raise it, or retry after the reset time in the message (November 1 at 00:00 UTC in this example). Unlike a per-seat cap, what other members of the group spent counts against it. How pooled budgets are consumed is described in the operator docs (the pooled budget order section), which this page didn't check.
spend limit unavailable is a different problem
spend limit unavailable does not mean you went over. The gateway could not read its spend records and blocked the request as a precaution. The docs say it usually clears on its own; if it persists, tell your gateway operator. It appears only when the operator configured the gateway to fail closed when its store (Postgres) is unreachable, and it carries no period or reset time.
If you saw an older wording
The message depends on the gateway server's version. The docs describe this progression:
| Gateway server version | Message |
|---|---|
| Before v2.1.225 | spend limit reached (no period or reset time) |
| v2.1.225 up to v2.1.319 | spend limit reached (daily; resets 2026-08-09 00:00 UTC), period and time in parentheses |
| v2.1.319 and later | spend limit reached · resets Dec 1, date only |
The "no date means old gateway" rule above applies to versions before v2.1.225. If you see the parenthesized form, you're on a middle version, and the time inside is the reset time.
Check it with the HTTP status codes tool ↗ — calculated in your browser.