Hacker Newsnew | past | comments | ask | show | jobs | submit | sidgtm's commentslogin

I am quite impressed with this model. Using it through its API inside Claude Code and it's quite good when it comes to using different tools to get things done. No more weekly limit drama of Claude also their quarterly plan is available for just $8


Can we use Claude models by default in Claude Code and then switch to GLM models if claude hits usage limits?


This works:

  $ZAI_ANTHROPIC_BASE_URL=xxx
  $ZAI_ANTHROPIC_AUTH_TOKEN=xxx

  alias "claude-zai"="ANTHROPIC_BASE_URL=$ZAI_ANTHROPIC_BASE_URL ANTHROPIC_AUTH_TOKEN=$ZAI_ANTHROPIC_AUTH_TOKEN claude"
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.


They have a promo now to get a whole year for like $25. On the lite plan.


I am building https://www.indiancoffeeguide.com/ in side to document coffee roasters from India and Indian coffee scene in general


As a UX designer I see they lack the ability of being opinionated about a design piece and go with the standard mental model. I got fed up with this and made a simple java script code to run a simple canvas on the localhost to pass on more subjective feedback using highlights and notes feature. I tried using playwright first but a. its token heavy b. it's still for finding what's working or breaking instead of thinking deeply about the design.


Whatdo the notes look like?


specific inputs e.g. move, color change, or giving specific inputs for interaction piece.


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: