3 ms·
Ask and you shall receive! https://docs.z.ai/devpack/tool/claude https://docs.z.ai/devpack/tool/claude tldr "env": { "ANTHROPIC_AUTH_TOKEN": "you
by andai 1y ago
Ask and you shall receive!
https://docs.z.ai/devpack/tool/claude https://docs.z.ai/devpack/tool/claude
tldr
"env": {
"ANTHROPIC_AUTH_TOKEN": "your_zai_api_key",
"ANTHROPIC_BASE_URL": "https://api.z.ai/api/anthropic"
}
Although if you want an Actually Good Experience I recommend using Claude Code Router
https://github.com/musistudio/claude-code-router https://github.com/musistudio/claude-code-router
because it allows you to intercept the requests and forward them to other models. (e.g. GLM doesn't seem to support search or images, so I use Gemini's free tier for that.)
(CCR just launches Claude with the base url set to a local proxy. The more adventurous reader can also set up his own proxy... :)
- realo 1y agoBenchmark score Humans : 1 AI : 0
- brianjking 1y agoDoes this allow me to use Claude Code as the orchestration harness with GLM 4.6 as the LLM along with other LLMs? Seems so based on your description, thanks for the link.
- andai 1y agoExplain like I'm 5?
- hboon 1y agoThe Pro and Max plans for z.ai+GLM provides an MCP that does image.