pi402 lets Pi coding agents pay for inference over Lightning

Lightning Labs released pi402 on November 12, 2026, according to a report published by Odaily on November 13, 2026, at 08:28 (UTC+8). The open-source extension is built for Pi coding agents to pay for inference with Bitcoin over the Lightning Network.

The reported payment flow starts when an agent encounters a price. It pays a Lightning invoice, then resumes work. pi402 uses the L402 protocol to pair an HTTP 402 “Payment Required” response with that invoice. Odaily says payment settles immediately and charges reflect actual token consumption. The tool does not require the agent to register an account or use an API key or credit card.

On the receiving side, sellers can accept payments through Aperture and Lightmeter. Odaily reports that neither buyer nor seller needs to run a Lightning node; an Ark-based Wavelength wallet handles payments.

Source: odaily.news (originally published 2026-11-13 08:28 UTC+8)