Comment by sumedh
2 days ago
Can we use Claude models by default in Claude Code and then switch to GLM models if claude hits usage limits?
2 days ago
Can we use Claude models by default in Claude Code and then switch to GLM models if claude hits usage limits?
This works:
Then you can run `claude`, hit your limit, exit the session and `claude-zai -c` to continue (with context reset, of course).
There is config you can add to your ~/.claude/settings.json file for this. (I'm on mobile!)
I tried this and it broke the conversation. :(
Yes you usually need to compact first before doing this kind of thing because the context windows are different.
Thanks will try it out.
Why would one want to do that instead of using claude-zai -c from the start? All this is pretty new to me, kick a n00b a clue please.
Claude is smarter than this model. So spilling over to a less preferred model when you run out of quota is a thing.