Current decision boundary
Open-source library plus backing state
Verified 2026-07-27: the library is MIT-licensed; Upstash Redis publishes Free, pay-as-you-go, Fixed, production add-on, and Enterprise cost boundaries.2
Application-level TypeScript rate limiting
An MIT-licensed TypeScript rate-limiting library for serverless and edge runtimes, commonly backed by Upstash Redis-compatible state.
Whether quota policy should live in TypeScript application code with a managed low-operations state dependency.
Upstash Ratelimit is an application library, not a managed gateway or WAF. The application owns identifiers, policy, trust boundaries, fail-open or fail-closed behavior, responses, and bypass paths; backing Redis commands, regions, latency, consistency, and availability remain separate.12
For: JavaScript and TypeScript teams implementing explicit quotas in serverless or edge request paths
The MIT-licensed library has no separate subscription; total cost comes from backing Redis commands, storage, bandwidth, regions, production add-ons, hosting, and engineering operations.2
Current decision boundary
Verified 2026-07-27: the library is MIT-licensed; Upstash Redis publishes Free, pay-as-you-go, Fixed, production add-on, and Enterprise cost boundaries.2
Upstash · Accessed Official
Upstash · Accessed Official
Cloudflare · Accessed Official
Cloudflare · Accessed Official
Kong · Accessed Official
Kong · Accessed Official
Envoy · Accessed Official
Envoy · Accessed Official