GLM-4.5 能一键兼容 Claude Code,设置好下面的环境变量就可以: export

GLM-4.5 能一键兼容 Claude Code,设置好下面的环境变量就可以: export ANTHROPIC_BASE_URL=https://open.bigmodel.cn/api/anthropic export ANTHROPIC_AUTH_TOKEN="your bigmodel API keys"

相关说明:https://docs.z.ai/scenario-example/develop-tools/claude

可以在智谱开放平台获取 API Key:https://open.bigmodel.cn/usercenter/proj-mgmt/apikeys

原链接