Skip to content

BuildNot yet confirmed elsewhere1 publisher3 min readPublished

A $115-an-hour agent loop can drain a $500 monthly hard cap in about four hours

OpenAI, Google and Vercel offer hard spend caps that reject requests, with Anthropic's in early access, a dev.to comparison found. The caps are monthly and enforced with a delay, and the post says none of them stops a single bad hour on its own.

The Engineer · Build desk

How we use AISend a correction

Illustration accompanying A $115-an-hour agent loop can drain a $500 monthly hard cap in about four hours
Generated illustration
Google's billing data can lag behind the spend Delays Google says its cost and billing data can take, per a dev.to post, and the extra spend a 10-minute lag allows at $115 an hour.

Key figures: Google says actual costs on Google Cloud can take more than 24 hours to process. Billing data for Gemini project caps can lag by about 10 minutes. A 10-minute lag at $115 an hour is roughly $19 of additional spend.

Google's billing data can lag behind the spend
FigureValueNoteClaim
Time for Google Cloud actual costs to process, more than24 hours4
Gemini project cap lag10 minutes, about3
Extra spend in a 10-minute lag, roughly19 dollarsat $115 an hour23

What happened

  • OpenAI returns HTTP 429 with a named spend-limit code once a limit is hit, resumes at the monthly reset or when the limit is raised, and says enforcement is not instantaneous.
  • Anthropic's monthly limits can be set through the API only in early access, and the post says that route requires contacting your account team.
  • Vercel AI Gateway sets budgets at team, project, API key and team member scope, the finest-grained of the vendors the post covers.

Why it matters

  • constraint Gemini's billing-account tier cap pauses the service for every linked project until the 1st of next month, so one project's loop stops all of them.
  • exposure Gemini project caps are marked experimental and may be exceeded by batch mode and agent sessions, so the workload most likely to loop is the one the cap may miss.
  • decision Teams have to build the hour-level control themselves. The post puts a cheap daily check at the tool-call layer, beneath the vendor's monthly cap.
  • contradiction The post says enforcement lags in every hard cap, yet its Vercel row describes a check before each request. The excerpt ends before saying whether Vercel's usage data lags.

The $115 figure is a scenario with a condition attached. The agent is in a retry loop on Claude Opus 5.5, and every turn re-sends a 150K-token context uncached [24]. The passage does not include the per-token price or the turn rate behind the number. For it to transfer to your workload, your loop has to send the full context uncached on every turn. A workload that caches its context is outside it.

When a soft alert's threshold is crossed, someone gets an email and requests still go through. Crossing a hard cap's threshold gets an error back instead [14]. In OpenAI's guide, spend alerts are described as not enforcing a cap [18]. An unattended agent produces spend at machine speed, and the alert goes to a human who is asleep [15]. Simon Willison made the same argument on 3 October 2026, according to the post: a soft cap is not enough, and most people would rather get an error than an unexpected $10,000 bill [16].

Take the post's example, a monthly $500 cap. The post says one bad night can eat a large share of it before anyone looks [9]. At $115 an hour the loop reaches $500 in about 4.3 hours [22]. Lag adds to that. Google says billing data for Gemini project caps can trail by about 10 minutes [3], which is roughly $19 of extra spend at the same rate [23]. Google also says actual costs on Google Cloud can take more than 24 hours to process [4].

The scopes differ. OpenAI enforces at organization and project level [19]. Google Cloud's Spend Caps cover one project and one eligible service, and requests already in flight finish and accrue charges [13]. Vercel budgets apply at team, project, API key and team member scope [6]. A team on several providers sets a differently shaped limit in each.

Anthropic's row has the widest gap. The post says Anthropic documents the limit but not the failure behaviour [21]. Google's tier cap also has no documented error code [20]. We think that is the first thing to check, because a retry loop can only stop on an error it recognises. OpenAI's cap returns a named code for each scope [2], so a harness can match it. Where the code is undocumented, the harness is guessing.

AWS is the least settled row. The post calls AWS project spend limits a limited release and could not verify Bedrock-specific behaviour on any official AWS page [25]. It relays Willison quoting AWS that the project is paused for the month, and a Hacker News commenter's report of a deletion warning after 90 days, and says to treat both as unverified [26].

By the post's account, every cell in its table comes from vendor documentation or a source named in the row [17]. The table therefore records what vendors say a cap does, and says little about how one behaves under a loop. In our view a vendor cap is the right ceiling for an unattended agent. It needs a faster control beneath it, because a monthly limit that trips at hour four has already used the whole month's allowance [22].

What to watch

  • Anthropic documenting the failure behaviour of its spend limits and moving API-set limits out of early access.
  • AWS publishing Bedrock-specific spend limit behaviour on an official page, which would settle the unverified pause and deletion reports.
  • Any vendor adding an hourly or daily scope to its hard cap, since every cap in the post is monthly or close to it.

Clarity's read

What the record supports and how the coverage leans. The claims behind it follow.

Reality

Evidence55
Adoption
Insufficient
Hype gap+15
Incentives
Insufficient
Confidence58
Why these scores

Claim ledger

Ranked by verification strength, evidence, and original report placement.

  1. [1]

    Hard caps exist at OpenAI, Google (Gemini API and Google Cloud), Vercel AI Gateway and, in early access, Anthropic. They are monthly, enforced with a delay, and scoped differently at every vendor.

    ReportedSupportedSource: dev.to postView cited source
  2. [2]

    OpenAI's hard limit returns HTTP 429 with organization_spend_limit_exceeded or project_spend_limit_exceeded, resumes when the limit is raised or at the monthly reset, and OpenAI says enforcement is not instantaneous.

    ReportedSupportedSource: dev.to post, citing OpenAI documentationView cited source
  3. [3]

    Google says billing data can lag by about 10 minutes for Gemini project caps.

    ReportedSupportedSource: dev.to post, citing Google documentationView cited source

Sources

1 independent publisher whose own reporting we read for this story.

  1. dev.to

    1 article · October 12, 2026

    Claude Code Spend Limit: Hard Caps That Stop a Runaway Bill

Share your take

Let Clarity write the post for you.

Signed-in readers get a short post drafted on this story in the register they choose — narrative, analytical, or a direct position — editable to the last word before it goes anywhere. The share buttons at the top of this story work without an account.

Topics and entities

Follow any of these and your For You feed starts watching them — no settings page required.

Topics

Loading related stories