Redis Rate Limits for LLM API Keys and Tenant Quotas
DEV Community
Redis Rate Limits for LLM API Keys and Tenant Quotas
A sliding window in Redis, keyed per tenant, is what stops one customer's runaway agent from spending your entire model budget. Here is how to build it.
0 comments
No comments yet.