Skyode Unified Developer API
A single drop-in endpoint to orchestrate 200+ frontier foundation models, reasoning engines, and vector embeddings. Powered by LiteLLM and OpenRouter with automatic failover, real-time SSE streaming, and granular token credit billing.
Quickstart in Your Favorite Stack
Skyode conforms 100% to the official OpenAI API specification. No proprietary SDK installation is needed.
from openai import OpenAI
# Initialize the standard OpenAI client pointed to Skyode
client = OpenAI(
base_url="https://api.skyode.com/v1", # or https://api.skyode.com/v1
api_key="sk-skyode-your-api-key"
)
# Stream completions from Claude 3.7 Sonnet, DeepSeek R1, or GPT-4o
response = client.chat.completions.create(
model="claude-3.7-sonnet", # or "deepseek-r1", "gpt-4o", "gemini-2.0-flash"
messages=[
{"role": "system", "content": "You are a senior distributed systems architect."},
{"role": "user", "content": "Explain raft consensus log compaction mechanisms."}
],
temperature=0.7,
stream=True
)
for chunk in response:
delta = chunk.choices[0].delta.content or ""
print(delta, end="", flush=True)REST API Schema Reference
Detailed parameter tables, payload schemas, and Server-Sent Event (SSE) streaming specifications.
Request Parameters (`application/json`)
Send a POST request containing user and system messages. Supports standard reasoning tokens, temperature controls, and typewriter streaming.
| Field | Type | Required | Description |
|---|---|---|---|
| model | string | Yes | Model identifier (e.g. `claude-3.7-sonnet`, `deepseek-r1`, `gpt-4o`). |
| messages | array | Yes | Array of message objects: [{"role": "user", "content": "..."}]. |
| stream | boolean | Optional | When `true`, tokens are delivered as Server-Sent Events (SSE). Default `false`. |
| temperature | number | Optional | Sampling temperature between 0.0 and 2.0. Recommended 0.7 for creative, 0.2 for code. |
| max_tokens | integer | Optional | Maximum generation token ceiling. Omit to allow the model's native max output tokens. |
Server-Sent Events (SSE) Wire Format
When `stream: true`, chunks are emitted in standard SSE format ending with `data: [DONE]`.
data: {"id":"chatcmpl-91a8c","object":"chat.completion.chunk","model":"claude-3.7-sonnet","choices":[{"index":0,"delta":{"content":"The"},"finish_reason":null}]}
data: {"id":"chatcmpl-91a8c","object":"chat.completion.chunk","model":"claude-3.7-sonnet","choices":[{"index":0,"delta":{"content":" raft"},"finish_reason":null}]}
data: {"id":"chatcmpl-91a8c","object":"chat.completion.chunk","model":"claude-3.7-sonnet","choices":[{"index":0,"delta":{"content":" protocol"},"finish_reason":null}]}
data: [DONE]Error Handling & HTTP Status Reference
Standardized HTTP status codes with clear debugging messages and automated failover behavior.
| Code | Status | Cause / Scenario | Recommended Mitigation |
|---|---|---|---|
| 200 | OK | Request executed successfully; payload streamed. | Consume response buffer. |
| 401 | Unauthorized | Invalid, expired, or missing `Bearer` API key. | Check your dashboard key in headers. |
| 402 | Payment Required | Account tokenCredit balance depleted below query minimum. | Top up wallet via PayTIC, Stripe, or Crypto. |
| 429 | Too Many Requests | Concurrency limit or requests-per-minute ceiling reached. | Inspect `Retry-After` or upgrade to Enterprise tier. |
| 502 / 503 | Gateway Failover | Upstream vendor (e.g. OpenAI) experienced intermittent degradation. | Skyode automatically retries secondary provider routes. |
Supported Models & Token Parameters
| Model Parameter | Lab / Provider | Context Window | Input Rate / 1M | Output Rate / 1M | Primary Capabilities |
|---|---|---|---|---|---|
| claude-3.7-sonnet | Anthropic | 200k | $3.00 / 1M | $15.00 / 1M | Coding, agentic reasoning, long-context analysis |
| deepseek-r1 | DeepSeek | 128k | $0.55 / 1M | $2.19 / 1M | Math, competitive coding, Chain-of-Thought transparency |
| gpt-4o | OpenAI | 128k | $2.50 / 1M | $10.00 / 1M | High instruction compliance, multi-modal vision |
| gemini-2.0-flash | 1M | $0.10 / 1M | $0.40 / 1M | Sub-400ms TTFT, massive 1M context window | |
| deepseek-v3 | DeepSeek | 128k | $0.14 / 1M | $0.28 / 1M | Exceptional price-to-intelligence ratio for routine routing |
| llama-3.3-70b | Meta | 128k | $0.12 / 1M | $0.30 / 1M | General knowledge, multilingual instruction following |
| text-embedding-3-small | OpenAI | 8k | $0.02 / 1M | N/A | Vector search, retrieval-augmented generation (RAG) |
| gemma-4-31b | 32k | Free ($0.00) | Free ($0.00) | Free prototyping, guest experimentation |
Ready to integrate with your existing code?
Sign up now and receive 20,000 free starter credits to test OpenAI SDK, Cursor, or your backend pipeline immediately.