{"type":"rich","version":"1.0","title":"TFTC wrote","author_name":"TFTC (npub1sk…6jraw)","author_url":"https://yabu.me/npub1sk7mtp67zy7uex2f3dr5vdjynzpwu9dpc7q4f2c8cpjmguee6eeq56jraw","provider_name":"njump","provider_url":"https://yabu.me","html":"Lightning Labs just released a way for your coding agent to pay for AI inference in bitcoin, with no account, no API key and no card.\n\nThe agent gets a bill, pays it over Lightning, and the request goes through. Here is how it works.\n\n• pi402 is an extension for the Pi coding agent that registers a paid model provider\n• The first request returns an HTTP 402 with a Lightning invoice, and it goes through once the invoice is paid\n• The demo seller lists input at $0.375 and output at $1.50 per million tokens\n• The first request buys a 500,000 token bundle, usable for 30 days\n• pi402 asks the user before paying anything above their per-request limit\n• Neither agents nor sellers need to run a Lightning node\n\nIt sits inside Lightning Labs' L402 platform, where Aperture is the gateway, Lightmeter is the meter and Wavelength is the wallet. It is open source, and the seller side is live on mainnet.\n\nEvery account, API key and card on file is a person someone can identify, bill or cut off. Here the agent just pays.\n\nIf agents are going to buy their own compute, better that they do it with money that doesn't need a bank's sign-off."}
