Lightning Labs released pi402, an open-source extension enabling AI coding agents to pay for their own inference costs using Bitcoin via the Lightning Network. Designed for Pi coding agents, the tool eliminates the need for account registration, API keys, or credit cards—agents simply view a price and pay a Lightning invoice to resume work.
Built on the L402 protocol, pi402 combines HTTP 402 "Payment Required" responses with Lightning invoices for instant settlement upon payment. This enables per-token billing, where agents pay only for actual consumption. Sellers can accept payments through Aperture and Lightmeter tools without running Lightning nodes themselves; settlements are handled by Wavelength, an Ark-based wallet. Demo pricing stands at approximately $0.375 per million input tokens and $1.50 per million output tokens.
Lightning Labs Launches pi402 to Let AI Agents Pay Inference Costs in Bitcoin via Lightning Network
免責事項: Phemexニュースで提供されるコンテンツは、あくまで情報提供を目的としたものであり、第三者の記事から取得した情報の正確性・完全性・信頼性について保証するものではありません。本コンテンツは金融または投資の助言を目的としたものではなく、投資に関する最終判断はご自身での調査と、信頼できる専門家への相談を踏まえて行ってください。
