Created
June 20, 2026 08:04
-
-
Save saiashirwad/8c975feb1840ca0cfe9c0d7890a72a07 to your computer and use it in GitHub Desktop.
glm claude code
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| function glm | |
| env ANTHROPIC_BASE_URL="https://api.z.ai/api/anthropic" \ | |
| ANTHROPIC_AUTH_TOKEN="$ZAI_API_KEY" \ | |
| ANTHROPIC_DEFAULT_OPUS_MODEL="glm-5.2" \ | |
| ANTHROPIC_DEFAULT_SONNET_MODEL="glm-5.2" \ | |
| ANTHROPIC_DEFAULT_HAIKU_MODEL="glm-4.7" \ | |
| claude $argv --dangerously-skip-permissions | |
| end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment