Phiên bản kế tiếp của GLM-4.5 với cửa sổ ngữ cảnh mở rộng lên 200K, các cuộc gọi công cụ trong suy nghĩ, và hành vi tác nhân / tìm kiếm mạnh mẽ hơn.
Tương thích OpenAI — giữ nguyên SDK bạn đang dùng
https://api.orcarouter.ai/v1from openai import OpenAI
client = OpenAI(
base_url="https://api.orcarouter.ai/v1",
api_key="$ORCAROUTER_API_KEY",
)
response = client.chat.completions.create(
model="z-ai/glm-4.6",
messages=[{"role": "user", "content": "Hello"}],
)
print(response.choices[0].message.content)do_sampleinclude_reasoningmax_tokensreasoningrequest_idresponse_formatstopstreamtemperaturethinkingtool_choicetool_streamtoolstop_puser_id| Đầu vào / 1M tokens | $0.600 |
| Đầu ra / 1M tokens | $2.20 |
| Đọc cache / 1M | $0.110 |
| Tiền tệ | USD |
Ước tính theo giá niêm yết
Chỉ là ước tính — số token thực tế phụ thuộc vào bộ tách token của nhà cung cấp.
@misc{orcarouter_glm_4_6,
title = {GLM 4.6 API},
author = {Z.ai},
year = {2025},
howpublished = {OrcaRouter},
url = {https://www.orcarouter.ai/models/z-ai/glm-4.6}
}Z.ai. (2025). GLM 4.6 API. OrcaRouter. https://www.orcarouter.ai/models/z-ai/glm-4.6