This article explains the current AI API rate-limit status, why 429/503 errors occur, and the right approach for high-concurrency workloads.
| Item | Current status |
|---|---|
| Rate limiting | Primarily platform-side capacity scheduling; follow the Console for specific rules |
| Displayed metrics | TTFT (time to first token) is available; TPS is not currently displayed |
In other words: most 429 / 503 errors you encounter are not “your account being rate-limited”. They are capacity overload in the backend GPU cluster during peak periods.
① GPU capacity is insufficient during peak periods ② Some requests are temporarily unavailable ③ The request returns 429 or 503
The characteristic is a capacity issue, not an account issue:
deepseek-v4.1-flash has the highest demand and triggers it most easily);The platform may limit or pause requests based on the Terms of Service and abnormal usage. For stable service, avoid sudden high concurrency and repeated retries. If higher capacity is needed, describe the expected usage in a ticket.
Conclusion:
# Pseudocode: primary model + fallback + timeout + exponential backoff
cli = OpenAI(base_url="https://ai.nube-api.com/v1", timeout=120)
models = ["deepseek-v4.1-flash", "glm-5.3", "kimi-k3"] # primary → backup → second backup
for i, m in enumerate(models):
for attempt in range(2): # retry at most 2 times
try:
return cli.chat.completions.create(model=m, messages=msgs)
except (RateLimitError, APIStatusError):
delay = 2 ** attempt * 2 # 2s → 4s (→ 8s)
time.sleep (delay)
| Measure | Key point |
|---|---|
| Smart routing | Change model to Agent to automatically avoid unhealthy nodes (no change to Base URL or Key) |
| Fallback | Primary deepseek-v4.1-flash → backup glm-5.3 / kimi-k2.6 |
| Timeout | Client timeout 120s |
| Retries | At most 2 + exponential backoff (immediate retries increase backend pressure) |
| Streaming | Use stream: true for long output to improve perceived speed |
| Budget safeguard | Set max_budget for a Key to prevent infinite loops |
| Steady traffic | Avoid “long silence + sudden high concurrency”; the platform prefers a stable, continuous request flow |
How to understand it:
For faster perceived speed, use streaming and limit the output length per request.
The platform is positioned as a retail MaaS service. For large workloads:
If you have clear expected RPM and concurrency requirements, state them in a ticket. The platform will assess whether targeted capacity assurance is possible.
| Question | Answer |
|---|---|
| Are there RPM/TPM limits? | Follow the specific rules shown in the Console. |
| How much concurrency is available? | It depends on backend capacity; testing is recommended. |
| Does a 429 mean I am rate-limited? | Usually it is platform capacity overload, not account rate limiting. |
| How long should I wait after a 429? | Follow the response headers or client guidance; if none is provided, use bounded exponential backoff. |
| Are failures billed? | No. |
| Can quota be increased? | State expected usage and the platform will assess capacity assurance. |
| Can multiple Keys bypass rate limits? | Not recommended; this may be viewed as evading restrictions. |
| Is there a status page? | Not currently. |
| Can I see TPS? | Not currently; TTFT is available. |
AI API Integration GuideError Troubleshooting: 400, 403, 429, 503, and Thinking BlocksBilling and Usage: Token Accounting, Caching, and Billing Disputes