If you build anything that lets a machine pay for what it consumes — an AI agent buying API calls, a model selling inference, a scraper paying per page — you are going to have to pick a payment rail. In 2026 the two that actually matter are x402 and L402. The finance blogs and VC explainers will tell you they’re “complementary” and leave it there, because hedging is free and conviction is expensive.
We’re not a VC fund. We’re Bitcoin mining hackers who run nodes, repair hardware the industry threw away, and ship open-source firmware. So here’s the operator’s take: an honest map of where each rail wins today, and the one question that actually decides which one belongs in your stack — who ends up holding your money.
TL;DR. x402 (Coinbase, now the Linux Foundation–hosted x402 Foundation) is HTTP 402 settled in stablecoins on someone’s chain — mostly USDC on Base and other EVM L2s. It has the reach: 100M+ transactions on Base through Q1 2026 and backing from Stripe, Google, Visa, Mastercard and AWS. L402 (Lightning Labs) is HTTP 402 settled in sats over the Lightning Network — no account, no chain to trust, and free to operate if you self-host your own node. x402 wins on adoption and reach right now. L402 wins on sovereignty. If your goal is to be paid in money no one can freeze or inflate, on infrastructure you own, L402 is the rail for a sovereign loop. If your goal is maximum counterparties today, x402 is where the volume is. Pick for the world you’re actually building.
The two rails, explained without the marketing
Both protocols solve the same old joke. HTTP has always reserved status code 402 Payment Required — it’s been sitting in the spec, unused, since the 1990s, waiting for a payment system the web could actually agree on. The web never agreed, so 402 stayed a placeholder. Two teams finally gave it a job. They just made very different bets about what “money” means.
x402 is Coinbase’s answer, first published in May 2025. A client requests a paid resource, the server replies 402 plus machine-readable payment requirements, the client pays and retries with proof, and the server serves the content. Settlement happens onchain in stablecoins — predominantly USDC, mostly on Base (Coinbase’s own Ethereum L2), with support extending to Solana, Polygon and other chains. As of June 2026 the protocol has moved out of Coinbase’s hands into the x402 Foundation under the Linux Foundation, with a governing coalition that reads like a Davos guest list: Cloudflare, Stripe, Google, Visa, Mastercard, American Express, AWS, Microsoft and Shopify among them.
L402 is Lightning Labs’ answer, and it’s older — Aperture, the L402-aware reverse proxy that powers it, has been running in production behind Lightning Loop for about five years. The flow is the same shape: request a paid resource, get back a 402 with a Lightning invoice and a macaroon (a scoped credential), pay the invoice, and present the receipt to unlock the resource. The difference is what settles: sats over the Lightning Network — native Bitcoin, peer-to-peer, no stablecoin issuer and no chain operator in the middle. In February 2026 Lightning Labs shipped Lightning Agent Tools, a full kit for autonomous agents: lnget (an L402-aware HTTP client that pays gated APIs automatically), Aperture for hosting paid endpoints, an lnd node skill, and a macaroon bakery for least-privilege spending credentials.
Credit where it’s due, because neither rail came from nowhere. Coinbase took a dead status code and built a real, well-documented standard around it, then handed it to a neutral foundation instead of hoarding it — that’s the right move and it’s why x402 has the reach it does. Lightning Labs has been quietly proving the L402 pattern in production since before “agentic payments” was a phrase anyone searched for. This isn’t a fight between a good rail and a bad one. It’s a fork in the road about who holds the money.
Where each one has real traction (as of June 2026)
Let’s stay honest about adoption, because this is exactly where the hype gets ahead of the data.
x402 has the louder numbers. Chainalysis reported x402 transactions on Base going from near-zero in mid-2025 to well over 100 million cumulative through Q1 2026 (a June 3, 2026 analysis), with additional activity on Solana. With Stripe routing USDC agent payments through it as of February 2026 and the Linux Foundation move pulling in the biggest names in payments, x402 has the distribution that a Bitcoiner project simply can’t match this year. If you want your endpoint reachable by the largest number of agents and wallets today, that’s a real, measurable advantage. We’re not going to pretend otherwise.
One detail in that Chainalysis data is worth flagging, though: transactions of $1 or more grew to 95% of value transferred, up from 49% in early 2025, while the sub-dollar slice collapsed. x402’s onchain settlement economics push it away from the true micropayment — the tenth-of-a-cent-per-call use case — and toward larger transfers. That matters for what each rail is actually good at.
L402’s traction is harder to put a single number on, and we won’t fabricate one. Lightning Labs doesn’t publish an x402-style cumulative transaction counter, so anyone quoting you a precise “L402 did X transactions” figure is guessing. What’s verifiable: Lightning itself crossed an estimated 100M+ wallet users in 2025, Cloudflare reported processing over 1 billion HTTP 402 responses per day that same year, and the Agent Tools release in February 2026 put a production-grade, batteries-included L402 stack in developers’ hands. The honest read is that L402 is mature and production-ready but quieter — smaller surface area, fewer corporate logos, deeper roots.
So: x402 is winning the reach race in 2026. If this were only about counterparties and momentum, the post would end here. But a Bitcoiner doesn’t measure a payment rail only by how many people are on it.
The Bitcoiner’s lens: who ends up holding your money?
Here’s the question we ask about any rail before we build on it: after a payment settles, what do I actually hold, and who can take it away?
With x402, you settle in a stablecoin on someone else’s chain. Three trust assumptions ride along whether you think about them or not:
- The issuer. A USDC balance is a claim on a company’s reserves. That company can freeze, blacklist or burn an address — it has, and it will again when compelled. You hold an IOU, not bearer money.
- The chain. Base is an L2 operated by a single sequencer (Coinbase’s). Solana, Polygon — each has its own validator set and its own failure and censorship surface. Your settlement finality depends on infrastructure you don’t run.
- The denomination. A stablecoin is pegged to the dollar by design. If your thesis is that fiat is the thing you’re trying to back up, settling in a tokenized dollar is settling in the very unit you wanted an exit from.
With L402, you settle in sats over your own Lightning node. There’s no account to open and no issuer to ask permission from — payment is peer-to-peer, and the receipt (the macaroon) is the only credential. If you run your own node, no third party sits between you and the money. You hold bearer Bitcoin, denominated in the asset itself, on rails you operate. And if you self-host that node, the protocol is free to run — there’s no platform clipping a fee off every call.
This is the same logic that runs through everything we build. Resilience needs backups. Bitcoin is the backup to a financial system that can freeze you; a mesh network is the backup to an ISP that can cut you off; your own power is the backup to a utility that can throttle you; local compute is the backup to intelligence you have to rent. A payment rail you fully own — node, keys, denomination — is a backup to a payment system you merely have an account on. x402 is an account-shaped rail with excellent reach. L402 is a sovereignty-shaped rail. Knowing which shape you need is the whole decision.
Being honest about where x402 wins
We’re not here to tell you x402 is bad. It isn’t, and pretending otherwise would make us exactly the kind of one-eyed maximalist that good engineers tune out. x402 genuinely wins on several axes right now:
- Reach, today. 100M+ Base transactions and a who’s-who of payment giants means more agents and services your endpoint can transact with this year. Distribution is a real moat and x402 has it.
- Stablecoin price stability for accounting. If your books need to be denominated in dollars, a dollar-pegged settlement asset removes FX noise. Sats move against the dollar minute to minute; for some businesses that’s friction.
- EVM tooling and developer gravity. The Ethereum/Base ecosystem is enormous, and x402 plugs straight into it. If your team already lives there, the integration cost is near zero.
- Institutional comfort. A Linux Foundation standard backed by Visa and Stripe is an easy “yes” for a compliance department. L402’s Bitcoin-native, self-custody model is a harder internal sell at a large company — that’s a feature for a pleb and a friction for an enterprise.
If your priority is maximum counterparties and minimum dollar volatility, this quarter, x402 is the pragmatic pick. We’d rather say that plainly than sell you a worse fit because it shares our politics.
Which one should you actually build on?
Decide by the loop you’re building, not by the bigger logo.
Build on L402 if sovereignty is the point. If you want to be paid in money no one can freeze, debase, or require an account for — and you’re willing to run a node to get it — L402 is the rail. It shines hardest for the true micropayment: charging a fraction of a cent per API call, per token of inference, per minute of GPU time, where stablecoin settlement economics get awkward and Lightning is built precisely for tiny, instant, final payments. And it composes beautifully with the rest of a self-hosted stack. If you run a miner, you very likely already have — or can run — a Lightning node. That same box can hash, throw off heat, and sell inference for sats over L402, with the money landing in your own wallet. We wrote a full build for exactly that loop in your miner already has a Lightning node — now it can sell inference for sats.
Build on x402 if reach and dollar-denominated accounting outrank self-custody for your use case — you want the widest set of counterparties today, you’re already in the EVM ecosystem, and a tokenized-dollar IOU on someone’s L2 is an acceptable trade for that distribution.
And yes, you can run both. Nothing stops a server from answering an x402 challenge for the stablecoin crowd and an L402 challenge for the sovereign crowd. Pragmatically, supporting both maximizes who can pay you. But know which one you’d keep if you had to choose — because that answer tells you which world you’re actually building for. For us, the answer is the rail where the money is bearer Bitcoin and the node is ours. That’s not a hedge. That’s the whole point.
One accuracy note we’ll hammer because it matters: a payment rail doesn’t change what hardware does the work. Settling inference revenue in sats does not mean your Bitcoin ASIC is running the model — a SHA-256 miner is fixed-function silicon that can only hash. The inference runs on a GPU or CPU you own; Lightning just settles the bill. If that distinction is new to you, start with can you actually run AI on a Bitcoin miner? before you wire anything up.
The bigger picture is the one we keep coming back to: owning your money, your compute, and your hardware is one continuous stance, not three separate hobbies. A rail that settles in bearer Bitcoin on a node you control is the payment layer of a sovereign stack. We make the case for that whole worldview in our Sovereign AI for Bitcoiners manifesto, and we map the rest of the backups stack on the sovereignty hub. The agentic payment war is real, and the plebs who pick the rail they own won’t have to ask anyone’s permission to get paid.
Frequently asked questions
What is the difference between x402 and L402?
Both turn the HTTP 402 “Payment Required” status code into a working pay-per-request flow for APIs and AI agents. The core difference is settlement. x402 (built by Coinbase, now hosted by the Linux Foundation’s x402 Foundation) settles onchain in stablecoins — mostly USDC on Base and other EVM chains. L402 (built by Lightning Labs) settles in sats over the Bitcoin Lightning Network, peer-to-peer, with no account and no stablecoin issuer in the middle. x402 has broader adoption in 2026; L402 offers full self-custody and is free to run if you host your own node.
Is x402 or L402 more widely adopted in 2026?
By raw transaction count, x402 is ahead. A June 2026 Chainalysis analysis reported x402 going from near-zero in mid-2025 to well over 100 million cumulative transactions on Base through Q1 2026, with backing from Stripe, Google, Visa, Mastercard and AWS via the Linux Foundation–hosted x402 Foundation. L402 is mature and production-ready — Lightning Labs’ Aperture proxy has run in production for about five years and the company shipped Lightning Agent Tools in February 2026 — but Lightning Labs does not publish an equivalent cumulative counter, so precise L402 transaction figures should be treated with caution.
Why would a Bitcoiner choose L402 over x402?
Self-custody and denomination. With L402 you settle in sats over your own Lightning node — bearer Bitcoin, peer-to-peer, with no issuer who can freeze your balance and no separate chain operator to trust. x402 settles in a stablecoin, which is a claim on an issuer’s reserves that can be frozen or blacklisted, on a chain you don’t operate, denominated in the dollar you may be trying to back up. If owning your money end-to-end is the goal, L402 fits a sovereign loop. If maximum reach and dollar-stable accounting matter more, x402 is the pragmatic choice.
Can my Bitcoin miner sell AI inference and get paid over L402?
The same operator and the same site can, but not the ASIC itself. A SHA-256 mining chip is fixed-function and can only hash — it cannot run AI inference. The inference runs on a GPU or CPU you own; an L402 reverse proxy like Aperture, sitting in front of that model and connected to your Lightning node, charges callers in sats per request. A miner operator is well positioned for this because the same setup often already runs a Lightning node and has the power and cooling on hand. See our guide on selling inference for sats for a full reference stack.
Is it free to accept payments with L402?
The L402 protocol itself charges no platform fee, and if you self-host your own Lightning node, there’s no third party clipping a cut of each payment — you pay only standard Lightning routing fees, which are typically a tiny fraction of a percent. x402 likewise charges no protocol fee, but settling stablecoins onchain involves the underlying chain’s costs and the trust assumptions of the stablecoin issuer. “Free if you self-host” is a factual property of running your own node, not a revenue promise.
Can I support both x402 and L402 at the same time?
Yes. Nothing in either spec prevents a server from offering an x402 stablecoin challenge and an L402 Lightning challenge for the same resource, letting each client pay on the rail it prefers. Supporting both maximizes the set of agents and wallets that can pay you. The strategic question isn’t whether you can run both — it’s which one you’d keep if forced to choose, because that reveals whether you’re optimizing for reach or for sovereignty.




