Cloudflare not too long ago introduced the launch of a monetization program through the Coinbase-led x402 machine fee customary. x402, which permits AI brokers to pay for knowledge on-line utilizing cryptocurrencies, is gaining traction amongst AI enablers because it allows extra succesful agent interactions with the open internet.
Based in 2009, Cloudflare has grown from a DDoS mitigation and content material supply community (CDN) supplier to one of many Web’s foundational infrastructure firms.
The corporate went public in 2010 with a mission to make internet efficiency and safety accessible to everybody, not simply giant enterprises. Right this moment, Cloudflare powers roughly 20-23% of all web sites worldwide, serving tens of hundreds of thousands of HTTP requests per second in additional than 330 cities in over 100 international locations, and influencing a good portion of the world’s web visitors.
CloudFlare’s integration of x402 is a serious development within the cloth of the Web, as CloudFlare has been adopted and supplied safety for a lot of the open internet. Web sites which can be more and more inaccessible to giant quantities of knowledge requests from AI can now promote that knowledge to AI brokers for encryption. Though CloudFlare’s implementation solely mentions stablecoins corresponding to USDC, the Open USD customary, the protocol helps Bitcoin on-chain and is actively contemplating Lightning Community integration.
the net is damaged
Kevin Leffew, co-author of Coinbase’s x402 protocol and AI GTM, informed Bitcoin Journal that there’s a enormous person expertise drawback with the best way AI at the moment interacts with the open internet, and that x402 (at the moment underneath the administration of the Linux Basis) seeks to resolve it. “Each API name requires an API key, which requires a human and creates pointless friction,” Leffew defined, including, “Our objective is to kill API keys.”
Fashionable AI brokers, corresponding to OpenClaw, usually require API entry keys to particular paid internet search companies to permit the AI agent to simply entry the net with the identical mobility as human customers. This kind of service is supplied by common browsers and search engines like google corresponding to Courageous.com and Perplexity. However on prime of pc {hardware} and web entry, would anybody need to pay for an AI token to go looking the net on prime of a subscription service? These companies require people to enroll with a bank card for a month-to-month subscription and likewise pay an entry payment as a result of entry could be blocked by web sites that maintain precious knowledge in non-standard methods. We’d like a greater answer.
AI brokers want to have the ability to account for prices in cash and sources, and pay for brand new knowledge in a computer-friendly manner. An instance of this use case was not too long ago demonstrated by an X account referred to as “Lightning Mode AI.” It constructed a wrapper round ESPN FIFA knowledge and had an AI agent pay for it in Bitcoin. Brokers might then instantly wager on the end result throughout the Soccer World Cup on markets like Polymarket, the place agent house owners might doubtlessly earn a revenue.
This instance by Lightning Mode AI used an older implementation of the concept behind x402 referred to as L402. L402 is a protocol developed by Lightning Labs particularly to allow Bitcoin funds for knowledge on third-party web sites.
Denial of service assaults (DOS) is also solved by a machine-native financial system for the Web. The elemental vulnerabilities that these DOS assaults exploit revolve across the bandwidth and computing prices of answering questions and queries from Web customers. When a person makes a request to view an internet site, the location’s server should calculate and resolve the web site’s knowledge and serve it to the person. This includes giant materials prices. DOS assaults usually goal the sufferer’s server sources by sending numerous requests from a community of malware-infected machines (DDOS). This kind of assault might theoretically be stopped by merely asking customers to pay earlier than spending sources to reply to their queries. Nonetheless, funds should be cost-effective and quick sufficient to satisfy the person expertise calls for of the digital age.
Protocols like x402 and L402 give web sites paywalled entry to precious knowledge and train AI brokers the best way to pay for entry. No bank card required. There is no such thing as a have to explicitly share person knowledge with fee networks. No “are you a bot” captcha, no annoying account registrations you may by no means use once more, no subscription companies for internet search API keys. You simply pay for the information you eat.
Economics of microtransactions
This machine-to-machine microtransaction market will not be a brand new thought. It has been theorized by luminaries of the cypherpunk period corresponding to Nick Sabo, however up to now it has been discovered to be missing. Szabo argued that the largest drawback with microtransactions is not only the fee expertise, however the prices related to cognitive transactions.
Each time a person makes a fee, their mind has to calculate whether or not it is value it. This additionally comes at a value to the person, maybe measured in energy, so in some circumstances the choice to pay a couple of pennies for knowledge might not be well worth the effort. However in concept, AI brokers change this equation.
As AI turns into a brand new manner for customers to work together in an open manner, it may successfully summary away the cognitive prices related to calculating the advantages of spending a penny, and even lower than a penny, on knowledge.
Customers merely give the bot a price range, together with a spending coverage, and let the bot do its greatest to spend the cash correctly. It stays to be seen whether or not AI brokers could be accountable sufficient to guard customers’ funds, however some experiments present that they are often fairly resilient of their work. For instance, Freysa AI, a 2024-era AI agent, survived 48,000 fast engineering makes an attempt. Customers paid a payment to influence the bot to launch funds throughout the good contract treasury to them. If the bot refused, it stored the person’s cash and added it to the treasury. Finally, somebody succeeded in fooling the bot, however even after $50,000 value of makes an attempt, they had been unsuccessful. The danger of manipulating the AI on the fly to offer you lunch cash for internet searches is probably going manageable, as spending limits are hard-coded.

The scalability of digital funds to guard privateness in a decentralized and censorship-resistant method can be successfully already solved. Leffew mentioned blockchains like Solana could make funds as little as 1/one thousandth of a cent and settle in milliseconds. Bitcoin’s Lightning Community might additionally compete on the microtransaction scale, and different Bitcoin protocols, like e-cash variants, may very well be as quick as web packets and presumably even outperform extremely centralized blockchain techniques like Solana.
UTEXO co-founder Viktor Ihnatiuk informed Bitcoin Journal that the corporate is actively working with the x402 developer group to combine Bitcoin’s Layer 2 protocol over RGB as a fee possibility. RGB integration unlocks layer 2 model Bitcoin funds and USDT in Bitcoin funds. Based on Leffew, the x402 customary is designed to be primarily impartial to related fee rails, and is extensible to fiat rails, however will doubtless turn into mainstream with cryptocurrencies and, within the close to future, stablecoins.
Why CloudFlare ought to settle for Bitcoin
CloudFlare’s x402 pilot program is a serious step in direction of this imaginative and prescient of cryptocurrencies being actively used because the web’s native forex. The corporate’s preliminary give attention to stablecoins is comprehensible, given its sturdy model and adoption of the greenback to simplify accounting. Nonetheless, there are lots of potential dangers to the best way stablecoins are used as we speak, which Bitcoin solves.
First, the vast majority of stablecoin quantity strikes on Ethereum Digital Machine (EVM) model blockchains that use a public tackle account mannequin. These are actively reused to create a protracted and detailed public historical past of every person’s monetary involvement. That is horrible for person privateness, and instruments that obfuscate person flows on the EVM blockchain, corresponding to VPNs for crypto funds, will not be frequent.
In consequence, AI brokers and their customers are actively leaking knowledge that may expose them to dangers corresponding to focused assaults by organized cybercriminals.
Bitcoin, alternatively, makes use of a UTXO mannequin, and greatest practices drive individuals to create a brand new tackle each time they obtain a fee, which may make monitoring funds tougher. Moreover, Bitcoin’s quick fee protocols corresponding to Lightning, Ark, and e-cash usually provide far higher privateness advantages to customers by shifting worth off-chain through numerous good contract-related applied sciences.
Final however not least, stablecoins are essentially depending on the US greenback and its international coverage. If CloudFlare needs to be a viable possibility for a multipolar world, it’ll need to begin taking a impartial place relating to cash. The greenback stays the world’s most beneficial forex, however it’s beginning to lose floor to rising powers within the East, whereas geopolitically impartial options like Bitcoin proceed to rise. Bitcoin might assist CloudFlare preserve and even develop its place as a vital web infrastructure in a multipolar world.
This text initially appeared on Cloudflare x402 Integration Opens Door for Bitcoin in AI Agent Micropayments and was written by Juan Galt.

