zcbot/config/models/glm.yaml

44 lines
1.4 KiB
YAML
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# 智谱 GLM 模型档案
# 走 LiteLLM 原生 zai provider。国内站 bigmodel.cn 与国际站 API key 不通用。
# GLM-5.3-Flash 强制 thinkingzcbot 保留同模型完整 reasoning 以维持长工具链连续性。
family: glm
variants:
flash53:
display_name: GLM-5.3 Flash
model_id: zai/glm-5.3-flash
api_base: https://open.bigmodel.cn/api/paas/v4
api_key_env: ZHIPUAI_API_KEY
max_context: 1000000
reliable_context: 262144
max_output: 131072
input_modalities: [text, image]
parallel_tools: false
tool_calling_quality: excellent
thinking_enabled: true
thinking_transport: extra_body
thinking_clear: false
reasoning_effort_levels: [low, high, max]
default_reasoning_effort: high
reasoning_replay: conversation
code_quality: excellent
enable_run_python: true
max_iterations: 120
optimal_temperature: 1.0
prompt_caching: false
extended_thinking: false
# 官方国际站标价按 1 USD ~= 7.2 CNY 折算;促销价不写入长期兜底。
input_cny_per_mtoken: 1.08
output_cny_per_mtoken: 3.6
cache_hit_cny_per_mtoken: 0.216
# 隐藏兼容别名:真实调用、能力和记账身份全部归 glm.flash53。
# 待一个兼容版本确认无旧 profile 活跃后删除。
pro:
hidden: true
alias_of: flash53
pro52:
hidden: true
alias_of: flash53