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."}] }'
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.
| Endpoint | Status | Notes |
|---|---|---|
POST /v1/chat/completions | Supported | Streaming, tools, JSON schema, image/file parts, reasoning tiers — per model |
POST /v1/images/generations | Supported | ChatGPT image models; up to 4 images; sizes listed in the API docs |
POST /v1/audio/* | Supported | Transcription, translation and speech (local Whisper / TTS on the host) |
GET /v1/models | Supported | Lists tiers your key may call |
Other /v1/* routes | Not public | Return not found / blocked from the internet |
What you can send
Standard OpenAI request fields on the supported endpoints. The API reference has a full example for each.
| Feature | How |
|---|---|
| Image input | A message part {"type": "image_url", ...} with a data URL or an https link |
| Documents | A message part {"type": "file", ...}: PDF, DOCX, XLSX, TXT, CSV, MD or JSON, up to 20 MB |
| Web search | Use a *-search tier, or send web_search_options: {} |
| Deeper reasoning | Use a *-thinking tier, or send reasoning_effort from low to max |
| Structured JSON | response_format with a JSON schema or json_object |
| Function calling | Standard tools and tool_choice; replies carry tool_calls |
| Image generation | images.generate(model="chatgpt-image", ...), up to 4 images |
| Streaming | stream: true; thinking progress arrives as reasoning_content |
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.
| Setting | Value |
|---|---|
| Base URL | https://relayz.net/v1 |
| API key | App key from Admin (name it coding for editor agents) |
| Model | A tier on that key, e.g. claude, chatgpt, gemini |
| Public endpoints | Chat, images, audio, model list only — see the matrix |
| Local repos | Do 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.
Your favourite tools
Anything that accepts an OpenAI-compatible provider on the matrix above works with Relayz, including coding assistants in agent mode.
Relayz CLI — install path
Complete path for Pro:
relayz-cli.zip
.\install.ps1. macOS/Linux: python -m pip install -e . from the unzipped folder (add Playwright separately if you want browser tools).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
Free account · Plus from ₹499/mo for chat (yearly saves 1 month). Then connect supported providers and start working.
Sign in if you already have access, or email info@relayz.net for an invite while public sign-up is off.