OpenAI-compatible. Point any OpenAI SDK at this gateway's base URL
and use your sk-sid-โฆ key.
import os
from openai import OpenAI
client = OpenAI(
base_url="https://superintelligencedog.com/v1",
api_key=os.environ["SID_API_KEY"],
)
resp = client.chat.completions.create(
model="auto", # let the router choose the best model
messages=[{"role": "user", "content": "Explain CRDTs"}],
)
print(resp.choices[0].message.content)
POST /v1/chat/completions
{
"model": "auto", // or a model id, or "expert:<slug>"
"messages": [{"role": "user", "content": "hi"}],
"stream": true
}
Headers: Authorization: Bearer sk-sid-โฆ (required),
X-Provider-Key: โฆ (BYOK, optional),
X-Routing-Profile: balanced|quality|cheap|fast,
X-Min-Quality: 0..1, X-Max-Cost-USD: 0.01,
X-Prefer-Owned: true.
The response body carries a routing object with the chosen model,
task classification, confidence, and an explanation.
POST /v1/route
{ "model": "auto", "messages": [{"role":"user","content":"write SQL"}] }
Dry run โ shows the ranked candidates, cost estimate, and explanation without calling a provider.
GET /v1/models โ catalog (incl. owned models).GET /v1/me โ balance, plan, usage.POST /v1/feedback โ rate a request; improves routing.POST /v1/conversations, โฆ/chat โ persisted workspace.POST /v1/experts, GET /v1/experts โ specialized experts.POST /v1/marketplace/listings, โฆ/install โ marketplace.POST /v1/orgs โ teams, seats, usage rollup.POST /billing/checkout โ top up credits.Interactive schema: /docs ยท machine-readable: /openapi.json.