Lightning Labs announced pi402 on Nov 12

pi402lightning wavelengthroasbeef

Lightning Labs announced pi402 on Nov 12, 2026: pay for AI inference directly from a coding agent with bitcoin over Lightning, with no accounts, API keys or cards. Learn more at https://pi402.tech, per @lightning, pi402 and Lightning.

pi402 is an L402 plus MPP inference stack built on Pi and Aperture. It is fully open source with three parts: pi-402, a Pi extension embedding Wavelength via WASM for L402 and MPP negotiation; lightmeter, a companion daemon to Aperture for per-token metering, model pricing and session channel accounting; and Aperture, an L402 and MPP reverse proxy that turns any existing inference endpoint into a bitcoin-metered instance, per @roasbeef and Github.

A live seller endpoint is at https://pi402.roasbeef.computer/, hosting deepseek-v4-1-flash at 1 sat per 500 tokens, or 1,000 sats per 500,000 tokens, per @roasbeef and roasbeef.

How it works: pi402 registers a paid model provider in Pi, the first request returns HTTP 402 with a Lightning invoice, and the request goes through once paid. The demo seller lists input at $0.375 and output at $1.50 per million tokens, the first request buys a 500,000 token bundle usable for 30 days, pi402 asks the user before paying above their per-request limit, and neither agents nor sellers need to run a Lightning node. The seller side is live on mainnet, with Aperture as gateway, Lightmeter as meter and Wavelength as wallet, per @TFTC21.

Could not be read: The linked original X post; Latest posts of @lightning; Latest posts of @roasbeef; Latest posts of @TFTC21.

Ask your own

FixLane Live vulnerabilities with ready fix prompts