Rate Limits
The three request-level limits, how they are counted, and handling 429.
Three limits
The platform enforces three per-user limits at the request entry:
| Limit | Meaning |
|---|---|
| RPM | Requests per minute |
| RPD | Requests per day |
| Concurrency | Requests in flight at the same time |
Exact quotas are shown in the console.
How counting works
- Per user account, not per API key: all keys under one account share the same RPM, RPD, and concurrency quota — creating more keys does not multiply it.
- No TPM cap: the platform does not limit token throughput.
- When a model is temporarily out of capacity you get OpenAI-shape 503
server_is_overloadedor Anthropic-shape 529overloaded_error; retry later.
Handling 429
429 has several sources with different handling:
| Source | Signature | Action |
|---|---|---|
| RPM / RPD / concurrency limit | Regular rate limiting | Retry with exponential backoff; persistent 429 means you exceed the quota |
| Balance temporarily held by in-flight requests | Comes with Retry-After: 1 | Book balance is positive; retry shortly — see Billing & Usage |
| OpenAI Flex capacity short | code is flex_unavailable | Retry later, or drop service_tier: "flex" and send as Standard — see Service Tiers |
| Claude Fast limits | Anthropic-shape rate_limit_error on a speed: "fast" request | Retry later, or drop speed and send as Standard |
Retry guidance: honor the Retry-After header; otherwise back off exponentially starting at
1 second, and cap concurrency for batch jobs.
Auxiliary endpoints such as GET /v1/models incur no call billing but share request admission
with other /v1 endpoints — aggressive polling may also get 429.
US-only Inference
The inference_geo parameter for Claude requests — which models accept it, and why every price item is billed at 1.1× only when you request "us".
FAQ & Troubleshooting
The most common errors and questions when integrating UnioAPI — authentication failures, insufficient balance, wrong protocol or model, context limits, rate limits, timeouts and leaked keys.