logoalt Hacker News

girvolast Monday at 8:48 PM1 replyview on HN

You can use GLM’s coding plan in Pi, just use the anthropic API instead of the OpenAI compatible one they give.


Replies

probstlast Monday at 9:07 PM

Or tell pi to add support for the coding plan directly. That gave me GLM-5.1 support in no time along with support for showing the remaining quota, etc, too.

It also compresses the context at around 100k tokens.

In case anyone is interested: https://github.com/sebastian/pi-extensions/tree/main/.pi/ext...