News for hackers. Stuff that matters.
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.
Re:GLM 4.5 with Claude Code by Szpadel on Saturday September 06, 2025 @04:46AM (#45147657)
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.

[1] https://news.ycombinator.com/item?id=45127509

Re:GLM 4.5 with Claude Code by vitorgrs on Sunday September 07, 2025 @12:26AM (#45155396)
That'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)