UsageRail SDK
Node.js and Python SDKs for API keys, rate limits and usage metering
...If you bill for usage, UsageRail sends each period's totals to your own Stripe account, and Stripe adds the charges to your customers' renewal invoices. It needs no gateway or proxy, and your API requests never pass through UsageRail.
Node.js 22+: Express, Hono, Fastify and Next.js (npm install @usagerail/node).
Python 3.10+: FastAPI, Starlette, Flask and Django (pip install usagerail).
Neither SDK has runtime dependencies of its own. Source code, issues and releases are on GitHub. MIT licensed.