Osiris Docs

Limits & Quotas

Rate limits, size limits, and quotas for the Osiris API.

Rate Limits

LimitValueScope
API requests40 req/minPer API key (sliding window)
Concurrent requests20Per API key
Auth endpoints20 req/minPer IP address
Trial claims3 per 24hPer IP address

Rate limit info is returned in response headers: X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset. When exceeded, the API returns 429 Too Many Requests.

Request Limits

LimitValueNotes
Max request body10 MBApplies to all endpoints
Max response body50 MBSafety limit on upstream responses
Request timeout120 secondsRead timeout for request body
Streaming timeoutNo limitSSE streams run until completion or client disconnect

Account Limits

LimitValueNotes
API keys per account10Active keys only
Free trial$5 credits@gmail.com only, expires in 3 days, one per account
Minimum charge$0.001Per request, regardless of token count
Balance expiry+1 month per purchaseMax 3 months from today, expired credits forfeited

Error Codes

CodeMeaningWhat to do
400Bad RequestInvalid JSON, missing required fields, or model not found. Check your request body.
401UnauthorizedMissing or invalid API key. Check your Authorization: Bearer sk-osiris-... header.
402Payment RequiredBalance is $0 or expired. Top up credits.
403ForbiddenModel not allowed for this API key, or API key is revoked.
429Rate LimitedToo many requests. Wait and retry. Check Retry-After header.
500Internal ErrorServer error. Retry after a few seconds. If persistent, contact support.
502Bad GatewayUpstream AI provider error or all accounts busy. Retry with a different model or wait.
503Service UnavailableNo available provider accounts. Try again in a few seconds.

Need higher limits? Contact us on Telegram for enterprise plans.