🎉Black Friday's best deal — unlock Claude, GPT, and Gemini at 50% off.Get the deal
Developer Reference • OpenAI-Compatible Unified Gateway

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.

Base URL Endpoint
https://api.skyode.com/v1
Failover: https://api.skyode.com/v1
Authentication Header
Authorization: Bearer sk-skyode-...
Pass via standard Bearer token header
Universal Credit Math
1,000,000 Credits = $1.00 USD
Rollover guarantee • Zero expiration

Quickstart in Your Favorite Stack

Skyode conforms 100% to the official OpenAI API specification. No proprietary SDK installation is needed.

pip install openai
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)
Endpoint Specifications

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.

FieldTypeRequiredDescription
modelstringYesModel identifier (e.g. `claude-3.7-sonnet`, `deepseek-r1`, `gpt-4o`).
messagesarrayYesArray of message objects: [{"role": "user", "content": "..."}].
streambooleanOptionalWhen `true`, tokens are delivered as Server-Sent Events (SSE). Default `false`.
temperaturenumberOptionalSampling temperature between 0.0 and 2.0. Recommended 0.7 for creative, 0.2 for code.
max_tokensintegerOptionalMaximum 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]
Reliability & Status Codes

Error Handling & HTTP Status Reference

Standardized HTTP status codes with clear debugging messages and automated failover behavior.

CodeStatusCause / ScenarioRecommended Mitigation
200OKRequest executed successfully; payload streamed.Consume response buffer.
401UnauthorizedInvalid, expired, or missing `Bearer` API key.Check your dashboard key in headers.
402Payment RequiredAccount tokenCredit balance depleted below query minimum.Top up wallet via PayTIC, Stripe, or Crypto.
429Too Many RequestsConcurrency limit or requests-per-minute ceiling reached.Inspect `Retry-After` or upgrade to Enterprise tier.
502 / 503Gateway FailoverUpstream vendor (e.g. OpenAI) experienced intermittent degradation.Skyode automatically retries secondary provider routes.
Model Directory & Pricing

Supported Models & Token Parameters

Model ParameterLab / ProviderContext WindowInput Rate / 1MOutput Rate / 1MPrimary Capabilities
claude-3.7-sonnetAnthropic200k$3.00 / 1M$15.00 / 1MCoding, agentic reasoning, long-context analysis
deepseek-r1DeepSeek128k$0.55 / 1M$2.19 / 1MMath, competitive coding, Chain-of-Thought transparency
gpt-4oOpenAI128k$2.50 / 1M$10.00 / 1MHigh instruction compliance, multi-modal vision
gemini-2.0-flashGoogle1M$0.10 / 1M$0.40 / 1MSub-400ms TTFT, massive 1M context window
deepseek-v3DeepSeek128k$0.14 / 1M$0.28 / 1MExceptional price-to-intelligence ratio for routine routing
llama-3.3-70bMeta128k$0.12 / 1M$0.30 / 1MGeneral knowledge, multilingual instruction following
text-embedding-3-smallOpenAI8k$0.02 / 1MN/AVector search, retrieval-augmented generation (RAG)
gemma-4-31bGoogle32kFree ($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.