Comments
>log in to comment
I'm the maker. The design choice that shaped everything else was keeping UsageRail out of the request path: the SDK checks keys and limits in your own process, and request and response bodies never leave your server. Framework guides cover Express, Hono, Fastify, Next.js, Cloudflare Workers, FastAPI, Flask and Django. If your stack isn't on that list, or something's missing for how you bill, I'd like to hear about it.
More Code tools →80 free dev tools →
UsageRail adds API keys, rate limits, quotas and Stripe usage billing to your own server.
- for
- Small teams that sell an API and want to monetize it themselves.
- pricing
- freemium
- license
- MIT
- node-v0.1.2Node SDK 0.1.2a month ago
- python-v0.1.1Python SDK 0.1.1a month ago
Key features
- SDK middleware — Node.js and Python SDKs check keys, rate limits and quotas in your server. Node.js benchmark p99: 14.8 µs (overage plan), 19.5 µs (stop at quota), framework excluded.
- Hosted developer portal — Customers sign up, create/rotate keys, view usage and manage plans on your domain.
- Stripe usage billing — Usage totals are sent to your Stripe account and added to customers' invoices.
- Prepaid credit packs — Customers can buy credit packs via Stripe Checkout; balances, expiry and refunds are tracked.
- Analytics dashboard — View usage by customer, endpoint and outcome with 7-365 days history depending on plan.
- HTTP check fallback — For non-Node/Python languages you can call a HTTP check endpoint, adding one network call per request.
Use cases
- Charge per request or per custom unit (e.g., tokens) with overage handling.
- Offer tiered plans with included request quotas and rate limits.
- Sell prepaid credit packs for burst usage.
- Provide a branded self-service portal for API consumers to manage keys and billing.
UsageRail pricing
- Free$0Bill up to $1,000/month · 1M requests/month · 1 live app · 1,000 end customers
- Starter$29/month2M requests/month · 1 live app · 10,000 end customers · 30 days analytics
- Growth$79/month10M requests/month · 3 live apps · Unlimited customers · 90 days analytics
- Scale$199/month50M requests/month · 10 live apps · Unlimited customers · 365 days analytics
UsageRail vs alternatives
| Best for | Self-hosted API monetization with Stripe | API gateway with monetization built in | Login plus billing for SaaS apps | Payments and billing; API access and metering are yours to build |
|---|---|---|---|---|
| Pricing | Freemium | Free | Subscription | Subscription |
| DevHunt upvotes | 1 | 1 | 0 | 0 |
| Launched | Nov 2026 | Apr 2024 | — | — |
- UsageRail vs Zuplo API Monetization: Zuplo covers keys, limits, quotas, plans and a dev portal, but traffic goes through its gateway. UsageRail's SDK runs in your server; requests never pass through us.
- UsageRail vs Kinde: Kinde creates a new Stripe account for metered billing and leaves rate limiting to your code. UsageRail uses your existing Stripe account and enforces limits in its SDK.
- UsageRail vs Stripe: Stripe has Checkout, a billing portal and metering; you still issue API keys, enforce limits and report usage. UsageRail does that part, with no revenue share.
UsageRail FAQ
Which languages and frameworks does UsageRail support?+
Node.js SDK works with Express, Hono, Fastify and Next.js; Python SDK works with FastAPI, Flask and Django. Other languages can use the HTTP check endpoint.
What happens if UsageRail is down?+
The SDK keeps a local copy of keys for up to 24 hours, so requests continue serving; unknown keys return 503 and quota-exceeding requests are counted later.
Do you take a cut of my revenue?+
No. Your customers pay into your Stripe account. You pay for your UsageRail plan; on paid monthly plans, HTTP checks over the allowance cost $5 per million.
Can I charge by usage, subscription or prepaid credits?+
Yes. Plans can include a flat fee with included usage, overage charges, or prepaid credit packs that draw down as usage occurs.
Is there a free trial?+
There is no separate trial; the free plan lets you take real payments and you can upgrade or get a full refund within the first month if needed.
Do I have to move existing Stripe customers?+
No. You map existing Stripe prices to UsageRail plans; customers keep their current subscriptions and payments stay in Stripe.
Edited by the makers, based on usagerail.com · Nov 15, 2026. Details may change; check the official site.









