SupportConsole
Tickets
Navigation

Getting Started
Registration and Account SetupFirst Order: From Registration to Power-OnConsole Navigation and Common Entry PointsGetting Started: Terms and Concepts
Cloud Server Operations
Connection and Login: SSH Key, Password, VNC / noVNCUnable to Connect and Self-Service Outage TroubleshootingPower On, Shutdown, and RestartSystem Reinstallation, Public Images, and Custom ISOSnapshots and BackupsDisk Configuration and ResizingBandwidth, Traffic, and PortsIP AddressesMigration, Cloning, and Changing Data CentersCreation, Deployment, and DeliverySuspension, Deletion, and RecoveryPerformance AnomaliesCommon Console Error ReferenceUsage Limits and Common QuestionsHow to Manually Configure IPv6 in Nube CloudHow to Access Nube Cloud Virtual Machines Using SSH KeysQuotas, Credit Line, and Balance
Bare Metal Servers
Bare Metal Server (Dedicated Server / Bare Metal) RentalBare Metal Delivery and Rack InstallationBare Metal Customization and ColocationBare Metal Cancellation, Reclamation, and RefundsPioneer Program
Network, IP & Routes
Network Route Types: International Lite, International Optimized, and China OptimizedSelf-Service Network Troubleshooting: Unreachable, Packet Loss, Latency, and JitterHome Broadband IPs and Residential Broadband: Activation and TrialIP Prefix Leasing, Announcements, ASN, and RPKI RequestsChanging Network Lines, Replacing IPs, and Adjusting RoutesPort Blocking and GFW Blocking: IP Replacement, Port 25, and UnblockingTest IPs, Looking Glass, and Paid TestingCommon Network IssuesHong Kong Anti-DDoS China-Optimized Service Quota GuideWhat's the Difference Between International Lite and International Optimized?DDoS Protection and China Optimized Quota
DDoS
CDN Activation, Configuration, and MigrationCDN Plans, Renewal, and Traffic Rules
AI API
Model List, Capabilities, and AvailabilityError-Code Troubleshooting: 400, 403, 429, 503, and Thinking BlocksRate Limits, Concurrency, and Quota RulesBilling and Usage: Token Accounting, Caching, and Billing DisputesAI API Integration GuideModel Technical Notes: Deployment, Quantization, and Capabilities
Support/
Service & Products

Rate Limits, Concurrency, and Quota Rules

This article explains the current AI API rate-limit status, why 429/503 errors occur, and the right approach for high-concurrency workloads.

1. Current rate-limit status

ItemCurrent status
Rate limitingPrimarily platform-side capacity scheduling; follow the Console for specific rules
Displayed metricsTTFT (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.

2. Where 429 / 503 errors come from

    ① 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:

  • Different models perform differently at the same time (deepseek-v4.1-flash has the highest demand and triggers it most easily);
  • Switching models often makes the request available immediately;
  • Failed requests are not billed.

3. Platform “manual safeguards”

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:

  • Do not use scripts to spam the API with frequent tiny requests;
  • Creating multiple Keys to evade restrictions may be considered a violation;
  • Multiple Keys are acceptable for legitimate business isolation and accounting, but we do not recommend creating one Key for every downstream customer.

4. Recommended engineering practices

# 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)
MeasureKey point
Smart routingChange model to Agent to automatically avoid unhealthy nodes (no change to Base URL or Key)
FallbackPrimary deepseek-v4.1-flash → backup glm-5.3 / kimi-k2.6
TimeoutClient timeout 120s
RetriesAt most 2 + exponential backoff (immediate retries increase backend pressure)
StreamingUse stream: true for long output to improve perceived speed
Budget safeguardSet max_budget for a Key to prevent infinite loops
Steady trafficAvoid “long silence + sudden high concurrency”; the platform prefers a stable, continuous request flow

5. Reasonable expectations for response speed

How to understand it:

  • Response time grows with output length: requests generating only a few hundred tokens usually finish within seconds;
  • Long-running requests are often caused by a customer requesting very long output (such as tens of thousands of tokens in one non-streaming request);
  • Long processing time does not mean the service has degraded.

For faster perceived speed, use streaming and limit the output length per request.

6. Enterprise high concurrency

The platform is positioned as a retail MaaS service. For large workloads:

  • On-demand large-scale capacity expansion is not provided;
  • The following can be provided:     1. Guaranteed-capacity closed-price compute leasing (long-term contract + deposit required);     2. Enterprise dedicated channel / dedicated-instance scheduling: the enterprise leases compute servers, while the platform assists with deployment, tuning, and scheduling and charges only a maintenance fee.

If you have clear expected RPM and concurrency requirements, state them in a ticket. The platform will assess whether targeted capacity assurance is possible.

7. Frequently asked questions

QuestionAnswer
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.

8. Related articles

  • API Integration Guide: AI API Integration Guide
  • Error troubleshooting: Error Troubleshooting: 400, 403, 429, 503, and Thinking Blocks
  • Billing and usage: Billing and Usage: Token Accounting, Caching, and Billing Disputes