How to configure your client
worouter is OpenAI-compatible. Any SDK, app or proxy that speaks the OpenAI API works by changing two values: the base URL and the API key. Pick your client below and copy a working snippet.
What you'll need
- A workspace. Sign up when you don't yet have one.
- An API key. Mint one on the API Keys page — it looks like
wor_live_...and is shown once. - Your base URL:
https://<your-workspace>.ai.wozinga.com/v1Append /chat/completions, /models, etc. to that base. Full API reference: /api.
Python (OpenAI SDK)
Install the SDK:
pip install openai
Point it at worouter:
import os
from openai import OpenAI
client = OpenAI(
api_key="wor_live_...", # or os.environ["OPENAI_API_KEY"]
base_url="https://<your-workspace>.ai.wozinga.com/v1",
)
resp = client.chat.completions.create(
model="anthropic/claude-haiku-4.5",
messages=[{"role": "user", "content": "Hello!"}],
)
print(resp.choices[0].message.content)LangChain (Python)
Using LangChain instead? Same two values:
pip install langchain-openai
from langchain_openai import ChatOpenAI
llm = ChatOpenAI(
model="anthropic/claude-haiku-4.5",
api_key="wor_live_...",
base_url="https://<your-workspace>.ai.wozinga.com/v1",
)
print(llm.invoke("Hello!").content)Anything else?
When your client lets you set a custom OpenAI-compatible base URL and an API key, it works with worouter. Tools known to work out of the box: LiteLLM, Open WebUI, LobeChat, BoltAI, llmcord, vLLM proxies, Helicone proxies, anything using openai or openai-node.
Stuck? Hit the WhatsApp button at the bottom-right and we'll help you wire it up.