Re:GLM 4.6
by mkw2000 on Tuesday September 30, 2025 @02:03PM
(#45428930)
GLM 4.5 + claude code is definitely a winning combo for me
[ Parent
| on HN ]
How do you make the setup? Which provider gives you Anthropic compatible endpoint with GLM ?
Just register a subscription [1] with z.ai (company behind the GLM models), get an API key [2], and then put something like this in your ~/.zshrc or ~/.bashrc, etc:
alias zcc='ANTHROPIC_BASE_URL="https://api.z.ai/api/anthropic" ANTHROPIC_AUTH_TOKEN="your z.ai api key" claude --model GLM-4.6'
1. https://z.ai/subscribe