OpenAI compatible API · Attested · Public status
GLM 5.2 Fast on Fireworks API
Use the OpenAI-compatible API quickstart for GLM 5.2 Fast on Fireworks on TrustedRouter, with model IDs, streaming examples, authentication, fallback behavior, and SDK configuration.
Onebase URL to migrate
100sof models and routes
0prompt or output logs. Always.
z-ai/glm-5.2-fast
open weights
API
Use the same OpenAI compatible clients you already use. Only the base URL and model change.
from openai import OpenAI
client = OpenAI(
base_url="https://api.trustedrouter.com/v1",
api_key="sk-tr-v1-..."
)
response = client.chat.completions.create(
model="z-ai/glm-5.2-fast",
messages=[{"role": "user", "content": "Give me a one-sentence status."}],
max_tokens=64,
)
print(response.choices[0].message.content)
Endpoint metadata: https://api.trustedrouter.com/v1/models/z-ai/glm-5.2-fast/endpoints