Skip to content
AgenticAIWiki

← Chapter 69. Scaling and rate limits

Sharing one rate limit as traffic grows

allowedTenant ATenant BTenant CYour limiterin your codeQueuedepth 20Worker 1Model APIone limit: 400k input tokens per minute

Swipe to change step

Step 1 of 7. The provider sees one organisation with one rate limit, counted in requests and tokens per minute. Every tenant and feature you have shares it. Tenant A. Tenant B. Tenant C. Your limiter (in your code). Queue (depth 20). Worker 1. Model API (one limit: 400k input tokens per minute), highlighted. arrow from Tenant A to Your limiter. arrow from Tenant B to Your limiter. arrow from Tenant C to Your limiter. arrow from Your limiter to Queue, labelled allowed. arrow from Queue to Worker 1. arrow from Worker 1 to Model API.

Keys: → or J next, ← or K back, Home and End jump, Space toggles auto-play when the diagram has focus.