4 ms·
You don't need claude code router to use GLM, just set the env var to the GLM url. Also, I generally advise people not to bother with claude code router, Bifro
by CuriouslyC 1y ago
You don't need claude code router to use GLM, just set the env var to the GLM url. Also, I generally advise people not to bother with claude code router, Bifrost can do the same job and it's much better software.
- Szpadel 1y agoI wasn't aware that there is an alternative Quick glance over readme suggest it's only openai compatible but I also found HN post [1] explaining use of claude code with ollama But anyways, claude-code-router have advantage of allowing request transformers, those are required for getting GitHub copilot as provider and grok-code limitations to messages format. [1] https://news.ycombinator.com/item?id=45127509 https://news.ycombinator.com/item?id=45127509
- vitorgrs 1y agoThat's only if you are using on Z.AI API platform... If you are using from OpenRouter, Chutes, Vercel then it's different (or they expose Anthropics API style and I don't know)