cd /news/ai-infrastructure/breaking-cloudflare-amount-is-no-lon… · home › topics › ai-infrastructure › article
[ARTICLE · art-153130] src=driftwatch.et ↗ pub= topic=ai-infrastructure verified=true sentiment=· neutral

Cloudflare: amount is no longer accepted

Cloudflare's published API specification now omits the `amount` field from `POST /accounts/{account_id}/ai-gateway/billing/topup/config`, so requests that still send it succeed but the value is silently ignored rather than rejected. The change affects code posting top-up configuration to the AI Gateway billing endpoint, which will no longer apply the submitted amount. Developers are advised to search their codebases for the field, since no error will signal the behavior change.

read1 min views2 publishedOct 16, 2026

What changed #

Usually ignored rather than rejected, so the call succeeds and does something subtly different.

Affects amount on POST /accounts/{account_id}/ai-gateway/billing/topup/config. Grep for it: nothing else will tell you.

Who is affected #

Code that sends POST /accounts/{account_id}/ai-gateway/billing/topup/config (amount).

Before and after #

Where Before After
POST /accounts/{account_id}/ai-gateway/billing/topup/config · amount present absent

Code that breaks #

await client.post("/accounts/{account_id}/ai-gateway/billing/topup/config", {
  // amount is now ignored, not rejected
  amount: value,
});

Based on Cloudflare’s published API specification. How severity is decided.

── more in #ai-infrastructure 4 stories · sorted by recency
── more on @cloudflare 3 stories trending now
sponsored brought to you by zahid.host 4,200+ EU-deployed projects
reading about agents? ship yours in a single git push.

Run your AI side-project on zahid.host

EU-based hosting, git-push deploys, automatic HTTPS, no cold starts. Free tier with a custom domain — perfect for shipping the agent you just read about.

$git push zahid main
→ Live at https://your-agent.zahid.host ✓
Get free account → Pricing
from €0/mo · no card required
LIVE [news/breaking-cloudflare-…] indexed:0 read:1min 2026-10-16 · —