When AI starts paying its own bill

2026-03-10 05:11:49
Intermediate
AI
This article illustrates the agent economy through a real-world scenario: an AI pays $0.001 in USDC to purchase data, offering a clear narrative that demystifies how the x402 protocol and ERC‑8004—two standards that may appear highly technical—work together in practice.

An AI developed a piece of code that required data for validation.

It sent an HTTP request, and the server responded with a number: 402.

Next, it paid $0.001 in USDC. In less than a second, the data was delivered.

This transaction involved no account, password, bank card, or KYC. The entire process was fully automated—no human intervention whatsoever.

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

01 The “Payment Required” Code That Slept for Thirty Years

Back in 1990, when the HTTP protocol was being drafted, its authors reserved a status code: 402, Payment Required.

The meaning was clear—“You must pay to proceed.”

Yet, this status code was never officially implemented. It lingered in protocol documents, dormant for 34 years.

The reason is simple: the internet’s pioneers never anticipated a future where machines would make payments. Credit cards, bank accounts, and KYC verification—these payment infrastructures were designed for humans and are irrelevant for autonomous code. AI Agents need to call APIs, purchase data, and access compute in milliseconds, but traditional payment systems require account registration and carry transaction fees that create an absolute barrier.

In 2025, three key conditions converged.

Stablecoin supply surpassed $30 billion, Layer 2 solutions like Base pushed transaction costs to fractions of a cent, and the AI Agent ecosystem led by OpenAI and Anthropic entered large-scale commercialization. Coinbase engineers rediscovered the long-dormant 402 and decided to bring it to life.

In May 2025, Coinbase and Cloudflare jointly launched the x402 protocol. By September, they announced the establishment of the x402 Foundation. A forgotten status code returned to the core of the internet. Cloudflare handles around 20% of global web traffic—meaning x402 had access to robust infrastructure from day one.

02 Machines Make Their First Payment

The x402 protocol’s design is surprisingly simple.

An AI Agent initiates an HTTP request. The server returns a 402 status code and payment requirements: the amount, blockchain, and token. The Agent signs and authorizes the payment via EIP-712 encryption, embeds the payment information in the request header, and resends it. Once the server verifies payment, the resource is delivered.

The process takes less than a second—no account, subscription, or API key needed.

Payment is now part of the internet. Like GET or POST, it's simply another HTTP action; any service can monetize machine access by adding a line of middleware.

And the data proves it works. In the seven months after launch, the protocol processed over 100 million transactions. According to Cambrian Network’s Q1 2026 report, over 15 million transactions occurred in the last 30 days, with more than 400,000 buyers and 80,000 sellers. The largest single source is the Virtuals Protocol AI Agent cluster, which autonomously settles inter-agent collaboration fees through the protocol.

On December 11, 2025, x402 V2 went live. This upgrade made the protocol not just usable, but user-friendly: it now supports multi-chain operations on Base, Solana, Avalanche, and others; introduces session management (wallets serve as credentials, so repeat access doesn't require on-chain interaction every time); and integrates ACH bank transfers and credit card networks—for the first time, Web2 and Web3 payment systems are unified in a single protocol.

Google soon integrated x402 into its Agent2Agent (A2A) protocol and released the Agentic Payments Protocol (AP2); machine payments are quickly becoming essential infrastructure for tech giants.

03 Trust: The First Barrier for the Agent Economy

While the payment hurdle is cleared, a deeper issue remains unsolved.

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

So says Davide Crapis, Head of AI at the Ethereum Foundation and co-author of ERC-8004, who pinpointed the core challenge for the Agent economy: When an AI Agent needs to hire another to complete a task, how can it be sure the other isn’t a fraud? Where’s the transaction record? How is reputation established?

ERC-8004 is Ethereum’s answer. Drafted in August 2025 and deployed on Ethereum mainnet January 29, 2026, it introduces three lightweight on-chain registries:

Identity Registry: Each Agent receives an ERC-721 NFT-based on-chain ID—portable, transferable, and cross-chain verifiable. The AgentCard (in JSON) records abilities, endpoints, and x402 payment support.

Reputation Registry: Feedback between Agents (accuracy, timeliness, reliability) is archived on-chain. Only indexes are stored on-chain; data hashes point to off-chain storage to save gas.

Verification Registry: After task completion, the result hash is uploaded on-chain for verification, enabling cryptographic proof of completion.

The drafting team spanned 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 all expressed support. Less than a month after mainnet deployment, over 24,000 Agents registered on Ethereum, with nearly 49,000 across all EVM chains.

A typical workflow: Agent A finds a provider via the ERC-8004 Identity Registry, filters for high-rated Agent B in the Reputation Registry, pays via x402, and attaches the payment record to the reputation feedback—making payment history a credit anchor. This process is what Cambrian Network calls the “Agent Economy Operating System”: payment + identity + reputation, seamlessly integrated.

04 How Deep Does This Go?

The numbers look impressive, but several points need clarification.

Tokens and protocols are not the same.

The x402 ecosystem tokens reached a $9 billion market cap on CoinGecko and $230 million in daily volume, but many “x402 concept” tokens are simply memes with no genuine link to the protocol. Buying x402-related tokens does not mean buying x402 protocol growth. The crypto market routinely blurs narrative and reality—this is no exception.

Technical risks remain.

The x402 EIP-712 signature mechanism still requires ongoing security audits. The ERC-8004 Reputation Registry faces Sybil attack risks (bulk fake registrations), and its incentive mechanisms are still imperfect. There’s economic tension between high-frequency micropayments (down to $0.0001 each) and L2 fees (still as high as $0.05)—right now, fees can still eat up ultra-small transactions.

The protocol battle isn’t over.

x402, Google’s AP2, and a16z’s ACP all coexist. Developers splitting across three standards weakens network effects. Furthermore, OpenAI and Anthropic could bypass on-chain protocols entirely and build closed payment loops—they have the users, data, and scale, which puts competitive pressure on x402.

Regulation remains a blank slate. When an AI Agent initiates an autonomous payment, who is the liable party? At what point do KYC/AML obligations kick in? No major jurisdiction has given a definitive answer.

05 Conclusion

Someone once wrote a fitting line: “Inscriptions in 2023 let humans engrave value on-chain; x402 in 2025 enabled machines to autonomously pay value over the network for the first time.”

If HTTP connected the world’s computers into an information network, the combination of x402 and ERC-8004 aims to connect billions of Agents into an open market for services and data—no accounts, no approvals, just a request, a payment, a result.

But whether the protocol can win in a fragmented landscape, whether the trust mechanism can truly mature, and whether the Agent economy can scale from demo to real business… these questions remain open.

Until the narrative becomes reality, understanding the difference between “protocol value” and “token speculation around the protocol” is perhaps the most important thing for every participant.

Disclaimer:

  1. This article is reprinted from [白话区块链], with copyright belonging to the original author [Clow]. If you have any concerns about this reprint, please contact the Gate Learn team, who will process it promptly according to the relevant procedures.
  2. Disclaimer: The views and opinions expressed in this article are those of the author and do not constitute any investment advice.
  3. Other language versions of this article are translated by the Gate Learn team. Unless Gate is explicitly mentioned, it is not permitted to copy, distribute, or plagiarize any Gate Learn translated content.

Share

Crypto Calendar
Tokenların Kilidini Aç
Wormhole, 3 Nisan'da 1.280.000.000 W token açacak ve bu, mevcut dolaşımdaki arzın yaklaşık %28,39'unu oluşturacak.
W
-7.32%
2026-04-02
Tokenların Kilidini Aç
Pyth Network, 19 May'da 2.130.000.000 PYTH tokenini serbest bırakacak ve bu, mevcut dolaşım arzının yaklaşık %36,96'sını oluşturacak.
PYTH
2.25%
2026-05-18
Tokenların Kilidini Aç
Pump.fun, 12 Temmuz'da 82,500,000,000 PUMP token'ı kilidini açacak ve bu, mevcut dolaşımdaki arzın yaklaşık %23,31'ini oluşturacak.
PUMP
-3.37%
2026-07-11
Token Kilidi Açma
Succinct, 5 Ağustos'ta mevcut dolaşımdaki arzın yaklaşık %104,17'sini oluşturan 208,330,000 PROVE token'ını serbest bırakacak.
PROVE
2026-08-04
sign up guide logosign up guide logo
sign up guide content imgsign up guide content img
Sign Up

Related Articles

Arweave: Capturing Market Opportunity with AO Computer
Beginner

Arweave: Capturing Market Opportunity with AO Computer

Decentralised storage, exemplified by peer-to-peer networks, creates a global, trustless, and immutable hard drive. Arweave, a leader in this space, offers cost-efficient solutions ensuring permanence, immutability, and censorship resistance, essential for the growing needs of NFTs and dApps.
2024-06-08 14:46:17
 The Upcoming AO Token: Potentially the Ultimate Solution for On-Chain AI Agents
Intermediate

The Upcoming AO Token: Potentially the Ultimate Solution for On-Chain AI Agents

AO, built on Arweave's on-chain storage, achieves infinitely scalable decentralized computing, allowing an unlimited number of processes to run in parallel. Decentralized AI Agents are hosted on-chain by AR and run on-chain by AO.
2024-06-18 03:14:52
What is AIXBT by Virtuals? All You Need to Know About AIXBT
Intermediate

What is AIXBT by Virtuals? All You Need to Know About AIXBT

AIXBT by Virtuals is a crypto project combining blockchain, artificial intelligence, and big data with crypto trends and prices.
2025-01-07 06:43:58
AI Agents in DeFi: Redefining Crypto as We Know It
Intermediate

AI Agents in DeFi: Redefining Crypto as We Know It

This article focuses on how AI is transforming DeFi in trading, governance, security, and personalization. The integration of AI with DeFi has the potential to create a more inclusive, resilient, and future-oriented financial system, fundamentally redefining how we interact with economic systems.
2024-11-28 03:45:01
Understanding Sentient AGI: The Community-built Open AGI
Intermediate

Understanding Sentient AGI: The Community-built Open AGI

Discover how Sentient AGI is revolutionizing the AI industry with its community-built, decentralized approach. Learn about the Open, Monetizable, and Loyal (OML) model and how it fosters innovation and collaboration in AI development.
2024-12-17 09:56:24
AI+Crypto Landscape Explained: 7 Major Tracks & Over 60+ Projects
Advanced

AI+Crypto Landscape Explained: 7 Major Tracks & Over 60+ Projects

This article will explore the future development of AI and cryptocurrency, as well as explore investment opportunities, through seven modules: computing power cloud, computing power market, model assetization and training, AI Agent, data assetization, ZKML, and AI applications.
2024-04-19 02:38:55