# Lightmeter

> Lightning Labs' token-metering price server for Aperture: turns a provider's USD price list into msat per token, sells prepaid token bundles over L402, debits what each request actually used and reconciles against the provider's bill

Canonical: https://satsforbots.com/tool/lightmeter/

[← Directory](https://satsforbots.com/directory/)

## Lightmeter
[Seller Tools](https://satsforbots.com/category/seller-tools/)

Lightning Labs' token-metering price server for Aperture: turns a provider's USD price list into msat per token, sells prepaid token bundles over L402, debits what each request actually used and reconciles against the provider's bill
Note: Open source (MIT), no tagged release yet; build from source with Go 1.26.1 or later. It runs next to Aperture v0.6.0 as its price server and is the seller side of pi402. Aperture can also take payment through MPP; L402 is the Lightning path.
[Visit Lightmeter ↗](https://github.com/lightninglabs/lightmeter)

 | Website | [https://github.com/lightninglabs/lightmeter](https://github.com/lightninglabs/lightmeter)
 | Category | Seller Tools
 | Last verified | 2026-11-20
 | Verdict | Working checked Nov 20, 2026
Repo up with a full README; latest commit Nov 5, 2026. [All verdicts](https://satsforbots.com/verdicts/)

## Add the badge to your README
Built Lightmeter? Show that it is listed on satsforbots.com. The badge links back to this page. [About the badge](https://satsforbots.com/badge/)
Markdown
[![Listed in Sats for Bots](https://satsforbots.com/badge/listed.svg)](https://satsforbots.com/tool/lightmeter/)
HTML
<a href="https://satsforbots.com/tool/lightmeter/"><img src="https://satsforbots.com/badge/listed.svg" alt="Listed in Sats for Bots" width="196" height="28"></a>

## Related
[Seller Tools](https://satsforbots.com/category/seller-tools/)
### [Aperture](https://satsforbots.com/tool/aperture/)

L402 reverse proxy that gates any API behind Lightning payments, now with metered (pay-per-token) pricing and Wavelength-backed invoices

[Seller Tools](https://satsforbots.com/category/seller-tools/)
### [Phoenixd L402 SDK](https://satsforbots.com/tool/phoenixd-l402-sdk/)

Nodana's open-source TypeScript SDK that charges for API requests over L402 using your own Phoenixd node: issues Lightning invoices and verifies L402 credentials

[Seller Tools](https://satsforbots.com/category/seller-tools/)
### [PayAgents](https://satsforbots.com/tool/payagents/)

Payment layer that lets agents pay for APIs and MCP tools per request, and sellers charge per request, over Lightning (L402), with Express middleware (npm payagents) and a payagents-mcp server; free in beta
