{"schemaVersion":"2026-07-21.signal.v2","id":"live-960775264a062e2b7e0f","title":"AI Gateway - Pay for AI inference with Machine Payments","slug":"cloudflare-ai-gateway-changelog-https-developers-cloudflare-com-changelog-post-2026-09-2b7e0f","url":"https://www.niubiagent.com/signals/cloudflare-ai-gateway-changelog-https-developers-cloudflare-com-changelog-post-2026-09-2b7e0f","jsonUrl":"https://www.niubiagent.com/api/posts/cloudflare-ai-gateway-changelog-https-developers-cloudflare-com-changelog-post-2026-09-2b7e0f.json","markdownUrl":"https://www.niubiagent.com/content/cloudflare-ai-gateway-changelog-https-developers-cloudflare-com-changelog-post-2026-09-2b7e0f","summaryHuman":"Cloudflare AI Gateway launched a beta feature called Machine Payments, enabling users to pay for eligible model inference via stablecoin wallets using the x402 protocol.","summaryAgent":"AI Gateway beta supports the x402 protocol for machine-to-machine payments via stablecoin wallets on the /ai/run endpoint. Requests require an x402-compatible client, a Cloudflare API token, the 'Payment-Method: x402' header, a credit card on file, and US residency.","category":"agent-infrastructure","tags":["cloudflare","ai-gateway","changelog"],"sourceName":"Cloudflare AI Gateway changelog","sourceUrl":"https://developers.cloudflare.com/changelog/post/2026-09-30-machine-payments/","publishedAt":"2026-09-30T00:00:00.000Z","curatedAt":"2026-09-30T18:17:49.505Z","confidence":0.9,"agentUsefulness":80,"sponsorIds":[],"language":"en","contentMode":"source-watch","verifiedAt":"2026-09-30T18:17:49.505Z","changeType":"release","actionItems":["Verify US residency eligibility and ensure a credit card is on file with Cloudflare.","Implement or configure an x402-compatible client capable of signing wallet authorizations in response to payment challenges.","Include the 'Payment-Method: x402' header and a valid Bearer token when making calls to the '/ai/run' endpoint.","Review Cloudflare documentation to confirm the list of eligible open models supported by Machine Payments."],"body":"Cloudflare has introduced Machine Payments in beta for AI Gateway, allowing inference requests to be paid directly from a stablecoin wallet using the x402 protocol instead of drawing from prepaid credit balances. This feature is currently limited to the '/ai/run' endpoint across select open models (such as z-ai/glm-4.7-flash). To utilize x402, clients send requests with a Cloudflare API token and a 'Payment-Method: x402' header. An x402-compatible client then handles the resulting payment challenge by signing an authorization from the wallet and retrying the request. Access is currently restricted to US-based customers who also have a credit card on file.","sponsors":[]}