GLM
GLM-4.5 Flash
z-ai/glm-4.5-flash
The free GLM-4.5 tier with hybrid thinking and tool calling — rate-limited, aimed at lightweight agent and coding tasks.
Pricing
| Input | $0.2per 1M tokens |
|---|---|
| Output | $1.10per 1M tokens |
Specifications
| Context window | 131Ktokens |
|---|---|
| Max output | 66Ktokens |
| Provider | GLM |
| Capabilities | Reasoning · Function calling |
| Input types | text |
Use GLM-4.5 Flash
Point your existing OpenAI SDK at xKiro and pass z-ai/glm-4.5-flash as the model. Nothing else in your code changes.
from openai import OpenAI
client = OpenAI(
base_url="https://api.xkiro.com/v1",
api_key="YOUR_XKIRO_KEY",
)
response = client.chat.completions.create(
model="z-ai/glm-4.5-flash",
messages=[{"role": "user", "content": "Hello"}],
)
print(response.choices[0].message.content)Supported parameters
max_tokens · temperature · top_p · stop · frequency_penalty · presence_penalty · seed · stream · tools · tool_choice · response_format · structured_outputs · reasoning · include_reasoning
Related models
Call GLM-4.5 Flash through the same endpoints you already use.
Get an API key