NewsLayer

Install NewsLayer

Get the app experience — one tap from your home screen, instant loads and breaking-news alerts.

NewsLayer.com
LatestDaily BriefMarkets
NewsLayer PulseLIVE₿BTC$70,976-3.60%ΞETH$2,007-2.05%◎SOL$81.42-1.96%✕XRP$1.03-1.49%ÐDOGE$0.0663-1.29%₳ADA$0.175+1.09%Total Cap$2.49T-3.32%24H Vol$109.4BLayer Index20 Fear
BreakingNK hackers join memecoin trenches, xStocks adds Hong Kong equities: Asia Expressvor 3 Stunden
Markets
HomeArtificial IntelligenceCrypto

Artificial Intelligence|Crypto

Lightning Labs launches pi402 so AI agents can buy inference with Bitcoin

The open-source Pi extension lets coding agents pay per token over Lightning, with no accounts, API keys, or cards involved

Crypto Briefing

Publisher

Nov 12, 2026 at 10:51 PM UTC · 2 Min. Lesezeit

Lightning Labs launches pi402 so AI agents can buy inference with Bitcoin
Image via Crypto Briefing

Key Signal

~$0.375 Per million input tokens

Entities

bitcoin

Market Impact

BTC-3.60%$70,976

Last Updated

vor 2 Stunden

Übersetzung…

The open-source Pi extension lets coding agents pay per token over Lightning, with no accounts, API keys, or cards involved

Lightning Labs has released pi402, an open-source extension that lets AI coding agents pay for their own inference in Bitcoin over the Lightning Network.

There is no account signup, no API key, and no credit card. The agent sees a price, pays the invoice, and gets back to work.

The tool was unveiled on November 12, 2026, and is built for the Pi coding agent. It targets a specific and growing problem. Software agents increasingly need to buy compute, but nearly every compute vendor still assumes a human is holding the wallet.

How pi402 actually works

The engine underneath pi402 is L402, a protocol Lightning Labs has been developing for some time. It pairs two pieces of plumbing that were not originally designed to meet.

Reach crypto's most engaged readers — advertise mid-article on NewsLayer
Sponsored

Reach crypto's most engaged readers — advertise mid-article on NewsLayer

NewsLayer

Ad

The first is the HTTP 402 “Payment Required” response. The second is a Lightning invoice, which is a request for a specific amount of Bitcoin payable over the Lightning Network.

When an agent hits a paid endpoint, the server answers with a 402 and an invoice attached. The agent pays it, and the payment settles instantly.

Authentication runs through macaroons, a type of credential token. The result is pay-per-token billing. Instead of a monthly plan or a prepaid credit balance, the agent pays for exactly the tokens it consumes, request by request.

Market Context

₿

Bitcoin

BTC

$70,975

-3.60% (24H)

$73,711$72,343$70,975
2 AM9 AM5 PM1 AM

Market Cap

$1.43T

24H Volume

$18.1B

24H High

$74,006

View Bitcoin Market Page

Article Intelligence

Key Entities

bitcoin

Topics

aicrypto

Related Coverage

CryptoPower Landlords Are Highlighting Bitcoin Mining Roots During AI Routvor 3 Stunden · 1 min readCryptoGrayscale says crypto sectors are drifting away from Bitcoin’s orbitvor 2 Stunden · 2 min readCryptoBitcoin Price Slips To $71,000, Lowest Since Late Augustvor einer Stunde · 3 min read
View all related

Sponsored

Ad
House — Advertise on NewsLayer
NewsLayerLearn more

NewsLayer Premium

Unlock deeper intelligence.

Ad-free reading, exclusive research, and real-time onchain insights.

Go Premium
NewsLayer.com

The front page of the onchain economy. Crypto, Web3 and regulation intelligence — live prices, original research and policy tracking in one layer.

Follow on XTelegram

News

  • Latest News
  • The Daily Brief
  • Crypto
  • DeFi
  • Policy
  • Web3
  • Blockchain
  • Explainers

Markets

  • Market News
  • Layer Index
  • Live Charts
  • DeFi Protocols
  • Regulation Tracker
  • Regulation Radar

Company

  • About NewsLayer
  • Advertise
  • PR Publication
  • Become an Author
  • Our Authors
  • Create Account
  • Sign in

Resources

  • Research
  • NewsLayer Originals
  • My Feed
  • Search
  • AI Sector
  • Quantum Sector

NewsLayer Premium

Read the full layer.

Unlock premium intelligence, original research and an ad-free reading experience.

  • Premium Intelligence briefings
  • Ad-free reading experience
  • Members-only research & data
Go Premium

© 2026 NewsLayer.com — The front page of the onchain economy

Privacy Policy·Terms of Service
NewsLayer

Get the signal, not the noise.

Markets, regulation and onchain intelligence in a 5-minute morning read — plus breaking alerts and Layer Index flips as they happen.

The Daily Brief

Breaking alerts

Index flips

Free · No spam · Unsubscribe anytime