Skip to content

Ask AI

I answer questions about Radeon Cloud from these docs and link to the pages I used.

Answers are generated from the docs by a model on Token Factory and can be wrong; the docs are authoritative. Don't enter API keys or other secrets here.

Rate limits

Limits keep shared capacity usable, so they apply almost entirely to Token Factory. There are four groups, each applied on its own.

Each request goes through two checks, and it has to pass both. First the platform decides whether to admit the request. Then the gateway counts it against your account’s limits.

LimitScopeTypical value
Requests per minutePer API key30
Requests per minutePer IP address120, where the deployment’s edge supplies a trusted client address
Concurrent requestsPer API key8
Concurrent requestsPer modelSized to what that model’s backend fleet can serve
Concurrent requestsPer serving processShared pool
Concurrent requestsPlatform-wideShared pool

Two models add a rule for long prompts. On Qwen3.8-Flash-Next, at most one request of 128K (about 131,072) tokens or more (estimated input) runs at a time per API key and per account. A second one returns 429 with Retry-After: 30 and code large_prompt_concurrency_rate_limit_exceeded. On Inkling-2-Mini the threshold is 64K (65,536) text prompt tokens (images don’t count), per API key and per account; a second one gets the same 429.

LimitScopeTypical value
Requests per minutePer account20, on a 60-second sliding window
Daily usage capPer accountCounted in Token Factory points (pts) over the calendar day in Beijing time; resets at 00:00 UTC+8

Chat, speech (/v1/audio/speech) and decision (/v1/systemone) requests all count against the same per-minute window and the same daily usage cap.

Listing models doesn’t consume a concurrency slot, though it does count toward the per-minute limits.

429 with a Retry-After header. The body depends on which tier refused you.

Platform admission returns an OpenAI-shaped error wrapped in detail:

{
"detail": {
"error": {
"message": "Model API rate limit exceeded; please retry later",
"type": "rate_limit_error",
"code": "token_rate_limit_exceeded"
}
}
}

The code tells you which gate you hit:

CodeMeaning
token_rate_limit_exceededToo many requests per minute on this key.
ip_rate_limit_exceededToo many requests per minute from this IP.
token_concurrency_rate_limit_exceededToo many requests in flight on this key.
large_prompt_concurrency_rate_limit_exceededAnother long request from this key or account is still running on that model (128K tokens or more on Qwen3.8-Flash-Next, 64K on Inkling-2-Mini). Retry-After: 30.
model_concurrency_rate_limit_exceededThat model is at its own concurrency limit. Another model may still have room.
process_concurrency_rate_limit_exceededThe serving process is saturated.
global_concurrency_rate_limit_exceededThe platform is at capacity.

On the China site (measured 2026-11-29), concurrency limits return a Retry-After of about 15–22 seconds when your own key is at its limit; per-minute limits return the seconds left in the window. Always use the Retry-After value you receive.

Gateway metering returns an OpenAI-shaped error at the top level, with the generic rate_limit_exceeded code rather than a per-gate one, and a Retry-After computed from the window:

{
"error": {
"message": "Rate limit exceeded: maximum 20 requests per minute for this OneClick user. Please try again later.",
"type": "rate_limit_error",
"param": null,
"code": "rate_limit_exceeded"
}
}

Reaching the daily usage cap produces the same shape with Daily usage limit exceeded: maximum $N per period for this OneClick user., and Retry-After set to the seconds remaining in the period.

On /v1/messages the gateway uses Anthropic’s envelope instead: {"type": "error", "error": {"type": "rate_limit_error", "message": "..."}}.

A non-streaming request that runs longer than about 10 minutes is ended. Streams can run up to about 30 minutes. For long prompts or long outputs, use stream: true.

Many OpenAI-compatible SDKs also default to a 10-minute client timeout; raise it if you stream long responses.

None of the above applies. A model service on your instance has no gateway in front of it: the proxy checks that the key matches the instance, then forwards. There is no per-minute limit, no concurrency allowance and no daily usage cap on the request path.

What bounds you instead is the instance itself: vLLM’s own queue, settings such as --max-num-seqs, and the GPU you launched. Past that, requests queue rather than return 429. Credits are consumed for as long as the instance runs, whether or not requests arrive.

Launching from a template is limited per IP address over sliding windows of a minute, ten minutes and an hour. The limits catch retry loops; normal use doesn’t reach them.

Going over returns 429 with Retry-After. Each account can also have only one instance at a time, so a second launch is refused until the first is destroyed.

Sign-in attempts and new account creation are rate limited per IP. Relevant only if you’re driving the console, not the API.

Honour Retry-After rather than picking your own interval, and add exponential backoff with jitter on top. Clients that all retry at the same moment recreate the spike that caused the limit.

Cap concurrency on your side to match the per-key allowance instead of firing requests and catching 429s. A semaphore of 8 is simpler and faster than a retry loop.

Don’t retry 4xx other than 429. A 400 or 401 will fail identically every time.

import time, random, requests
def call_with_retry(payload, attempts=5):
for i in range(attempts):
r = requests.post(URL, headers=H, json=payload, timeout=600)
if r.status_code != 429:
r.raise_for_status()
return r.json()
wait = float(r.headers.get("Retry-After", 60))
time.sleep(wait + random.uniform(0, 2) * (2 ** i))
raise RuntimeError("rate limited after retries")

If you consistently need more than the Token Factory allowance, serve the model on your own instance, where the only limit is what your instance can serve.