Cloudflare has presented Monetization Gateway, a platform designed so that companies and content creators can automatically charge AI agents for the use of their digital resources. The big novelty is that it will replace traditional subscription models with ultra-precise stablecoin micropayments based on the actual consumption of each query, processing the payment in the city closest to the AI or the user. This makes the transaction immediate and prevents it from overwhelming the company's website.
The new platform will initially rely on x402, an open payment protocol over HTTP developed by Cloudflare together with a coalition of more than 25 companies in the sector under the umbrella of the x402 Foundation. The goal is to allow any digital resource to be monetized through automatic payments integrated directly into internet requests, without the need for subscriptions, prior registrations or traditional billing systems.
The traditional economic model of the internet
According to Cloudflare, for three decades the internet has operated under an economic arrangement that consisted of offering content and services in exchange for users' attention, later monetized through advertising, subscriptions or e-commerce. However, the emergence of AI agents is profoundly altering this balance.
The company notes that AI agents do not view ads or need to maintain multiple monthly subscriptions. Instead, they consume specific information, process data and continue their activity. It also recalls that some AI crawlers currently make between hundreds and tens of thousands of requests for every human visitor they generate to a website.
For Cloudflare, the future of the internet inevitably involves paying only for what is actually consumed. To understand how this new digital economy will work day to day, the company offers three very clear examples:
- Pay per search: Charge just a few cents each time we run an internet search.
- Mixed pricing for data: Apply a fixed minimum fee (for example, $0.001) and add a variable extra depending on the megabytes of information processed.
- Pay only for results: Charge the user only when a virtual assistant or a support bot has successfully resolved their problem.
Stablecoins and micropayments
Cloudflare considers stablecoins to be the most suitable technology to drive this new economy of artificial intelligence agents. Unlike traditional payment systems, they allow micropayments to be made quickly, with very low costs and near-instant settlement.
According to the company, this system is especially well suited to AI agents, which can make thousands of automatic payments without human intervention. While manually approving each transaction would be impractical for a person, an agent can do it continuously and automatically.
The technology that makes this model possible is x402, a payment protocol based on the HTTP 402 code (Payment Required), a standard that has existed on the internet for years but had barely been used until now.
Its operation is simple. When an AI agent tries to access a paid resource, the server returns a message indicating how much it costs to access, what payment method it accepts and how the transaction must be made. Once the payment is made, the agent requests the resource again, attaching proof that it has paid. If the verification is correct, access is granted automatically.
Monetizing any digital resource
The entire process takes place within normal internet communication itself, without the need to redirect the user to external payment platforms or to previously create an account with the service provider. In addition, the money is transferred directly to the owner of the resource, allowing for practically immediate settlement.
The main novelty of Monetization Gateway is that it will allow companies, developers and content owners to define with great precision which resources they want to monetize and under what circumstances. Instead of applying a single fee or requiring a general subscription, owners will be able to set specific rules for each type of access, adapting the price to the real value of the resource consumed.
The x402 Foundation launches under the Linux Foundation to integrate payments into the internet
For example, a company will be able to decide to charge only for certain operations within an API. A basic query could remain free, while certain specific calls, such as accessing premium data, executing a financial operation or using an advanced function, would require an automatic payment for each use. Cloudflare gives as an example the possibility of charging specific amounts for GET or POST requests directed at certain routes or services.
Variable pricing
The platform will also allow variable pricing depending on the computational resources consumed. This is especially relevant for AI applications, where the cost of processing a task can vary enormously. Thus, generating a simple image might cost a few cents, while a more complex task, requiring greater computing capacity, could have a significantly higher price.
Another of the planned features consists of transforming certain access-denied responses into monetization opportunities. Currently, when an unauthorized user tries to access a resource, the server usually returns an HTTP 401 code (Unauthorized). With Monetization Gateway, the owner will be able to replace that response with an HTTP 402 code (Payment Required), offering the user or the AI agent the possibility of paying directly to obtain access to the requested resource.
All these policies can be configured through the Cloudflare control panel, via APIs or by integrating with infrastructure automation tools such as Terraform, which will allow monetization to be incorporated as one more element of the technical management of digital applications and services.
An internet where agents are the main buyers
Cloudflare also highlights that payment verification and validation will not be carried out on the client's servers, but at the edge of its global network, distributed across more than 330 cities. This means that payment checks will run close to the user or the agent making the request, reducing latency and preventing the original infrastructure from having to directly manage millions of requests or transactions. According to the company, this will make it possible to scale micropayment systems while keeping origin servers protected and simplifying technical implementation for resource owners.
For Cloudflare, Monetization Gateway is only the first step toward a much deeper transformation. The company envisions a scenario in which artificial intelligence agents have their own digital wallets, can prove their identity and make autonomous purchases of data, computing capacity, tools or access to content.
In this vision, every request made by an agent would simultaneously become an economic transaction. Creators, developers and content owners could receive automatic remuneration each time an artificial intelligence system uses their resources, without depending exclusively on advertising or traditional subscription models.
Cloudflare maintains that there is currently an enormous amount of economic value on the internet that remains unmonetized simply because efficient mechanisms to charge for it have never existed.