OpenAI SDK
Set the base URL to https://api.wraitherix.com/v1 and use your WRAITHERIX key.
Every model — including Claude and Gemini — is available through the OpenAI
SDK.
pip install openaiimport osfrom openai import OpenAI
client = OpenAI( base_url="https://api.wraitherix.com/v1", api_key=os.environ["WRAITHERIX_API_KEY"],)
r = client.chat.completions.create( model="claude-opus-5-5", messages=[{"role": "user", "content": "Hello!"}],)print(r.choices[0].message.content)npm install openaiimport OpenAI from "openai";
const client = new OpenAI({ baseURL: "https://api.wraitherix.com/v1", apiKey: process.env.WRAITHERIX_API_KEY,});
const r = await client.chat.completions.create({ model: "claude-opus-5-5", messages: [{ role: "user", content: "Hello!" }],});console.log(r.choices[0].message.content);Environment variables
Section titled “Environment variables”The OpenAI SDKs read these automatically, so many existing apps work with no code change:
export OPENAI_BASE_URL="https://api.wraitherix.com/v1"export OPENAI_API_KEY="$WRAITHERIX_API_KEY"Any OpenAI-compatible tool
Section titled “Any OpenAI-compatible tool”Most apps that let you set a “custom OpenAI endpoint” (Open WebUI, LibreChat, LobeChat, Chatbox, n8n, Flowise, Dify…) work with:
| Field | Value |
|---|---|
| Base URL / API host | https://api.wraitherix.com/v1 |
| API key | your sk-... key |
| Model | any ID from the catalogue |