Quickstart
-
Create an account at wraitherix.com and top up Wisps in Wallet.
-
Create an API key in API Keys → Create key. Copy it — it starts with
sk-. -
Save the key as an environment variable:
Terminal window export WRAITHERIX_API_KEY="sk-..." -
Send a request.
Terminal window curl https://api.wraitherix.com/v1/chat/completions \-H "Authorization: Bearer $WRAITHERIX_API_KEY" \-H "Content-Type: application/json" \-d '{"model": "gpt-5.6-luna","messages": [{"role": "user", "content": "Write a haiku about the sea."}]}'Terminal window pip install openaiimport osfrom openai import OpenAIclient = OpenAI(base_url="https://api.wraitherix.com/v1",api_key=os.environ["WRAITHERIX_API_KEY"],)completion = client.chat.completions.create(model="gpt-5.6-luna",messages=[{"role": "user", "content": "Write a haiku about the sea."}],)print(completion.choices[0].message.content)Terminal window npm install openaiimport OpenAI from "openai";const client = new OpenAI({baseURL: "https://api.wraitherix.com/v1",apiKey: process.env.WRAITHERIX_API_KEY,});const completion = await client.chat.completions.create({model: "gpt-5.6-luna",messages: [{ role: "user", content: "Write a haiku about the sea." }],});console.log(completion.choices[0].message.content);
Switch models
Section titled “Switch models”Change only the model field — the request format stays the same:
for model in ["gpt-5.6-luna", "claude-opus-5-5", "gemini-3.8-flash-medium"]: r = client.chat.completions.create( model=model, messages=[{"role": "user", "content": "Say hi in five words."}], ) print(model, "→", r.choices[0].message.content)Next steps
Section titled “Next steps”- Streaming — receive tokens as they are generated.
- Tool calling — let the model call your functions.
- Claude Code and Cursor setup.
- Model catalogue — every model with live prices.