A new way to bill AI agents just dropped: the x402 upto scheme ๐Ÿค–๐Ÿ’ธ...

@0xyoussea
Youssef@0xyoussea
9 views Apr 29, 2026 ~1 min read
Advertisement
1
A new way to bill AI agents just dropped: the x402 upto scheme ๐Ÿค–๐Ÿ’ธ

x402 is the HTTP 402 standard for machine-to-machine payments. Until now, it only supported fixed pay-per-request pricing.

Here is why the new `upto` scheme changes everything ๐Ÿงต๐Ÿ‘‡
Media image
2
The core problem with LLM-inference API payments: you rarely know the exact cost upfront.

How many tokens will an LLM generate? How much compute will an agent need?

With upto, the client authorizes a maximum amount, and the server settles for the actual amount used at the end of the request.
3
This natively unlocks the most important AI and infrastructure use cases onchain:
- LLM Inference: Agent authorizes up to $5, gets charged exactly $0.42 based on tokens streamed.
- Bandwidth: Pay precisely per byte transferred.
- Compute: Charge based on actual execution time.
4
At the contract level, upto uses Uniswapโ€™s Permit2 contract to make the UX smoother and safer

The client signs a permit message offchain, then a specialized contract guarantees the server can only settle an amount that is <= the authorized maximum.
Media image
5
This is a game changer.

In previous implementations, variable onchain billing requires locking funds in escrow or streaming contracts. Capital gets stuck.

With upto, agent funds remain untouched in their wallet, free to be used elsewhere until the exact moment of settlement.
6
You can start building with `upto` right now.

You can either start with the official docs or CDP's facilitator docs:
Actions
What You Can Do
  • Export as PDF or Markdown
  • Batch Export to Notion
  • Bookmark & Highlight
  • LinkedIn & Instagram Carousel Maker
Create Free Account

Includes 7-day Premium trial

Advertisement