Under quota per minute, throttled per second
Step 1 · The pattern
A per-minute quota, well inside it
The deployment has a quota of 600 requests a minute. Users chat at a steady few requests a second, and the dashboard shows usage far below the limit. (All numbers are illustrative.)
- a request
- served
In short
Under quota per minute, throttled per second: how it works and how it breaks
Model API quotas are usually written per minute: so many requests and so many tokens. Providers enforce them over much shorter windows. Azure OpenAI, for example, evaluates requests per minute over a small period, typically 1 or 10 seconds, so a 600-requests-per-minute deployment is throttled if more than 10 requests arrive in one second. A scheduled job that sends its whole minute of work at the top of the minute sails past that short window and is throttled, even though the minute's total is well under quota. The dashboards, which show per-minute totals, say there is plenty of room. The fix is to pace on the client: a token bucket that releases requests evenly across the minute, a queue at the gateway for low-priority work, and start times spread out rather than everything at :00. Watch throttles per second, not only usage per minute.
What this simulation simplifies
- The window is a fixed one second here; providers use their own window lengths.
- Throttled requests are simply refused; real clients would retry them after retry-after.
How this comes up in interviews
"A batch job calling an LLM API gets throttled though usage is well under quota. What is happening and what do you change?"
Then they ask
- How is the quota enforced?
- Where do you pace?
- How do you keep batch from hurting interactive users?
A strong answer covers
- Per-minute quotas are enforced over seconds; bursts exceed them.
- Pace with a token bucket on the client or at the gateway.
- Queue and prioritise: interactive first, batch after.
- Jitter scheduled start times; use the provider's batch API where possible.
- Monitor per-second throttles, not only per-minute usage.
Points to cover, not a script. Say them in your own words and tie them to a system you have worked on.
On one page: the track cheat sheet.
Sources: Microsoft Learn: Azure OpenAI quota management (RPM evaluated over 1 or 10 seconds) ↗ · OpenAI API docs: Rate limits ↗ · Report a problem
Diagrams are our own simulations: the timings, rates and counts in them are illustrative, not measurements. Captions are original wording.