SupaNexus

Rate Limits & Quotas

Markdown version

Replace <BASE_URL> using values from Endpoints.

SupaNexus may apply multiple independent limit layers. Exact thresholds depend on your deployment — check with your platform administrator or the Developer Console.

1. IP rate limit

Applies to all routes (including requests without a valid API key), scoped by client IP.

Typical default: about 120 requests per minute per IP (when enabled).

When exceeded:

  • HTTP 429
  • OpenRouter format (same on /v1/* and other routes):
{
  "error": {
    "code": 429,
    "message": "You are being rate limited."
  }
}

The response may include a Retry-After header (seconds).

Note: This limit is per IP address, not per API key.

2. Usage quota (optional)

May apply to POST /v1/chat/completions only when configured for your organization or project.

When exceeded:

  • HTTP 429
  • error.code: 429 (numeric)
  • Retry-After header may be set (seconds)

3. Account balance (optional)

May apply to POST /v1/chat/completions only when prepaid credits or balance checks are enabled.

HTTPMeaning
402Not enough credits for this period (error.code=402)
403Organization context missing

402 vs 429: Insufficient balance uses 402 Payment Required. Quota or spend-cap limits use 429 Too Many Requests.

Comparison table

LayerTypical scopeError formatHTTP
IP rate limitAll routesOpenRouter {error:{code,message}}429
Usage quotaChat onlyOpenRouter429
Account balanceChat onlyOpenRouter402

Best practices

  • Implement exponential backoff on 429 and respect Retry-After.
  • Use separate API keys per application to simplify usage tracking in the console.
  • Monitor usage in the Developer Console before hitting limits.

Related