Bản cập nhật trên GLM-4.6 giới thiệu suy luận duy trì và suy luận theo vòng để thực thi ổn định hơn trên các tác vụ đa lượt phức tạp. Ngữ cảnh 200K.
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.7",
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_7,
title = {GLM 4.7 API},
author = {Z.ai},
year = {2025},
howpublished = {OrcaRouter},
url = {https://www.orcarouter.ai/models/z-ai/glm-4.7}
}Z.ai. (2025). GLM 4.7 API. OrcaRouter. https://www.orcarouter.ai/models/z-ai/glm-4.7