Hacker News new | ask | show | jobs
by girvo 61 days ago
You can use GLM’s coding plan in Pi, just use the anthropic API instead of the OpenAI compatible one they give.
1 comments

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...