Your OpenAI code,
Claude Opus 5 behind it.
Keep the OpenAI SDK you already use. Change the base URL and model, add an ireze key, and your existing chat completions code starts talking to Claude Opus 5.
/v1/chat/completions Streaming SSE Bearer auth
Configuration
Use these values in any OpenAI-compatible client.
export OPENAI_BASE_URL="https://ireze.site/v1" export OPENAI_API_KEY="sk-opus-your_key" export OPENAI_MODEL="claude-opus-5"
Python
The official OpenAI Python SDK works without a custom client.
from openai import OpenAI
client = OpenAI(
base_url="https://ireze.site/v1",
api_key="sk-opus-your_key",
)
stream = client.chat.completions.create(
model="claude-opus-5",
messages=[{"role": "user", "content": "Write a haiku about shipping."}],
stream=True,
)
for chunk in stream:
print(chunk.choices[0].delta.content or "", end="")Node.js
import OpenAI from "openai";
const client = new OpenAI({
baseURL: "https://ireze.site/v1",
apiKey: process.env.IREZE_API_KEY,
});
const response = await client.chat.completions.create({
model: "claude-opus-5",
messages: [{ role: "user", content: "Explain connection pooling." }],
});
console.log(response.choices[0].message.content);Anthropic format too: the same key works with
POST https://ireze.site/v1/messages for clients that speak the Anthropic Messages API.FAQ
Does streaming work?
Yes. Set stream: true and consume the normal server-sent events from /v1/chat/completions.
Can I use this with LangChain or LlamaIndex?
Yes, as an OpenAI-compatible provider. Set the base URL to https://ireze.site/v1 and the model to claude-opus-5.
Where do I get the key?
Sign in with Discord, open Billing, and copy the personal API key shown there.