Rate Limiting

Q: What is the default concurrency limit? How can it be increased?

A:

  • Default quota: QPS=[X], QPM=[X], Daily Tokens=[X]

  • Methods to increase:

    1. Console → "Help & Tickets" → "Apply for Quota Increase" → Submit requirements → Review (typically within 24 hours)

    2. Enterprise clients can contact their account manager to customize quotas

    3. For urgent requirements, contact technical support for temporary quota expansion

Q: How do I build a high-availability architecture?

A: Recommendations:

  1. Primary/Backup Failover: Configure primary and backup endpoints; automatically failover when the primary endpoint is abnormal

  2. Exponential Backoff Retry: When encountering 429/500, retry with intervals of 1s→2s→4s→8s, up to 3 times

  3. Request Queuing: In high-concurrency scenarios, utilize message queues (e.g., RabbitMQ/Kafka) for peak shaving

  4. Multi-Key Round Robin: Create multiple API Keys to load balance and disperse requests

  5. Timeout Control: Configure reasonable timeout thresholds (60~120s recommended) to prevent thread blocking

  6. Monitoring & Alerting: Monitor success rates, latency, and Token consumption, and trigger alerts promptly when anomalies occur

Q: Do you support Batch API calls?

A: Yes. Suitable for offline, non-real-time large batch tasks:

  • Submit task files in JSONL format

  • Asynchronously processed by the platform, typically completed within 24 hours

  • Pricing is approximately 50% of real-time API calls

  • Console → "Batch Tasks" → Upload file → View progress and results

Suitable for data annotation, batch content generation, testing, and evaluation scenarios.