claude-zai-gateway
v1.0.0
Published
Frictionless central Z.ai Gateway and Node.js Proxy for Claude Code CLI
Readme
Central Z.ai Gateway for Claude Code CLI
Run Claude Code globally against zai-org/GLM-5.3 on Nebius Token Factory with a frictionless, self-contained translation gateway.
Installation
Run this single command to install the gateway globally:
curl -sSL https://raw.githubusercontent.com/groupby/claude-zai-gateway/main/install.sh | bashNote: On your first run of claude-zai, you will be prompted to paste your Nebius Token Factory API Key.
Daily Usage
Run Claude Code using Z.ai (GLM-5.3):
claude-zaiRun Claude Code using Z.ai with Flash model (GLM-5.3-Flash):
claude-zai -m flashRun standard Claude Code (using Anthropic's official API):
claude
Uninstallation
Run this single command to completely uninstall the gateway and clean up settings:
curl -sSL https://raw.githubusercontent.com/groupby/claude-zai-gateway/main/uninstall.sh | bashTechnical Details & Manual Setup
For detailed step-by-step instructions, file structures, and native proxy mechanics, see the Manual Setup & Technical Architecture Guide.
License
MIT License. Feel free to copy, modify, and distribute this setup!
