One key, two compatible wire formats, 15 frontier models. Speak Anthropic's wire protocol or OpenAI's to the same gateway — no extra wrapper libraries or proxy rewrites required.
curl https://api.selora.lol/v1/chat/completions \
-H "Authorization: Bearer $SELORA_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "claude-opus-5-5",
"messages": [{ "role": "user", "content": "Explain quantum entanglement in 1 line." }]
}'Configure the base URL that matches your tooling. Anthropic SDKs append /v1/messages to the bare origin; OpenAI SDKs append /chat/completions to the /v1 endpoint.
Base URL
https://api.selora.lol/v1/messagesAuthenticate via x-api-key: sk-gw-...Base URL
https://api.selora.lol/v1/chat/completionsAuthenticate via Authorization: Bearer sk-gw-...Protocol Header Resolution: The gateway inspects x-api-key first and falls back to Authorization: Bearer. Both wire formats accept standard sk-gw-... gateway keys. Notice that the Anthropic URL is the bare origin (because official Anthropic SDKs append /v1/messages), while OpenAI tooling takes .../v1 (because OpenAI SDKs append /chat/completions).
Browse supported models, verified context windows, and real-time input/output token pricing per 1M tokens.
Selora speaks the standard OpenAI and Anthropic wire formats. Any tool that lets you customize your API base URL and key works instantly.
Nothing to install from us. Create one API key, paste one configuration into your existing tool, and start shipping.
Sign in to the Selora console, navigate to API keys, and click Create key. Scoped keys allow rolling budgets and fine-grained model permissions.
sk-gw-...) is displayed exactly once upon creation. Copy and store it securely.Select your coding harness below to view the exact copy-paste configuration block:
Anthropic’s official command-line coding agent. The standard tool developers use with Selora.
{
"env": {
"ANTHROPIC_BASE_URL": "https://api.selora.lol",
"ANTHROPIC_AUTH_TOKEN": "sk-gw-..."
}
}Note: Replace sk-gw-... with your API key. Notice that the base URL has NO /v1 at the end — Claude Code appends /v1/messages itself.
Selora provides two native wire protocols with zero latency transformation overhead:
Base URL
https://api.selora.lol/v1/messagesAuthenticate via x-api-key: sk-gw-...Base URL
https://api.selora.lol/v1/chat/completionsAuthenticate via Authorization: Bearer sk-gw-...Protocol Header Resolution: The gateway inspects x-api-key first and falls back to Authorization: Bearer. Both wire formats accept standard sk-gw-... gateway keys. Notice that the Anthropic URL is the bare origin (because official Anthropic SDKs append /v1/messages), while OpenAI tooling takes .../v1 (because OpenAI SDKs append /chat/completions).
Verify your connectivity in seconds. Pick your operating system, substitute your sk-gw-... key, and run:
curl "https://api.selora.lol/v1/chat/completions" \
-H "Authorization: Bearer sk-gw-..." \
-H "Content-Type: application/json" \
-d '{"model":"claude-sonnet-5","messages":[{"role":"user","content":"Hello"}]}'Architectural Flow
Issue a scoped key from the console. Fine-tune rolling budget allocations and allowed model endpoints.
Anthropic tools use the bare origin; OpenAI tools use the origin plus /v1. Both authenticate via standard gateway keys.
Swap the model parameter to route seamlessly across Claude, GPT, Kimi and GLM. 0ms failover across upstream providers.
Knowledge Base
Explore deep-dive technical manuals, SDK references, and status codes.
Your first API request end to end in under 3 minutes using standard OpenAI or Anthropic SDKs.
API key authorization, x-api-key vs Bearer headers, rate-limiting rules, and safe credential rotation.
Complete listing of all 15 supported frontier models, verified context limits, and token pricing.
Comprehensive specification of endpoints, streaming SSE schemas, and telemetry headers.
Drop-in integration patterns using the official openai and @anthropic-ai/sdk packages.
How the gateway surfaces 429 rolling window resets, 503 failover handling, and credit exhaustion.
Sign in to the console to claim your 14-day trial and issue your first API key.