Lightning Labs released pi402 on November 12, 2026, according to ChainCatcher’s November 13 report, which cited Crypto Briefing. The open-source extension is built for the Pi coding agent and is intended to let an agent pay for its AI inference with Bitcoin over the Lightning Network.
The payment journey starts when an agent encounters a price. Under the L402 protocol, an HTTP 402 “Payment Required” response is paired with a Lightning invoice. The agent pays the invoice, then resumes work. The reported setup does not require the agent to register an account or provide an API key or credit card.
The model charges for tokens consumed rather than requiring a fixed upfront purchase. In the demonstration, pricing was approximately $0.375 per million input tokens and $1.50 per million output tokens; those figures describe the demo, not a universal price. Sellers can use Aperture and Lightmeter to accept payments. According to the report, neither buyer nor seller needs to run a Lightning node because payments are handled by the Ark-based Wavelength wallet.
Source: chaincatcher.com (originally published 2026-11-13 08:27 UTC+8)

