CTX 1M
OUT 128K /v1/messages /v1/chat/completions
0.15x · $0.015/$0.075
$0.1/$0.5
详情与代码 → 按客户端切换 Tab 并一键复制,将 sk-your-aiozium-key 替换为控制台创建的 API Key 即可跑通。
from openai import OpenAI
client = OpenAI(
base_url="https://www.aiozium.com/v1",
api_key="sk-your-aiozium-key",
)
resp = client.chat.completions.create(
model="glm-5.3-flashx",
messages=[{"role": "user", "content": "Review this architecture for bottlenecks."}],
stream=True,
)
for chunk in resp:
print(chunk.choices[0].delta.content or "", end="") curl -sS https://www.aiozium.com/v1/chat/completions \
-H "Authorization: Bearer $AIOZIUM_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "glm-5.3-flashx",
"stream": true,
"messages": [
{"role": "user", "content": "Explain sticky sessions in an AI API gateway in 3 bullet points."}
]
}' import OpenAI from "openai";
const client = new OpenAI({
baseURL: "https://www.aiozium.com/v1",
apiKey: process.env.AIOZIUM_API_KEY,
});
const res = await client.chat.completions.create({
model: "glm-5.3-flashx",
messages: [{ role: "user", content: "Generate a clean JSON schema for API billing logs." }],
});
console.log(res.choices[0]?.message?.content); stream: true 才能完整体验极速首字输出优势。glm-5.3-flashx 与 glm-5.3-flash 差别在哪?FlashX 采用专用高速推理集群,在交互式低延迟吐字速度上明显更快,适合实时前端/IDE 体验。