Rate limits and quotas
Ceilings are per key, not per account, so one runaway service cannot starve the others.
Per key
| Limit | Default | On exceeding |
|---|---|---|
| Requests per minute | 600 | 429 rpm_exceeded, with Retry-After. |
| Tokens per minute | 2,000,000 | 429 tpm_exceeded. Counted on the estimated prompt at admission, not after the fact. |
| Active keys per account | 50 | 409 when creating the fifty-first. |
Both ceilings are token buckets that refill continuously, so a burst is absorbed rather than refused at a minute boundary. Raise or lower them per key from the keys page.
Per request
| Limit | Value |
|---|---|
| Request body | 16 MB |
| Context window | The model's own — up to 1,048,576 tokens |
| Max output | The model's own — up to 393,216 tokens |
| Completions (n) | 1 — above it is a 400, not a cap |
| Time to first byte | Up to 10 minutes; reasoning models are expected to think |
max_tokens above a model’s limit is clamped rather than rejected, and the clamped value is what is sent upstream. For a request that switches thinking off on a model that honours that, it makes the reservation a bound on the bill. Otherwise it is a sized estimate: reasoning is not bounded by max_tokens, so the reservation adds a measured allowance for it and an unusually long reasoning run can settle slightly above what was held. The models that reason whatever they are asked — GLM 5.3 Flash — are reserved that way even with thinking off, because there max_tokens bounds nothing. See models and pricing.Credit, not quota
There is no monthly quota to exhaust. Spending is bounded by your balance: a request whose worst case exceeds it is refused with a 402 before it is sent. That worst case is held for the duration of the request, so concurrent calls cannot each spend the same credit. A balance can still end slightly below zero when a reasoning run settles above the allowance held for it; the shortfall comes off the next top-up rather than being written off, and nothing is cut off mid-stream to prevent it. Turn on automatic top-ups if you would rather not watch the balance, with a daily ceiling you set.
Need more?
The defaults are conservative because they are the ones a new account gets without asking. If you are planning something larger, tell us the shape of it and we will raise them — there is no tier to buy.
Last updated 2026-09-28.