TechFlow Logo
Login/ Sign up
ETH Gas
Gwei
Fear
gas
When AI Starts Paying Its Own Bills

When AI Starts Paying Its Own Bills

2026.03.04
Share

TechFlow Selected TechFlow Selected

techFlow

When AI Starts Paying Its Own Bills

The “Payment QR Code” That Slept for Thirty Years.

2026.03.04 - 02:50:30
AI
The “Payment QR Code” That Slept for Thirty Years.

By Clow, Baihua Blockchain

An AI wrote a piece of code—and needed data to verify it.

It sent an HTTP request. The server responded with a number: 402.

Then, it paid $0.001 in USDC. In under one second, the data arrived.

This transaction involved no account, no password, no bank card, and no KYC. No human participated at all.

This is no longer science fiction. By the end of 2025, the x402 protocol had processed over 100 million such transactions; in the first 30 days of this year alone, another 15 million were added.

A “Payment Code” That Slept for Thirty Years

In 1990, the drafters of the HTTP protocol reserved one status code specifically: 402, “Payment Required.”

Its meaning was straightforward—“You must pay to proceed.”

Yet this status code was never formally adopted. It remained dormant in the protocol specification for thirty-four years.

The reason is simple: the internet’s earliest architects never imagined machines would someday make payments. Credit cards, bank accounts, and KYC verification—all payment infrastructure built for humans—fail completely when faced with autonomous code.

AI Agents need to call APIs, purchase data, and access compute resources at millisecond speeds. Traditional payment onboarding and fee thresholds constitute an insurmountable wall.

In 2025, three conditions converged simultaneously.

Stablecoin total supply surpassed $300 billion; L2s like Base drove per-transaction costs down to sub-cent levels; AI Agent ecosystems led by OpenAI and Anthropic began large-scale commercialization; and engineers at Coinbase unearthed that long-forgotten 402 code—and decided to activate it.

In May 2025, Coinbase partnered with Cloudflare to officially launch the x402 protocol. In September, they jointly announced the formation of the x402 Foundation. A forgotten status code re-entered the center of the internet. Cloudflare manages approximately 20% of global web traffic—meaning x402 had infrastructure-level access from day one.

Machines Learned to Pay—for the First Time

x402’s design is surprisingly simple.

An AI Agent sends an HTTP request. The server replies with a 402 status code and includes payment requirements: amount, chain, and token type. The Agent authorizes payment via an EIP-712 cryptographic signature, inserts the payment information into the request header, and resends the request. Upon successful verification, the server returns the requested resource.

The entire process takes less than one second—no accounts, no subscriptions, no API keys.

This transforms “payment” into an integral part of the internet—just like GET or POST, it becomes an HTTP action. Any service needs only to add a single line of middleware to charge machines directly.

Data confirms this logic works. Within roughly seven months of launch, the protocol processed over 100 million transactions. According to the Cambrian Network Q1 2026 Report, more than 15 million transactions occurred in the past 30 days, involving over 400,000 buyers and more than 80,000 sellers. Virtuals Protocol’s AI Agent network represents the largest single source of transactions, autonomously settling inter-Agent collaboration fees on the protocol.

On December 11, 2025, x402 V2 launched. This upgrade moved the protocol from “functional” to “user-friendly”: supporting parallel multi-chain operation across Base, Solana, and Avalanche; introducing a Session mechanism (where wallets serve as identity credentials, eliminating repeated on-chain interactions for repeat visits); and integrating ACH bank transfers and credit card networks—unifying Web2 and Web3 payment systems within a single protocol for the first time.

Google subsequently integrated x402 into its Agent-to-Agent (A2A) protocol, launching the Agentic Payments Protocol (AP2). Machine-initiated payments are becoming foundational infrastructure for major technology companies.

Trust Is the First Hurdle of the Agent Economy

The payment problem has been solved—but a deeper, more fundamental question remains unanswered.

“Commerce can’t happen if people don’t trust each other.”

Davide Crapis, AI Lead at the Ethereum Foundation and co-author of ERC-8004, directly identifies the core obstacle of the Agent economy: When one AI Agent hires another to complete a task, how does it know the latter isn’t a fraud? Where are transaction records stored? How is reputation transferred?

ERC-8004 is Ethereum’s answer. Drafted in August 2025, it went live on the Ethereum mainnet on January 29, 2026. It establishes three lightweight on-chain registries:

  • Identity Registry: Each Agent receives an ERC-721 NFT-based on-chain ID—transferable, portable, cross-chain verifiable—with an AgentCard (in JSON format) recording capabilities, endpoints, and x402 payment support status;
  • Reputation Registry: Feedback signals between Agents are archived on-chain—accuracy, timeliness, and reliability scores—while only indices are stored on-chain, with data hashes pointing to off-chain storage to reduce gas costs;
  • Verification Registry: Upon task completion, the result data hash is submitted on-chain for verification, enabling cryptographic proof of whether the task was genuinely completed.

The drafting team spans four major crypto ecosystems: Marco De Rossi (MetaMask), Davide Crapis (Ethereum Foundation), Jordan Ellis (Google), and Erik Reppel (Coinbase). EigenLayer, ENS, The Graph, and Taiko have all signaled support. Within one month of mainnet launch, over 24,000 Agents registered on Ethereum, and approximately 49,000 across all EVM-compatible chains.

A typical workflow looks like this: Agent A discovers service providers via the ERC-8004 Identity Registry, filters candidates using the Reputation Registry to select high-scoring Agent B, pays via x402, and—after task completion—attaches its payment record along with reputation feedback. Payment history thus becomes a trust anchor. This integrated stack—payment + identity + reputation—is what Cambrian Network calls the “Agent Economy Operating System.”

How Deep Is the Water Here?

The numbers look impressive—but several points require clarification.

Tokens and protocols are two distinct things.

The x402 ecosystem token once reached a market cap exceeding $9 billion on CoinGecko, with daily trading volume surpassing $230 million. Yet much of this volume came from “x402-themed” meme tokens—largely unconnected to the protocol itself. Buying an x402-related token does not equate to investing in the protocol’s growth. Markets have always excelled at conflating narrative with reality—and this case is no exception.

Technical risks remain unresolved.

The EIP-712 signature mechanism underlying x402 requires ongoing security audits. The ERC-8004 Reputation Registry faces Sybil attack risks—mass creation of fake identities—with current economic incentive mechanisms still underdeveloped. Economic tension persists between high-frequency micro-payments (e.g., $0.0001 per transaction) and L2 gas fees (still reaching $0.05), meaning extremely small payments remain uneconomical due to fee overhead.

Protocol wars are far from over.

Three competing protocols coexist: x402, Google’s AP2, and a16z’s ACP. If developers fragment across these standards, network effects will be severely diluted. Moreover, OpenAI and Anthropic could entirely bypass on-chain protocols and build proprietary closed-loop payment systems—they possess user bases, data, and scale advantages that x402 cannot ignore.

Regulation remains a blank slate. Who is the legal party to a payment initiated autonomously by an AI Agent? At which point do KYC/AML obligations trigger? No major jurisdiction has yet provided definitive answers.

Summary

A quote fits well here: “In 2023, Ordinals let humans inscribe value onto the blockchain; in 2025, x402 lets machines make autonomous value payments on the internet for the first time.”

If HTTP connected the world’s computers into an information network, the combination of x402 and ERC-8004 seeks to connect billions of Agents into an open services-and-data marketplace—no accounts required, no approvals needed: one request, one payment, one result.

Yet whether the protocol can prevail amid fragmented competition, whether trust mechanisms can mature robustly, and whether the Agent economy can evolve beyond demos into real business—these questions remain open.

Before narratives crystallize into reality, distinguishing “protocol value” from “token speculation around the protocol” may be the most essential task for every participant.

Join TechFlow official community to stay tuned

Add to Favorites
Share to Social Media

Related Articles

2026.07.27

Nomura Research Report Analysis: CXMT Surges 471% on First-Day Opening, AI Storage Shortage Continues Until 2030, Target Price 116 Yuan

ChangXin, as the world's fourth-largest DRAM manufacturer, is currently at an inflection point for explosive capacity expansion and domestic substitution.

Nomura Research Report Analysis: CXMT Surges 471% on First-Day Opening, AI Storage Shortage Continues Until 2030, Target Price 116 Yuan
2026.07.27

Google's Most Profitable Quarterly Report in History: Behind Billions in Profit, the AI Arms Race Has Burned Into Negative Cash Flow

While closed-source large models are still lobbying the government in Washington to ban open source, the real moat has long ceased to be at the model layer.

Google's Most Profitable Quarterly Report in History: Behind Billions in Profit, the AI Arms Race Has Burned Into Negative Cash Flow
2026.07.24

Podcast Notes | Jensen Huang's Latest Interview: Chip Industry Needs to Expand Another 5 to 10 Times, Chinese Models Benefit Everyone

China has more AI researchers than the rest of the world combined. It is destined that China will become extraordinary in this field.

Podcast Notes | Jensen Huang's Latest Interview: Chip Industry Needs to Expand Another 5 to 10 Times, Chinese Models Benefit Everyone
2026.07.24

AI has finished writing the code for you, but no one is willing to take a serious look at it anymore.

Major tech companies are building their own tools to cope, but mature solutions remain in the experimental stage.

AI has finished writing the code for you, but no one is willing to take a serious look at it anymore.
2026.07.24

Selling Tools or Selling Results? AI Companies Are Heading Toward Two Completely Different Futures

Hand over what can be automated to AI, and use humans as a fallback for the rest.

Selling Tools or Selling Results? AI Companies Are Heading Toward Two Completely Different Futures
2026.07.24

Retail Investor Bonuses Fade, Prediction Markets Enter AI Arms Race

July Fed rate decision night, a "quant shadow war" over pricing power.

Retail Investor Bonuses Fade, Prediction Markets Enter AI Arms Race
2026.07.23

AI is transitioning from a "tool" that helps you work to a "labor market" that generates income for you.

Every major technological revolution gives rise to a new generation of entrepreneurs.

AI is transitioning from a "tool" that helps you work to a "labor market" that generates income for you.
2026.07.23

Goldman Sachs Research Report Analysis: Momentum Unwinding Shocks Global Stock Markets, AI Spending Boom Conceals Hidden Risks

Before the efficiency gains from AI technology implementation are truly reflected in corporate profits, if the marginal return rate on capital expenditure declines first, tech stock valuations will come under dual pressure.

Goldman Sachs Research Report Analysis: Momentum Unwinding Shocks Global Stock Markets, AI Spending Boom Conceals Hidden Risks
2026.07.23

AI Impersonating Human Writing Is Polluting the Internet, Substack Decides to Hand Judgment Over to Readers

One scan tells you whether the article is human-written or machine-written.

AI Impersonating Human Writing Is Polluting the Internet, Substack Decides to Hand Judgment Over to Readers
2026.07.23

A Brief History of AI Victories: Wherever There Is a Rating System, There Is AI Invasion

When a field establishes scoring criteria, it sets a countdown for its own conquest.

A Brief History of AI Victories: Wherever There Is a Rating System, There Is AI Invasion
TechFlow Logo

Navigating Web3 tides with focused insights

Contribute An Articleemail
Media Requestsmsg

Risk Disclosure: This website's content is not investment advice and offers no trading guidance or related services. Per regulations from the PBOC and other authorities, users must be aware of virtual currency risks. Contact us / [email protected] ICP License: 琼ICP备2022009338号