Limits
Every limit on an API key (rate, size, time, concurrency) in one table, and how to ask for more.
Limits keep one customer's traffic from slowing everyone else down. They apply to each API key separately, not to your IP address or your account as a whole, and the counts reset every minute. A key's *spending* is limited differently, by its budget and your balance.
Limits per API key
| What | Covers | Limit |
|---|---|---|
| Model requests | Chat, Responses, Messages, embeddings and rerank | 600 per minute |
| Tokens | Input and output tokens of those requests | 2,000,000 per minute |
| Media requests | Images, image edits, speech and transcription | 60 per minute |
| New jobs | Starting video, music and 3D jobs, counted together | 10 per minute |
| Job reads | Reading and listing jobs, the event stream, the webhook log and redelivery, cancelling a job, and GET /v1/key | 600 per minute |
| Jobs running at once | Video, music and 3D jobs | No limit |
Keys used in the console playground have lower limits than API keys you create. A burst at the peak of a minute can get through slightly above these numbers, so use them to size your client, not as an exact meter.
Size and time
| What | Limit |
|---|---|
| Uploaded image | 20 MB each |
| Uploaded audio file | 25 MB |
| Chat response start | About 90 seconds; streaming avoids waiting on one big response |
| Any response to start | 100 seconds, then the edge ends the request. Use jobs for long work |
| Result files (images, video, audio, 3D) | Kept on cdn.ewest.ai for 7 days |
| Webhook answer | Within 10 seconds (retries) |
| Idempotency-Key | Up to 255 characters, remembered for 24 hours (details) |
When you hit a limit
A request over a limit answers 429 with code rate_limit_exceeded and a retry-after header in seconds. Wait that long and retry; Rate limits and retries has the backoff rules and a tested example. A 429 is never about money: out of budget or balance is a 402, which retrying does not fix (which is which).
A model that is short of capacity answers 502 (model_unavailable) or 429 (model_busy), not a limit on your key. Both are worth retrying.
Staying under the limits
- Follow jobs with the event stream or a webhook instead of polling fast: a job read counts against the 600 per minute.
- Use one key per app or environment, so a busy one cannot use up another's allowance.
- Spread starts of video, music and 3D jobs: ten new jobs a minute per key is the tightest limit most teams meet.
- Read
x-ratelimit-remaining-requestson chat answers when it is present, but do not depend on it.
See your limits
The Limits page in the console lists every limit your keys have and how much of each key's allowance is used in the current minute. GET /v1/key returns the calling key's own limits and what it may still spend.
Ask for a higher limit
Open Limits and choose Request an increase, or write to support@ewest.ai. Tell us the organisation, which limit, the value you need, and what you are building. Limits are changed by hand today, so allow a working day or two.