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.
Go (official OpenAI SDK)
Install the SDK:
go get github.com/openai/openai-go/v2
Point it at worouter:
package main
import (
"context"
"fmt"
"github.com/openai/openai-go/v2"
"github.com/openai/openai-go/v2/option"
)
func main() {
client := openai.NewClient(
option.WithAPIKey("wor_live_..."), // or option.WithAPIKey(os.Getenv("OPENAI_API_KEY"))
option.WithBaseURL("https://<your-workspace>.ai.wozinga.com/v1"),
)
resp, err := client.Chat.Completions.New(context.Background(), openai.ChatCompletionNewParams{
Model: "anthropic/claude-haiku-4.5",
Messages: []openai.ChatCompletionMessageParamUnion{
openai.UserMessage("Hello!"),
},
})
if err != nil {
panic(err)
}
fmt.Println(resp.Choices[0].Message.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.