Cloudflare Introduces Monetization Gateway Beta for Usage-Based AI Agent Payments

Cloudflare Introduces Monetization Gateway Beta for Usage-Based AI Agent Payments
Cloudflare Introduces Monetization Gateway Beta for Usage-Based AI Agent Payments

New capability enables businesses to charge AI agents for access to websites, APIs, MCP tools and datasets through HTTP 402 and the x402 payment protocol

Cloudflare, Inc. has announced the closed beta of Cloudflare Monetization Gateway, a new capability that enables businesses to charge AI agents for access to digital resources based on actual consumption. Cloudflare Monetization Gateway…

As AI agents increasingly browse websites, call APIs, use tools and consume data on behalf of users, traditional subscription and account-based payment models can create friction for businesses as well as machines. Cloudflare Monetization Gateway is designed to support an agent-native model where agents can discover the price of a resource, make a payment and access it directly within the HTTP request flow.

The capability allows domain owners to introduce usage-based pricing for resources such as websites, APIs, Model Context Protocol (MCP) tools and datasets, without requiring them to build their own payment infrastructure. Cloudflare Monetization Gateway…

Supporting an Agent-First Internet Economy

AI agents are changing the way digital resources are consumed. Instead of maintaining accounts, subscriptions or prepaid balances across hundreds of services, agents may need to make individual purchases depending on the task they are performing.

These tasks can include conducting a web search, accessing market data, calling an API or purchasing AI inference. Cloudflare Monetization Gateway is built around this consumption model, allowing sellers to decide which requests require payment, set pricing and control where payments are sent.

The Gateway uses the HTTP 402 Payment Required status code, allowing payment instructions to be returned directly as part of an HTTP request rather than sending users or agents to a separate checkout experience. Once payment is authorised and settled, the requested resource can be accessed. Cloudflare Monetization Gateway…

Cloudflare manages payment verification and settlement, failures and retries, analytics, as well as changes to the x402 protocol. Payments currently settle on the Base blockchain using USDC, a stablecoin pegged to the U.S. dollar.

Use Cases Across AI Inference, Search and Market Data

Cloudflare is already using Monetization Gateway in production across several use cases, showing how agent-native payments can support different types of digital services.

Cloudflare AI Gateway: U.S.-based Cloudflare customers can pay for inference at request time for a select group of AI models using x402. This provides an alternative to maintaining a prepaid credit balance. AI Gateway can also provide pricing information directly from its existing pricing engine, supporting more complex, origin-controlled pricing. Cloudflare Monetization Gateway…

Ceramic.ai: The web search provider is using Monetization Gateway to enable AI agents to pay for individual search requests without requiring an API key. Ceramic.ai operates a proprietary index containing more than 40 billion pages and is designed to deliver search results to machine callers with low latency.

Stocktwits: The financial social network is using Monetization Gateway to provide market signals to AI agents on a per-request basis. Agents can access information including market sentiment, message volume, followers and trending tickers without requiring a traditional data licence for every use case.

API2PDF: The PDF-generation API is using Monetization Gateway to give users and AI agents access to its service without first creating an account or obtaining an API key. Its variable pricing model allows agents to receive a maximum price for a request and pay based on actual consumption. Cloudflare Monetization Gateway…

Enabling a New Model for Digital Services

For businesses, the opportunity goes beyond adding another payment method. Monetization Gateway enables organisations to make individual digital resources available to a new class of machine customers, while maintaining control over pricing and access.

Businesses can establish pricing rules based on elements of a request, including URLs, headers and query parameters, and can support different pricing models depending on the resource being accessed.

The approach can also remove the need for an agent to establish a prior commercial relationship with every service it wants to use. Instead, payment can serve as the mechanism through which an agent obtains access to a resource. Cloudflare Monetization Gateway…

Cloudflare Builds Infrastructure for Agentic Commerce

Cloudflare views agent-native payments as part of a broader shift in how value moves across the Internet.

As AI agents become increasingly capable of acting autonomously, they will need to purchase resources such as data, APIs, search, inference and specialised tools. Monetization Gateway is designed to provide infrastructure that allows these transactions to take place as part of the Internet request itself.

Cloudflare plans to expand the Gateway over time with additional payment rails, transaction logs, agent discovery capabilities and identity primitives.