Happy Diwali offer — 50% off Plus & Pro through 11 Nov · from ₹499/mo See plans →
Developers

If it talks to OpenAI, it talks to Relayz.

Use the official OpenAI SDKs, LangChain, coding extensions or plain HTTP on the tested public endpoints. Change the base URL and the key for supported calls.

Three lines
to switch.

You need Pro, then an app key. Each key is limited to the models you choose and a monthly budget. Multi-user budgets: contact sales for Business.

  • One key per app, limited to chosen tiers and a monthly budget
  • Streaming, multi-turn conversations and real token usage
  • Function calling for agents, on every chat model
  • Every request logged: app, model, tokens, timing and errors
from openai import OpenAI

client = OpenAI(
    base_url="https://relayz.net/v1",
    api_key="sk-...your Relayz key...",
)

stream = client.chat.completions.create(
    model="claude",  # or "chatgpt", "gemini-search", ...
    messages=[{"role": "user",
               "content": "Summarise this quotation email."}],
    stream=True,
)
for chunk in stream:
    print(chunk.choices[0].delta.content or "", end="")
import OpenAI from "openai";

const client = new OpenAI({
  baseURL: "https://relayz.net/v1",
  apiKey: "sk-...your Relayz key...",
});

const stream = await client.chat.completions.create({
  model: "chatgpt",  // or "claude", "gemini", ...
  messages: [{ role: "user", content: "Summarise this quotation email." }],
  stream: true,
});
for await (const chunk of stream) {
  process.stdout.write(chunk.choices[0]?.delta?.content ?? "");
}
curl https://relayz.net/v1/chat/completions \
  -H "Authorization: Bearer sk-...your Relayz key..." \
  -H "Content-Type: application/json" \
  -d '{
    "model": "gemini",
    "messages": [{"role": "user",
                  "content": "Summarise this quotation email."}]
  }'
Compatibility matrix

What “OpenAI-compatible” covers today

Public internet access is limited to the endpoints below. Other OpenAI platform APIs (Assistants, Threads, Batch, Fine-tuning, etc.) are not exposed. Full request field examples: API reference.

EndpointStatusNotes
POST /v1/chat/completionsSupportedStreaming, tools, JSON schema, image/file parts, reasoning tiers — per model
POST /v1/images/generationsSupportedChatGPT image models; up to 4 images; sizes listed in the API docs
POST /v1/audio/*SupportedTranscription, translation and speech (local Whisper / TTS on the host)
GET /v1/modelsSupportedLists tiers your key may call
Other /v1/* routesNot publicReturn not found / blocked from the internet
Capabilities

What you can send

Standard OpenAI request fields on the supported endpoints. The API reference has a full example for each.

FeatureHow
Image inputA message part {"type": "image_url", ...} with a data URL or an https link
DocumentsA message part {"type": "file", ...}: PDF, DOCX, XLSX, TXT, CSV, MD or JSON, up to 20 MB
Web searchUse a *-search tier, or send web_search_options: {}
Deeper reasoningUse a *-thinking tier, or send reasoning_effort from low to max
Structured JSONresponse_format with a JSON schema or json_object
Function callingStandard tools and tool_choice; replies carry tool_calls
Image generationimages.generate(model="chatgpt-image", ...), up to 4 images
Streamingstream: true; thinking progress arrives as reasoning_content
Bring your own agent

Keep Continue, Cline, Aider — point them at Relayz

You do not need Relayz Studio. Any tool that accepts an OpenAI-compatible provider can use your Relayz key on the public API.

SettingValue
Base URLhttps://relayz.net/v1
API keyApp key from Admin (name it coding for editor agents)
ModelA tier on that key, e.g. claude, chatgpt, gemini
Public endpointsChat, images, audio, model list only — see the matrix
Local reposDo not use *-work tiers for on-disk projects (Work runs in an isolated container)

Continue / Cline / Roo / Aider

Provider: OpenAI compatible. Base URL and key as above. Agent/tool mode works via standard tools / tool_calls.

Relayz CLI

relayz agent runs the same API with local file/shell tools — useful when you prefer the terminal over an IDE.

PR review (GitHub / Bitbucket)

Use scripts/bugbot_review.py with --post-github or --post-bitbucket. Example pipeline: bitbucket-pipelines.yml.example.

Works with

Your favourite tools

Anything that accepts an OpenAI-compatible provider on the matrix above works with Relayz, including coding assistants in agent mode.

OpenAI Python SDKOpenAI Node SDKRelayz CLILangChainContinueClineRoo CodeKilo CodeAiderCopilot custom modelsRelayz Code

Relayz CLI — install path

Complete path for Pro:

relayz-cli.zip

    1. Subscribe to Pro on Pricing and create an app key.
    2. Download relayz-cli.zip and unzip it. Verify with the SHA-256 below.
    3. Windows: .\install.ps1. macOS/Linux: python -m pip install -e . from the unzipped folder (add Playwright separately if you want browser tools).
    4. Run relayz login with https://relayz.net/v1 and your key, then relayz "prompt" or relayz agent "fix it".

Relayz Code (optional)

Prefer a one-click editor agent? Download the VSIX from the Relayz Code page (Pro). Or keep your existing agent and follow Bring your own agent. ChatGPT and Claude Desktop can use Relayz’s MCP connector for notes, files and asking other models.

Public endpoints

/v1/chat/completions, /v1/images/generations, /v1/models — see the matrix.

Limits

Attachments up to 20 MB each. Plan usage limits return HTTP 429; Relayz doesn't silently switch models.

OpenAPI spec

Import the spec from the API reference into Postman or a code generator.

Ready when you are