Monetization Gateway beta: charge AI agents for consumption with HTTP 402
Cloudflare opened a closed beta of Monetization Gateway so sites can charge AI agents per request via HTTP 402.
Cloudflare opened Monetization Gateway in closed beta so domain owners can charge AI agents for websites, APIs, MCP tools, or datasets. The gateway uses HTTP 402 Payment Required, with buyers authorizing payment inline and settlement through Coinbase's x402 Facilitator in USDC on the Base blockchain. Sellers write pricing rules that match URL, headers, or query parameters. U.S.-based Cloudflare customers can also pay for selected AI Gateway inference at request time using a Payment-Method: x402 header, with an example request to z-ai/glm-4.7-flash.