Admin
  • Overview
  • Usage
  • API Keys
  • Wallet
  • Docs
Admin
Back to marketQuick use

Integration

One key, one baseURL. OpenAI, Anthropic and Responses protocols share one entry point.

baseURL

https://router.nebutra.com/v1

Sample model

claude-fable-5
curl -s https://router.nebutra.com/v1/chat/completions \
  -H "Authorization: Bearer $NEBUTRA_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"model":"claude-fable-5","messages":[{"role":"user","content":"ping"}]}'

Limits

Each key defaults to 10 requests per second. Beyond that it returns 429 with x-ratelimit-limit / x-ratelimit-remaining / x-ratelimit-reset and retry-after.

A key can also carry a total and a daily quota; the daily quota resets at midnight UTC. Hitting it returns 402 key_quota_exceeded; an empty balance returns 402 insufficient_balance. Call GET https://router.nebutra.com/v1/limits with the same key for the values in force.

MethodPathDescription
GEThttps://router.nebutra.com/v1/modelsPublic model list
POSThttps://router.nebutra.com/v1/chat/completionsChat completions (streaming or not)
POSThttps://router.nebutra.com/v1/responsesResponses API (Codex, Agents SDK)
POSThttps://router.nebutra.com/v1/messagesAnthropic Messages (Claude Code, Anthropic SDK, x-api-key)
POSThttps://router.nebutra.com/v1/embeddingsEmbeddings
POSThttps://router.nebutra.com/v1/images/generationsText to image (302.ai / OpenAI contract)
POSThttps://router.nebutra.com/v1/images/editsImage to image (multipart: image + prompt + model + size)
GEThttps://router.nebutra.com/v1/limitsThis key's rate limit and remaining quota