glm-4.6
Z.AI
GLM-4 系列通用文本模型,coding 基准与 Agent 框架表现较前代提升,推理时可调用工具,适合软件开发、Agent 任务与角色扮演对话。
¥3.2689/ M
¥13.0643/ M
¥0.6549/ M
¥0/ M
The Flash tier of the GLM-5.3 series: natively multimodal, built for efficient coding and long-chain agents, with stable long-context performance for production applications.
Input price
Market: ¥1.0051
/ M
Output price
Market: ¥3.35
/ M
Cache read
Market: ¥0.2011
/ M
Input
Text
Output
Text
{
"model": "zai/glm-5.3-flash",
"messages": [
{
"role": "user",
"content": "Hello! Please introduce yourself first, including your main capabilities and best use cases, and give a short usage example."
}
],
"stream": false
}{}API
Drop-in code to call this model with EasyAPI's OpenAI-compatible API.
Create an API key from your dashboard and set it as an environment variable:
Replace sk-xxxxxxxx with your API token from the console (Bearer token).
Create API tokenexport EASYAPI_API_KEY=sk-xxxxxxxxUse zai/glm-5.3-flash with the EasyAPI API:
curl https://token.easyapi.com/v1/chat/completions \
-H "Content-Type: application/json" \
-H "Authorization: Bearer $EASYAPI_API_KEY" \
-d '{
"model": "zai/glm-5.3-flash",
"messages": [
{
"role": "user",
"content": "Hello!"
}
]
}'Add "stream": true to your request body to receive responses as server-sent events:
curl -N https://token.easyapi.com/v1/chat/completions \
-H "Content-Type: application/json" \
-H "Authorization: Bearer $EASYAPI_API_KEY" \
-d '{"model":"zai/glm-5.3-flash","messages":[{"role":"user","content":"Hello!"}],"stream":true}'Sends a chat completion request. Supports streaming and non-streaming modes.
https://token.easyapi.com/v1/chat/completionsBearer $EASYAPI_API_KEYapplication/jsonzai/glm-5.3-flashSend a chat completion request, with streaming or non-streaming responses. Docs
https://token.easyapi.com/v1/modelsBearer $EASYAPI_API_KEYList the models available to the current account. Docs
| Name | Type | Default | Description |
|---|---|---|---|
model | string | — | Model ID, e.g. openai/gpt-4o or anthropic/claude-3-5-sonnet |
messages | array | — | List of conversation messages, each with role and content |
stream | boolean | false | When true, the response is streamed via SSE |
temperature | float | 1 | Sampling temperature; higher values are more random |
max_tokens | integer | — | Maximum number of tokens generated in a single reply |
top_p | float | 1 | Nucleus sampling; limits the cumulative probability of candidate tokens |
frequency_penalty | float | 0 | Frequency penalty; reduces repeated wording |
presence_penalty | float | 0 | Presence penalty; encourages new topics |
Official OpenAI and other SDKs work by swapping the base URL. See integration guide
Z.AI
GLM-4 系列通用文本模型,coding 基准与 Agent 框架表现较前代提升,推理时可调用工具,适合软件开发、Agent 任务与角色扮演对话。
¥3.2689/ M
¥13.0643/ M
¥0.6549/ M
¥0/ M
Z.AI
视觉增强版本,兼顾图像理解与文本推理,适合多模态输入场景。
¥1.7085/ M
¥5.1255/ M
¥0.3132/ M
¥0/ M
Z.AI
综合能力均衡,中文理解与推理表现较好,通用任务适配面广。
¥3.36/ M
¥13.3833/ M
¥3.1322/ M
¥0/ M
Z.AI
超快中文处理,极其便宜。
¥0.5695/ M
¥2.4489/ M
¥0.057/ M
¥0/ M