Allocate shared LLM capacity where applications compete for it. Identify the provider deployment or endpoint that enforces the quota, then set application admission limits for both requests and tokens. Give interactive requests enough headroom to start during a batch run. Keep queued work and retries within the same capacity budget as first attempts.
Map the quota to the deployment
Record which applications use each provider account, region, deployment and model. List both requests per minute and tokens per minute where they apply, plus the provider's short-window behavior. Microsoft's Azure OpenAI quota guide explains that deployed models have request and token limits and that a burst can be throttled before a minute-long total reaches its limit. Use even dispatch and check the observed rate at shorter intervals.
Quota units also depend on the endpoint. AWS's Bedrock quota documentation describes a preliminary deduction of input plus maximum output tokens on Bedrock Runtime and a later adjustment that can weight output tokens by model. Track the admission estimate and provider-reported usage separately. Apply endpoint-specific rules to the capacity estimate, and use billing evidence for the spend ledger.
Give batch work a budget in both dimensions
Suppose an internal help assistant and a nightly document-labeling job share a hypothetical deployment with 120 requests and 120,000 quota tokens per minute. Reserve 60 requests and 60,000 tokens for the assistant. Keep 20 requests and 20,000 tokens as headroom. The batch starts with 40 requests and 40,000 tokens per minute.
| Batch request shape | Budget bound per minute | Limiting dimension |
|---|---|---|
| 800 quota tokens per request | 40 requests | Request count |
| 2,000 quota tokens per request | 20 requests | Token count |
| 8,000 quota tokens per request | 5 requests | Token count |
These bounds assume uniform request sizes and no retries. Pace launches within the window and cap concurrent batch attempts. If four 8,000-token requests already used 32,000 tokens this minute, one more can fit the token budget and a sixth must wait. Carry the actual request shape into admission instead of using a monthly average. A larger output limit or context expansion can change the admission estimate for the same number of jobs.
A scheduler can lend unused interactive capacity to batch work. Reclaim it by pausing new batch launches and allow for calls already in flight. If an interactive burst cannot wait for those calls, reserve capacity that batch cannot borrow or allocate a separate provider deployment for the batch.
Handle throttling by observed cause
Record the application, deployment, provider response, remaining quota headers where available, and time to deadline. A provider throttle is evidence about the attempted route. A configured application limit is evidence about your own admission decision. Track the two separately.
| Signal | First response |
|---|---|
| One app reaches its assigned allowance | Queue or decline that app's new work according to its service objective |
| Provider throttles across apps | Reduce shared dispatch and respect the provider's retry delay within the caller's deadline |
| Only bursts fail | Check per-second arrival patterns and pace the queue |
| The original region has no capacity | Use only destinations already approved for that workload |
Check who owns the quota incident before the first shared rollout. The assistant owner can reduce its context size, while the platform team can change the shared allocation. Record when to escalate a sustained throttle to the provider and which evidence to include. This keeps a temporary capacity shortage from becoming a permanent reduction in every application's allowance.
Test with overlapping interactive requests, batch work and retry traffic. Check that retry handling in the SDK and worker does not multiply attempts, deadlines remove stale jobs, and a capacity shortage cannot select a disallowed route. Use the internal budget alerts guide for spend escalation. Review Alectura's policy limits if you need per-organization or per-user request and token limits. Those limits count within a region, so keep the provider's shared quota model in your capacity plan.
Source documents (2)
Trace a request through Alectura.
Bring a sample prompt and a customer policy. See what reaches the model and which decisions appear in the request record.