en-quick-start.md
This guide uses an OpenAI-compatible SDK. To wire up a coding agent instead (Claude Code, Cursor, Cline, aider, Codex), see Coding Agents.
Sign up at omniakey.com and create a key in the Dashboard. New accounts include free credit, so you can run these examples right away — no top-up needed to start. Every request authenticates with Authorization: Bearer <your-key>.
Create your API key
OmniaKey works with the official OpenAI SDKs — no OmniaKey-specific library needed.
Python
Node.js
pip install openai
npm install openai
Set the base URL to https://api.omniakey.com/v1 and use your key. Pick any model id from Models — here we use claude-opus-4-8.
Python
cURL
from openai import OpenAI
client = OpenAI(
api_key="your-omniakey-api-key",
base_url="https://api.omniakey.com/v1",
)
response = client.chat.completions.create(
model="claude-opus-4-8",
messages=[{"role": "user", "content": "Explain what a race condition is."}],
)
print(response.choices[0].message.content)
curl https://api.omniakey.com/v1/chat/completions \
-H "Authorization: Bearer your-omniakey-api-key" \
-H "Content-Type: application/json" \
-d '{
"model": "claude-opus-4-8",
"messages": [{"role": "user", "content": "Explain what a race condition is."}]
}'
Set stream: true to receive tokens as they are generated:
stream = client.chat.completions.create(
model="claude-opus-4-8",
messages=[{"role": "user", "content": "Write a haiku about clean code."}],
stream=True,
)
for chunk in stream:
if chunk.choices[0].delta.content is not None:
print(chunk.choices[0].delta.content, end="")
All three protocols, the model matrix, and curl/SDK examples
Configure Claude Code, Cursor, Cline, aider, and Codex
Browse the full Claude, GPT, Gemini, and Grok lineup
OmniaKey — Claude, GPT, Gemini, and Grok for coding agentsAPI Reference
⌘I