πŸš€ Claude Code + GLM Models Installer
πŸš€ Claude Code + GLM Models Installer

πŸš€ Claude Code + GLM Models Installer

Hey everyone!

I've been using Claude Code but wanted to try the GLM models too. I originally built this as a Linux-only script, but I’ve now coded a PowerShell version and built a proper installer. I know there are probably other routers out there for Claude Code but I've actually really enjoyed this project so looking to expand on it.

πŸ‘‰ It lets you easily switch between Z.AI’s GLM models and regular Claude β€” without messing up your existing setup.

⚑ Quick Demo

Install with one command (works on Windows/Mac/Linux):

npx claude-glm-installer 

Then you get simple aliases:

ccg # Claude Code with GLM-4.6 ccf # Claude Code with GLM-4.5-Air (faster/cheaper) cc # Your regular Claude setup 

βœ… Each command uses isolated configs, so no conflicts or mixed settings.

πŸ’‘ Why I Built This

I wanted to:

  • Use cheaper models for testing & debugging
  • Keep Claude for important stuff

Each model has its own chat history & API keys. Your original Claude Code setup never gets touched.

πŸ› οΈ I Need Feedback!

This is v1.0 and I’m planning some improvements:

  1. More API providers – what should I add beyond Z.AI?
  2. Model switcher/proxy – long-term goal: a proper switcher to manage multiple models/providers without separate commands.
  3. Features – what would make this more useful for you?

πŸ”— Links

πŸ‘‰ You’ll need Claude Code installed and a Z.AI API key.

Would love to hear your thoughts or feature requests! πŸ‘‰ What APIs/models would you want to see supported?

submitted by /u/Jomuz86
[link] [comments]