Get started
zurelay API docs
zurelay is one API for the AI models you already use, at a fraction of each lab’s own price. Chat with Anthropic, OpenAI, xAI, Xiaomi, DeepSeek, Google, Z.ai, Moonshot AI, Alibaba, Tencent and MiniMax models, make and edit pictures with Nano Banana and GPT Image, and make videos with Seedance, all with one key and one balance.
It speaks OpenAI’s API and Anthropic’s, so the SDKs, frameworks and tools you have work as they are: change the base URL and the key, keep your code.
Base URLs
Send your key as Authorization: Bearer zr_live_… (or x-api-key, as Anthropic’s SDKs do). Create keys in the dashboard under API keys.
Your first request
import osfrom openai import OpenAIclient = OpenAI( base_url="https://api.zurelay.com/v1", api_key=os.environ["ZURELAY_API_KEY"],)response = client.chat.completions.create( model="claude-sonnet-5-5", messages=[ { "role": "user", "content": "Explain what an API gateway does in one paragraph." } ],)print(response.choices[0].message.content)What you can do
Endpoints
How it works
Every request is served by the model you name, at its published quality, through a fleet that heals itself: if one path to a model stalls or errors, the request is retried on another before anything reaches you, so a hiccup costs you a moment instead of an error. When a model is fully down, smart routing can answer with its closest alternative.
You pay as you go from a prepaid balance, at the per-token, per-image or per-second prices on the models page. Failed requests are free.
For AI assistants and agents
Building with ChatGPT, Claude, Cursor or an agent? Every page has Copy page at the top, which copies it as Markdown to paste into any AI, and the docs are published in the formats agents read:
- llms.txt: what zurelay is, how to call it, and a link to every page.
- llms-full.txt: all the docs in one Markdown file, with today’s models and prices.
- Any page as Markdown: add
.mdto its address, as in /docs/quickstart.md.
Questions, or something missing? Ask support in your dashboard or email support@zurelay.com.