API
Ox Alpha's free, OpenAI-compatible endpoint served GLM-5.3 Flash until September 30, 2026. It no longer answers, but the model is only a base URL away: the same OpenAI SDK code works against any of the APIs below.
If your code still calls Ox Alpha
https://oxalpha.run/api/v1/chat/completions return 410 Gone with the error code api_retired. The official OpenAI SDKs do not retry a 410, so nothing loops.GET /api/status now answers "state": "retired" for good.Where to call it now
Z.ai serves its own model through an OpenAI-compatible API at https://api.z.ai/api/paas/v4/. Create a key in your Z.ai account; the model name and its options are in Z.ai's GLM-5.3 Flash guide, and the setup in its API quick-start.
One key, many hosts: set the base URL to https://openrouter.ai/api/v1 and the model to z-ai/glm-5.3-flash. Several hosts charge less than Z.ai; the live price of every host is on our GLM-5.3 Flash page.
GenMagic, a multi-model studio the team behind Ox Alpha also runs, has an OpenAI-compatible API with streaming at https://genmagic.co/api/v1, where you pick GLM-5.3 Flash from its model list. Calls draw on the same credit balance as the studio, at the same price.
Would rather run it yourself? GLM-5.3 Flash is open weight under the MIT license, with the weights on Hugging Face (zai-org), and serves with vLLM or SGLang; its GGUF builds run in llama.cpp on a 128 GB machine. What each GLM needs to run locally
Need it free?
GLM-5.3 Flash is a paid model on every API. If your project relied on Ox Alpha being free, Z.ai's own API lists GLM-4.7-Flash, GLM-4.5-Flash and GLM-4.6V-Flash as free (Z.ai pricing, checked October 29, 2026).
https://api.z.ai/api/paas/v4/glm-4.7-flash: 30B / ~3B active parameters, a 200K context, open weights under the MIT licenseIt is a far smaller model than GLM-5.3 Flash, so test it on your own prompts first. GLM-4.7-Flash specs and benchmarks
The change in code
Shown with OpenRouter because its model id is fixed and public. For Z.ai or GenMagic, swap in their base URL, your key there, and their name for the model.
| Setting | Ox Alpha (retired) | OpenRouter |
|---|---|---|
| base URL | https://oxalpha.run/api/v1 | https://openrouter.ai/api/v1 |
| model | ox-alpha | z-ai/glm-5.3-flash |
| key | your Ox Alpha key | your OpenRouter key |
from openai import OpenAI
client = OpenAI(
base_url="https://openrouter.ai/api/v1", # was https://oxalpha.run/api/v1
api_key="YOUR_OPENROUTER_KEY", # was your Ox Alpha key
)
res = client.chat.completions.create(
model="z-ai/glm-5.3-flash", # was "ox-alpha"
messages=[{"role": "user", "content": "Explain your 1M context in one line."}],
)
print(res.choices[0].message.content)import OpenAI from "openai";
const client = new OpenAI({
baseURL: "https://openrouter.ai/api/v1", // was https://oxalpha.run/api/v1
apiKey: process.env.OPENROUTER_API_KEY, // was your Ox Alpha key
});
const res = await client.chat.completions.create({
model: "z-ai/glm-5.3-flash", // was "ox-alpha"
messages: [{ role: "user", content: "Explain your 1M context in one line." }],
});
console.log(res.choices[0].message.content);Switched to Z.ai and getting an error such as 1113, 1211 or 1302? Every Z.ai error code, explained
An API is for calling the model from your own code. If you would rather go straight from idea to a working product, company, or 3D world without standing up the infrastructure, Founden builds it for you.