Station docs
Docs
OpenAI-compatible API for this station. Subscriber keys start with rk-.
1. Create an account
Station portal
- Create a station account or sign in.
- Open API keys and mint a key. Copy it once.
- Send the key as
Authorization: Bearer rk-….
2. Base URL
Point any OpenAI client here
https://relay.169.58.242.32.nip.io/v13. List models
curl https://relay.169.58.242.32.nip.io/v1/models \ -H "Authorization: Bearer rk-YOUR_KEY"
4. Chat completions
curl https://relay.169.58.242.32.nip.io/v1/chat/completions \
-H "Authorization: Bearer rk-YOUR_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "glm/glm-5",
"messages": [{"role":"user","content":"hello"}]
}'OpenAI SDK
import OpenAI from "openai";
const client = new OpenAI({
apiKey: process.env.RELAYSTATION_KEY,
baseURL: "https://relay.169.58.242.32.nip.io/v1",
});
const reply = await client.chat.completions.create({
model: "glm/glm-5",
messages: [{ role: "user", content: "hello" }],
});Contributors
Donors start at /contribute, create a login, then an operator grants Contributor on Dashboard → Station users. After that they attach API-key or OAuth accounts (NVIDIA NIM, Claude, Codex, Antigravity, a custom /v1, …). Every connected account fuels the shared station, and each donor gets a personal API key scoped to the accounts they connected. Contributors do not get a private endpoint.