Every Next.js SaaS tutorial gets here: put a counter in Redis, check it in the route. That works for a weekend. Then you need a Free column and a Pro column, a monthly reset, a Stripe webhook that must not double grant, and a cancel that returns the user to Free. That is UsageGate.
| Your Redis | UsageGate | |
|---|---|---|
| INCR on the request | You write it | Built in |
| Plan table (3 plans × features) | You invent it | Access rules |
| Free signup renewal | You invent it | grantPlan |
| Paid period from the gateway | You invent it | Stripe or reportSubscription |
| Idempotent webhooks | You invent it | Built in |
| Low latency on the hot path | If you operate it | Redis, already |
What you still run
Your app, your database, your payment account. UsageGate is only the check. See the default stack and Get started.
