Cloudflare opens Monetization Gateway beta to charge AI agents via HTTP 402

Cloudflare has opened a closed beta of its Monetization Gateway, a service that lets domain owners charge AI agents for access to websites, APIs, MCP tools or datasets using the HTTP 402 Payment Required status code. According to Cloudflare, four customer use cases are already running in production.
- Cloudflare's Monetization Gateway is in closed beta, with access requested through the Cloudflare Dashboard.
- It uses HTTP 402 so agents can pay inline with a request, with settlement in USDC on the Base blockchain via Coinbase's x402 Facilitator.
- Sellers set pricing rules based on URL, headers or query parameters and pick from several pricing schemes.
- Cloudflare AI Gateway, Ceramic.ai and Stocktwits are among the customer use cases described as live.
- U.S.-based Cloudflare customers can pay for AI Gateway inference at request time using the header PAYMENT-METHOD: x402.
A paywall for agents
Cloudflare says the Monetization Gateway lets sellers charge agents for any resource behind its network, priced per use. The company describes it as built for resources where every request is the use, such as APIs, tools and data. For high-value content that may be crawled once and used many times, Cloudflare points to its Pay Per Use offering, a trusted network of verified buyers who report each use and pay for it.
The gateway relies on HTTP 402 so that a buyer can offer payment inline with the request itself. According to Cloudflare, there is no redirect to a checkout page and no separate payment API to call. Sellers define which requests require payment, the cost and where the money should be sent. Buyers receive payment instructions, sign an authorization and get the resource once payment has settled. Cloudflare calls the simplest form a 'paywall for agents'.
Sellers write pricing rules that match any part of a request, such as the URL, headers or query parameters, and choose from several pricing schemes. Cloudflare says it handles payment verification and settlement through Coinbase's x402 Facilitator, as well as failures, retries, analytics and protocol changes. Payments settle on the Base blockchain using USDC, a stablecoin pegged to the U.S. dollar.
Why Cloudflare argues subscriptions do not fit agents
Cloudflare argues that subscriptions and prepaid credits require a considerable upfront investment, which pushes buyers to limit themselves to a few services. That model, the company says, does not match how agents operate. Agents seek outcomes and may visit new sites, call MCP tools or ingest data feeds along the way.
Cloudflare says payments need to match an agent's consumption unit: per request, per search query or per token. In its view, popular payment rails assume high latency, large transaction values and a well-known buyer, while agents need cheap, fast and reliable rails that scale with minimal human intervention. The company says stablecoin transactions and their underlying blockchains can support those requirements today, and adds that existing networks may introduce solutions or new payment networks may appear over time.
Looking ahead, Cloudflare plans to help sellers make services discoverable to agents, expose logs for all transactions, support additional payment rails and incorporate identity primitives.
Customers already using it
The first example is Cloudflare's own AI Gateway, a control plane and model marketplace that gives developers access to hundreds of AI models with one API key. Starting with the announcement, U.S.-based Cloudflare customers can pay for inference at request time for a select set of models by adding the header PAYMENT-METHOD: x402. Cloudflare says AI Gateway uses origin-controlled pricing, so the Monetization Gateway requests prices directly from the seller and AI Gateway can keep using its existing pricing module. The company expects HTTP 402 to be embedded in more of its infrastructure products over time.
Ceramic.ai, which offers a web search API built for agents, is the second. According to Cloudflare, Ceramic.ai maintains a proprietary index of more than 40 billion pages and can return results in as little as 50 milliseconds. It uses the fixed pricing scheme so agents can pay to run a search without an API key. Founder Dr. Anna Patterson said: "Search is one of the first things every agent needs, so it should be one of the first things an agent can buy."
The third is Stocktwits, the investor social network launched in 2008, which Cloudflare says is used by more than 10 million people. It turns activity into signals such as sentiment, message volume, followers and trending tickers. Founder and CEO Howard Lindzon said the ability to charge for an individual request "opens up a completely new way for Stocktwits to make its data available."
What it means for sellers
The beta is closed, and interested domain owners can request access in the Cloudflare Dashboard. For sellers of APIs, tools and datasets, the pitch is per-use pricing without asking agents to take out a subscription or buy credits first. Cloudflare says sellers can go live in seconds with a few clicks and choose the audience they want to charge. The source text provided does not include pricing for the gateway itself or a general availability date.

