Comment by girvo
16 hours ago
You can use GLM’s coding plan in Pi, just use the anthropic API instead of the OpenAI compatible one they give.
16 hours ago
You can use GLM’s coding plan in Pi, just use the anthropic API instead of the OpenAI compatible one they give.
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...