Per-customer API rate limiting
What to key a limit on when you charge for an API, why rate limits and quotas need different answers, four common algorithms and their trade-offs, and how to count usage so it can be billed.
The longer write-up, with response headers and code: API rate limiting algorithms and headers.
Super
November 16, 2026