Re:GLM 4.5 with Claude Code
by CuriouslyC on Saturday September 06, 2025 @02:16AM
(#45147046)
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.
[ Parent
| on HN ]
I 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.