Rate Limits¶
IndoxHub enforces rate limits to ensure fair usage and service stability. Limits are tracked via Redis using fixed time windows.
Rate Limit Tiers¶
| Tier | Requests per Minute | Tokens per Hour |
|---|---|---|
| Free | 10 | 10,000 |
| Standard | 60 | 100,000 |
| Enterprise | 500 | 1,000,000 |
Credit-Based Minimums¶
Requests require a minimum credit balance per endpoint type:
| Endpoint Type | Minimum Credits Required |
|---|---|
| Chat Completions | 20 (≈ $0.02) |
| Text Completions | 20 (≈ $0.02) |
| Embeddings | 20 (≈ $0.02) |
| Image Generation | 500 (≈ $0.50) |
| Video Generation | 2,000 (≈ $2.00) |
| Text-to-Speech | 50 (≈ $0.05) |
| Speech-to-Text | 100 (≈ $0.10) |
Response Headers¶
Every API response includes rate limit headers:
| Header | Description |
|---|---|
X-RateLimit-Limit |
Maximum requests allowed per minute |
X-RateLimit-Remaining |
Requests remaining in current window |
X-RateLimit-Reset |
Unix timestamp when the window resets |
Exceeding Limits¶
When you exceed your rate limit, the API returns a 429 Too Many Requests response:
Wait until the X-RateLimit-Reset timestamp before retrying.
BYOK Rate Limits¶
When using BYOK (Bring Your Own Key), IndoxHub rate limits still apply to your account. The provider may also enforce their own rate limits independently.
Requesting Higher Limits¶
Contact support to request enterprise-tier rate limits for your account.