x402 protocol adds usage-based pricing for AI compute requests
Coinbase has announced an upgrade for the x402 protocol, enabling usage-based pricing for agentic AI compute requests, which replaces the former flat fee model.
In a post on X on Thursday, Coinbase Developer Platform announced the "Upto" scheme has gone live, adding it will help open up "variable-cost services" for agentic AI such as large language model inference, compute and data queries.
"Until now, x402 only supported exact, fixed-price payments. That works great for deterministic APIs. But it blocked an entire category of services where the cost depends on usage, such as token count, compute time, or query complexity," Coinbase Developer Platform said.
"Upto is an EVM implementation, supporting all ERC20s, and CDP Facilitator supports fully gasless payments," it added.
The move comes amid growing support for the x402 protocol as a wide range of firms prepare for future agentic commerce adoption, which is expected to bring extreme levels of network demand and require frictionless payments and near-instant transactions to support agentic AI.
Source:
Coinbase Developer Platform
Flat-fee problem gets a fix
The Upto scheme allows sellers to configure maximum prices, while buyers will be able to authorize prices up to a specific amount.
On the server end, where costs fluctuate, the server will charge only for how much it actually takes to complete the task, meaning users won't be overcharged and may even pay less than the specified maximum price.
Previously, simple and complex requests cost the same amount, resulting in some users either overpaying or underpaying for tasks done by AI agents. This upgrade will help users set prices they are willing to pay before a task instead of guessing how much they think the task will cost for an agent to complete.
Developed by Coinbase, the protocol's ownership was handed over to the nonprofit Linux Foundation earlier this month, with big tech firms such as Google, Microsoft and Amazon Web Services having a stake in the protocol via the x402 Foundation.
Despite the hype surrounding x402, the network has seen declining adoption rates in 2026 after hitting peak levels in November, according to Dune Analytics data. Between Nov. 4 and Nov. 10, the protocol saw 13.7 million transactions, its biggest week on record.
However, it has been on a steep decline since then, with weekly transaction volume dropping below 1 million in early January and continuing to plunge further over the first quarter. As of the last week in March, x402 saw just 112,708 transactions.
Disclaimer: The content of this article solely reflects the author's opinion and does not represent the platform in any capacity. This article is not intended to serve as a reference for making investment decisions.
You may also like
Democrats Sweep Congress Triggering Market Reassessment: "Trump Trades" Under Pressure Across the Board, AI and Crypto Assets Lead the Declines
According to media predictions, the Democratic Party achieved a historic victory in the US midterm elections, and this outcome quickly reshaped global market expectations.
ECB Links Europe’s T+1 Securities Transition to a Broader Settlement Overhaul

Available for trading around the clock, with leverage allowed! CFTC approves perpetual futures trading for individual US stocks
The U.S. CFTC has officially authorized the listing and trading of U.S. stock perpetual futures contracts on regulated exchanges. Perpetual contracts have no expiration date, can be traded around the clock, and come with built-in leverage. They have already gained popularity in overseas markets. On the same day, Kalshi launched perpetual contracts for four individual stocks: Amgen, McDonald's, Qualcomm, and Costco, with platforms like Coinbase also following suit.
CFTC’s Stock Perpetual Futures Decision Sparks Lawsuit: 5 Cryptos Worth Trying Amid Growing Market Uncertainty
